Skip to content

Upload a local image directory into an Album in Google Photos (works on mac/pc/linux)

License

Notifications You must be signed in to change notification settings

xlukaszgrabowskix/google-photos-upload

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build status Quality Gate Status

Introduction

Upload a local image directory into an Album in Google Photos. Works cross platform on mac/pc/linux.

Features:

  • List current Albums in Google Photos
  • Upload a directory into Google Photos as an Album
  • Upload subdirectories from a main directory into Google Photos as Albums

Coded in .NET Core and leveraging the Google Photos API.

User Guide

Ready to give it a try?
Please note that this is a hobby project and comes without any warranty, but seem to work fine!
For troubleshooting during execution look at the log file found in log/google-photos-upload.log

User Guide for Windows 10 (no requirement for dotnet core installation)

  1. Download the latest release for your operating system here
  2. Execute the application: i. On Windows 10: double click "google-photos-upload.exe"
  3. Follow the instructions in the application to upload images
  4. Recover Storage: Open Google Photos Settings website and Click 'Recover Storage' (will downgrade ALL your photos from Original down to High Quality)

User Guide for Mac, Linux and Win10 (smaller, but dotnet core installation required)

  1. Install the .NET Core runtime version 2.1 or later
  2. Download the latest portable release here
  3. Execute the application on a shell / command prompt: dotnet google-photos-upload.dll
  4. Follow the instructions in the application to upload images
  5. Recover Storage: Open Google Photos Settings website and Click 'Recover Storage' (will downgrade ALL your photos from Original down to High Quality)

Obtaining a Google Photos API key

This is optional. There is a key provided in the source code which has constraints, but sufficient for testing.

  1. Obtain a Google Photos API key (Client ID and Client Secret) by following the instructions on Getting started with Google Photos REST APIs

NOTE When selecting your application type in Step 4 of "Request an OAuth 2.0 client ID", please select "Other". There's also no need to carry out step 5 in that section.

  1. Replace YOUR_CLIENT_ID in the client_id.json file with the provided Client ID.
  2. Replace YOUR_CLIENT_SECRET in the client_id.json file wiht the provided Client Secret.

API references

Contribute

This is a hobby project. You are welcome to create an Issue or Pull Request if you have specific suggestions that can improve this small utility.

License

Licensed under the MIT license. No warranty!

About

Upload a local image directory into an Album in Google Photos (works on mac/pc/linux)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%