Skip to content

Latest commit

 

History

168 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gotohp

demo

Unofficial Google Photos Desktop GUI Client

  • Unlimited uploads (can be disabled)
  • Drag-and-drop file upload interface
  • Credential management
  • Real-time upload progress tracking
  • Configurable upload threads
  • Individual files or directories uploads, with optional recursive scanning
  • Skips files already present in your account
  • CLI mode
  • Configurable, presistent upload settings (stored in "%system config path%/gotohp/gotohp.config")
    You can force local config by creating empty gotohp.config next to executable.

CLI usage

Download the gotohp-cli release artifact for your platform. It runs without the GUI.

gotohp-cli upload /path/to/photos --recursive --threads 5
gotohp-cli creds add "androidId=..."
gotohp-cli creds set user@gmail.com

Run gotohp-cli help for all commands and options.

Sign in

Option 1 - Embedded setup

  1. Open gotohp and click Add Google account.
  2. Click Open Google sign-in and sign in with the account you want to add.
  3. Sign in on the Google Embedded Setup page and click I agree. The page may keep loading forever; this is expected.
  4. Open the browser developer tools. Under Application or Storage, open Cookies for accounts.google.com.
  5. Copy only the value of the oauth_token cookie and paste it into gotohp.
  6. Click Connect account.

Option 2 - ReVanced. No root required

Click to expand
  1. Install Google Photos ReVanced on your android device/emulator.

  2. Connect the device to your PC via ADB.

  3. Open the terminal on your PC and execute

    Windows

    adb logcat | FINDSTR "auth%2Fphotos.native"

    Linux/Mac

    adb logcat | grep "auth%2Fphotos.native"
  4. If you are already using ReVanced - remove Google Account from GmsCore.

  5. Open Google Photos ReVanced on your device and log into your account.

  6. One or more identical GmsCore logs should appear in the terminal.

  7. Copy text from androidId= to the end of the line from any log.

  8. That's it! 🎉

Option 3 - Official apk. Root required

Click to expand
  1. Get a rooted android device or an emulator.

  2. Connect the device to your PC via ADB.

  3. Install HTTP Toolkit

  4. In HTTP Toolkit, select Intercept - Android Device via ADB. Filter traffic with

    contains(https://www.googleapis.com/auth/photos.native)
    

    Or if you have an older version of Google Photos, try

    contains(www.googleapis.com%2Fauth%2Fplus.photos.readwrite)
    
  5. Open Google Photos app and login with your account.

  6. A single request should appear.
    Copy request body as text.

  7. Add that credential string in gotohp.

  8. If gotohp asks for a token binding key, keep the rooted device connected and click Read from ADB. gotohp will read the account's lstBindingKeyAlias from Android AccountManager and save it into the credential.

Troubleshooting

  • No Auth Request Intercepted
    1. Log out of your Google account.
    2. Log in again.
    3. Try Android App via Frida interception method in HTTP Toolkit.
  • Token binding key not found
    1. Make sure the same Google account is present on the connected device.
    2. Make sure root is available to ADB.

Build

Follow official wails3 guide https://v3.wails.io/getting-started/installation/

About

Unofficial Google Photos Desktop GUI Client

Topics

Resources

Stars

436 stars

Watchers

9 watching

Forks

Releases

Used by

Contributors

Languages