Zero-Quota, Unlimited Google Photos Auto-Sync for Windows, macOS & Linux
Native background watcher that automatically uploads photos and videos with Google Pixel original quality unlimited backup — without WSL, WSA, Android emulators, or Morphe crashes.
- Unlimited Google Photos Backup: Spoofs Google Pixel mobile upload API (
xob0t/gotohp) so all uploaded photos and videos consume 0 bytes of Google Drive / Google One storage. - Cross-Platform (Windows, macOS & Linux):
- Windows: Native PowerShell engine with bundled portable
PSSQLite. - macOS: Native Bash +
fswatchengine supporting both Apple Silicon (M1-M4) and Intel Macs via universal binary. - Linux: Native POSIX Bash +
inotify-toolsengine for all major distributions (Ubuntu, Debian, Fedora, Arch).
- Windows: Native PowerShell engine with bundled portable
- Multi-OS Interoperability: Windows, macOS, and Linux scripts share the exact same SQLite database schema (
gphotos.db), with dual-key lookups (path+filename|filesize) to seamlessly prevent duplicate uploads on shared or external partitions. - Unified Clean Architecture (Zero Clutter):
- Windows:
GoogleUnlimited.batprovides an interactive menu or CLI commands (watch,silent,status,logs,enable,disable,stop). - macOS & Linux:
google-unlimited.shunified runner (watch,status,logs,setup,enable,disable,stop). Zero separate script clutter.
- Windows:
- Real-Time Auto-Sync: Monitors standard user folders instantly when files are downloaded or saved, with debounce protection for active downloads.
- Embedded SQLite Tracking: Tracks every upload in
gphotos.db— zero duplicate re-uploads, crash-resilient with automatic retry queues. - Live Terminal Progress Bar: Real-time dynamic progress bar, elapsed timer, and file size indicator.
- Background Auto-Start:
- Windows: 1-click startup installer or silent VBScript launcher (
StartPhotosWatcher.vbs). - macOS: Native
launchdLaunchAgent (./google-unlimited.sh enable). - Linux: Native user
systemdservice (./google-unlimited.sh enable).
- Windows: 1-click startup installer or silent VBScript launcher (
- Security Hardened: Automatically locks credentials (
gotohp.config) and database (gphotos.db) tochmod 600(owner-only), sanitizes all database queries, and handles macOS Gatekeeper quarantine flags.
GoogleUnlimited/
│
├── Modules/
│ └── PSSQLite/ # Bundled portable SQLite engine for Windows PowerShell
│
├── gotohp-cli-x64.exe # Windows 64-bit CLI uploader with Pixel spoofing
├── gotohp-x64.exe # Windows desktop GUI for one-click Google OAuth sign-in
├── gotohp-cli_amd64 # Native Linux x86_64 ELF binary
│
│ # --- Windows ---
├── GoogleUnlimited.bat # Unified Windows Manager (interactive menu + CLI commands)
├── StartPhotosWatcher.vbs # Windows silent background launcher (zero window)
├── WatchAndUpload.ps1 # Core Windows PowerShell orchestrator
│
│ # --- macOS & Linux ---
├── google-unlimited.sh # Unified Unix Manager (macOS & Linux runner, setup, status, startup)
│
├── .gitattributes # Line ending preservation (LF on shell scripts & plists, CRLF on bat/ps1)
├── .gitignore # Protects credentials, tokens, and personal databases
├── README.md # Documentation
└── reddit_showcase.jpg # Showcase graphic
git clone https://github.com/shishir0x/GoogleUnlimited.git- Double-click
gotohp-x64.exeand click Add Google account. - Click Open Google sign-in and sign in with your Google account.
- Sign in on the Google Embedded Setup page and click I agree.
(Note: The page buffering indefinitely is completely normal and expected). - Open browser Developer Tools (F12):
- Go to Application tab (Chrome/Edge/Brave) or Storage tab (Firefox).
- Under Cookies, click
https://accounts.google.com. - Copy the value of the
oauth_tokencookie.
- In
gotohp, paste the token and click Connect account. - Once connected, your credentials are saved locally. Close the GUI.
Double-click GoogleUnlimited.bat to open the interactive manager:
==========================================================
* Google Unlimited Photos Auto-Sync (Windows)
==========================================================
[1] Start Live Watcher (Interactive progress)
[2] Start Background Watcher (Silent, zero window)
[3] Check Backup Status
[4] View Activity Logs
[5] Enable Auto-Start on Windows Boot
[6] Disable Auto-Start on Windows Boot
[7] Stop Background Watcher
[0] Exit
==========================================================
You can also run any action directly from the terminal or shortcuts:
GoogleUnlimited.bat watch # Live terminal watcher with progress bar
GoogleUnlimited.bat silent # Silent background run (zero window)
GoogleUnlimited.bat status # Check total uploads and retry queue
GoogleUnlimited.bat logs # View last 30 sync activity logs
GoogleUnlimited.bat enable # Enable auto-start on Windows boot
GoogleUnlimited.bat disable # Disable auto-start on Windows boot
GoogleUnlimited.bat stop # Stop any running background watcherGoogleUnlimited runs natively on macOS (Apple Silicon M1/M2/M3/M4 & Intel) using fswatch, sqlite3, and the official universal Mach-O binary.
git clone https://github.com/shishir0x/GoogleUnlimited.git
cd GoogleUnlimitedMake executable and run setup (auto-installs fswatch via Homebrew and downloads the universal binary):
chmod +x google-unlimited.sh
./google-unlimited.sh setup(If Homebrew is not installed, install it with: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)")
- Open the Google Embedded Setup sign-in page:
👉 https://accounts.google.com/embedded/setup/v2/android - Sign in with your Google account and click I agree (buffering indefinitely is normal).
- Press Option + Command + I (or right-click → Inspect) to open Developer Tools:
- Go to Application tab → Cookies →
https://accounts.google.com. - Copy the value of the
oauth_tokencookie.
- Go to Application tab → Cookies →
- In your terminal, run:
./google-unlimited.sh creds add "<oauth_token>"
(Alternatively: If you already signed in on Windows or Linux, simply copy gotohp.config into this directory).
Run ./google-unlimited.sh to launch the interactive manager or pass commands directly:
./google-unlimited.sh watch # Live interactive watcher with progress
./google-unlimited.sh enable # Auto-start on macOS login via launchd
./google-unlimited.sh disable # Disable macOS launchd auto-start
./google-unlimited.sh status # View total uploads and pending retries
./google-unlimited.sh logs # View recent activity logs
./google-unlimited.sh stop # Stop background watcher instancesGoogleUnlimited runs natively on any Linux distribution (Ubuntu, Debian, Fedora, Arch Linux, openSUSE, etc.) using inotify-tools, sqlite3, and the native Linux gotohp binary.
git clone https://github.com/shishir0x/GoogleUnlimited.git
cd GoogleUnlimitedRun setup to auto-install dependencies (inotify-tools, sqlite3, curl):
chmod +x google-unlimited.sh
./google-unlimited.sh setup- In any web browser, open the Google Embedded Setup sign-in page:
👉 https://accounts.google.com/embedded/setup/v2/android - Sign in with your Google account and click I agree.
(The screen may stay loading/buffering indefinitely; this is expected). - Press F12 (or right-click → Inspect) to open browser Developer Tools:
- Click the Application tab (Chrome / Brave / Edge) or Storage tab (Firefox).
- In the left sidebar, expand Cookies → click
https://accounts.google.com. - Find the cookie named
oauth_tokenand copy its full value.
- In your Linux terminal, run:
./google-unlimited.sh creds add "<oauth_token>" - Verify your active account:
./google-unlimited.sh creds list
If you already signed in on another OS:
Simply copy the generated gotohp.config file into your Linux project directory:
cp /path/to/GoogleUnlimited/gotohp.config ~/GoogleUnlimited/The Linux watcher will detect gotohp.config and authenticate automatically.
Run ./google-unlimited.sh in your terminal to open the interactive manager:
==========================================================
* GoogleUnlimited - Unix Manager (Linux)
==========================================================
[1] Start Live Watcher (Foreground)
[2] Check Backup Status
[3] View Activity Logs
[4] Run Setup & Dependency Installer
[5] Enable Auto-Start on Boot (Linux systemd)
[6] Disable Auto-Start on Boot
[7] Stop Background Watcher
[0] Exit
==========================================================
Or pass any command directly:
./google-unlimited.sh watch # Interactive terminal with live progress
./google-unlimited.sh enable # Auto-start on boot via systemd user service
./google-unlimited.sh disable # Disable systemd startup service
./google-unlimited.sh status # View upload statistics and retry queue
./google-unlimited.sh logs # View recent activity logs with colors
./google-unlimited.sh stop # Terminate background watcherThe watcher monitors standard user directories across all operating systems:
DownloadsPicturesDesktopDocumentsMusicMovies(macOS) /Videos(Windows & Linux)
On Windows, directories are dynamically resolved via Windows Shell API & Registry (handling custom drive paths and OneDrive redirection). On macOS and Linux, standard user directories are automatically resolved.
- Images:
.jpg,.jpeg,.png,.heic,.webp,.gif,.dng - Videos:
.mp4,.mov,.mkv,.avi
- Strict Permission Hardening:
gotohp.config(OAuth token) is strictly locked down tochmod 600(readable/writable only by the owner).gphotos.db(upload history) is locked tochmod 600.- Binaries are locked to
chmod 700. - macOS Gatekeeper quarantine attributes (
com.apple.quarantine) are stripped during setup to ensure clean execution.
- Input Sanitization: All SQLite queries escape single quotes and validate numeric bounds to prevent SQL injection across all platforms.
- Direct Connections Only: Every API request and media upload connects directly from your machine to official Google Photos endpoints (
photoslibrary.googleapis.com). No intermediate or third-party servers are involved. - Local Credentials: Authentication tokens and config files stay strictly on your local machine.
- Git Protection: The
.gitignorefile excludes:- Database files (
gphotos.db,*.db,*.db-wal,*.db-shm) - Personal config files and tokens (
gotohp.config,*.config,*.token) - Log files and temporary cache Your personal file history and login tokens are never committed or pushed to Git.
- Database files (
- Zero Telemetry: No tracking, analytics, or external telemetry of any kind.
If you encounter any bugs, unexpected behavior, or need help:
- Run
./google-unlimited.sh status(macOS/Linux) orGoogleUnlimited.bat status(Windows) to check queue and database status. - Run
./google-unlimited.sh logs(macOS/Linux) orGoogleUnlimited.bat logs(Windows) to inspect error details. - Please submit an issue on the GitHub repository:
👉 Report an Issue on GitHub
- Core Pixel upload engine powered by
xob0t/gotohp. - Windows SQLite integration powered by
PSSQLite.
