Vibe-coded gpmc web UI with multiple profiles
1.2K
Full-quality Google Photos backup for your homelab. Your phone's camera roll syncs to a server, and GPMC uploads it to Google Photos in original quality β automatically, around the clock. Built on the reverse-engineered mobile API via gpmcβ , so uploads aren't compressed the way the official Library API forces.
Think of it as a self-hosted, always-on version of gotohpβ : same upload engine, but it runs 24/7 on a server with a web UI, multiple accounts, and a one-command Proxmox install.

Google Photos stopped offering free unlimited storage, and third-party apps that use the official API can only touch photos they created β and they get downscaled. GPMC uses the same API the Android app does, so you back up your own photos at full resolution, on hardware you control.
π± your phone ββSyncthingβββΆ π₯οΈ this server ββgpmcβββΆ βοΈ Google Photos
camera roll watches a folder original quality
adb, no mitmproxy, no rooted phone. Scan a QR to do the sign-in from your phone.D:\Phone photos); its Syncthing share moves with it.Explainer and downloads: https://robocrax.github.io/gpmc-daemon/β
Download GPMC-Setup.exeβ
(or the portable zipβ )
and run it. GPMC opens in your browser, sits in the tray by the clock and starts
when you sign in. Syncthing is built in, so Device Sync works straight away.
Windows 10/11, 64-bit; the app isn't code-signed yet, so SmartScreen may ask you
to choose More info β Run anyway. Data lives in %LOCALAPPDATA%\GPMC.
Build it yourself with powershell -ExecutionPolicy Bypass -File windows\build.ps1
(see windows/β ).
Run on your Proxmox host. Creates an unprivileged Debian LXC (random ID, DHCP), installs GPMC as a service, and sets up Syncthing β ready to pair your phone.
curl -fsSL https://raw.githubusercontent.com/robocrax/gpmc-daemon/main/deploy/proxmox-deploy.sh | bash
When it finishes it prints the container IP, the GPMC URL (http://<ip>:8080),
and the Syncthing GUI (http://<ip>:8384).
docker run -d --name gpmc-daemon --restart unless-stopped \
-p 8080:8080 \
-v ./data/config:/config \
-v ./data/sync:/sync \
robocrax/gpmc-daemon:latest
or with Compose:
git clone https://github.com/robocrax/gpmc-daemon && cd gpmc-daemon
docker compose up -d
Any Debian/Ubuntu box. Installs a systemd service that restarts on boot.
git clone https://github.com/robocrax/gpmc-daemon && cd gpmc-daemon
sudo ./install.sh
Service control: systemctl status gpmc-daemon Β· logs: journalctl -u gpmc-daemon -f.
pip install -r requirements.txt
python run.py # http://localhost:8080
Then open http://localhost:8080β (or the address printed on your server).
Click Connect in the web UI and follow the three steps:
accounts.google.com, and copy the value of
the oauth_token cookie.The token is single-use and expires in seconds, so paste it promptly. GPMC stores only the resulting credential, never your Google password. Already have an
auth_datastring (e.g. from gotohp or ReVanced)? Use "Paste a captured credential instead" in the dialog.
This is the hands-off part: your phone's new photos land in the account's server folder on their own, and GPMC uploads them.
On the server (already installed by the Proxmox deploy; otherwise install Syncthing):
http://<server-ip>:8384. Set a GUI password under
Actions β Settings β GUI.On your phone:
/var/lib/gpmc-daemon/sync/<account> (match the account's
folder name shown in GPMC β Proxmox/bare-metal) or
/sync/<account> inside the container (Docker).That's it. New photos sync to the server and GPMC uploads them on the next cycle. (Device Sync in the GPMC UI does steps 3β5 for you: link the phone to an account there and GPMC creates the share at the account's folder.)
About "delete after upload": GPMC can delete each file from the server once it's safely in Google Photos (on by default) to keep the server lean. Because the server folder is Receive Only, those deletions stay local β Syncthing will not remove anything from your phone, and won't re-download the deleted files. The server's Syncthing folder will show a growing "Local Additions" count; that's cosmetic. Prefer a spotless Syncthing UI? Turn off Delete after upload in the account's settings (your server will keep the originals).
Every account starts with its own folder under GPMC_SYNC_DIR (for example
/var/lib/gpmc-daemon/sync/mum). To keep its photos somewhere else, open the
account's menu β Settings and change Folder to a full path on the server:
a NAS mount such as /mnt/photos/mum, or D:\Phone photos on Windows.
- /mnt/photos/mum:/photos/mum in docker-compose.yml, then use
/photos/mum).Per-account options (folder, albums, quality, threads, delete-after, pause, heartbeat) live in the UI. Global options (backup interval, theme, UI password, webhook) are in Settings. Everything can be seeded from environment variables:
| Variable | Default | Description |
|---|---|---|
PORT | 8080 | Web UI / API port |
HOST | 0.0.0.0 | Bind address |
SYNC_INTERVAL_MINUTES | 5 | How often to scan & upload |
UI_PASSWORD | (unset) | Sets an initial password lock for the UI |
ALLOW_REVEAL_AUTH | false | Allow copying an account's raw auth_data from the UI |
GPMC_PROXY | (unset) | Outbound proxy http://user:pass@host:port |
GPMC_CONFIG_DIR | /config | Database, credentials, caches |
GPMC_SYNC_DIR | /sync | Default media root: one subfolder per account (each account's folder can be changed in the UI) |
GPMC_HOME | <config>/gpmc_home | gpmc's dedup cache (keep persistent) |
gpmc in-process with a progress callback, so the dashboard
shows real per-file progress. Files already in your account are skipped by hash.GPMC_CONFIG_DIR..syncthing.*, ~syncthing~*). Hit Back up now.journalctl -u gpmc-daemon -f
(bare metal) / docker logs -f gpmc-daemon (Docker).Upload engine: xob0t/gpmcβ . GUI inspiration and the login flow: xob0t/gotohpβ .
This is an unofficial tool that uses a reverse-engineered API with your own Google account. It isn't affiliated with or endorsed by Google. Use it on accounts you own.
Content type
Image
Digest
sha256:0e5c06007β¦
Size
76.3 MB
Last updated
9 minutes ago
docker pull robocrax/gpmc-daemon