跳到正文

正在自动登录…

← 返回项目列表

shishir0x/GoogleUnlimited

照片自动备份无限原画质上传

GoogleUnlimited 是一个跨平台(Windows、macOS、Linux)的 Google Photos 自动同步工具,通过模拟 Pixel 设备实现无限原画质备份,不占用 Google Drive 存储空间。它监控本地文件夹,自动上传照片和视频,并提供命令行和交互式界面。

AI 中文解读 · 根据仓库描述与 README 生成 · 2026/10/16 09:31:22 · 查看原文

PowerShell应用与服务
累计 Stars
363
当前热度
1~7 天 · 小火
仓库创建时间
打开 GitHub ↗

选用指南

AI 根据 README 整理 · 2026/10/16 09:31:22

使用方式

通过命令行或交互式菜单使用,支持 watch、status、logs、enable、disable、stop 等命令。

查看 README 依据
- **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.bat` provides an interactive menu or CLI commands (`watch`, `silent`, `status`, `logs`, `enable`, `disable`, `stop`).
- **macOS & Linux**: `google-unlimited.sh` unified runner (`watch`, `status`, `logs`, `setup`, `enable`, `disable`, `stop`). Zero separate script clutter. - **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 需要 PowerShell;macOS 需要 Homebrew 安装 fswatch;Linux 需要 inotify-tools、sqlite3、curl。

查看 README 依据
- **Unlimited Google Photos Backup**: Spoofs Google Pixel mobile upload API ([`xob0t/gotohp`](https://github.com/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 + `fswatch` engine supporting both Apple Silicon (M1-M4) and Intel Macs via universal binary. - **Linux**: Native POSIX Bash + `inotify-tools` engine for all major distributions (Ubuntu, Debian, Fedora, Arch).
GoogleUnlimited.bat stop # Stop any running background watcher ``` --- ## macOS Setup & Usage GoogleUnlimited runs natively on macOS (Apple Silicon M1/M2/M3/M4 & Intel) using `fswatch`, `sqlite3`, and the official universal Mach-O binary. ### 1. Clone the Repository ```bash git clone https://github.com/shishir0x/GoogleUnlimited.git cd GoogleUnlimited ``` ### 2. One-Command Setup Make executable and run setup (auto-installs `fswatch` via Homebrew and downloads the universal binary): ```bash chmod +x google-unlimited.sh ./google-unlimited.sh setup ```
git clone https://github.com/shishir0x/GoogleUnlimited.git cd GoogleUnlimited ``` ### 2. One-Command Setup Run setup to auto-install dependencies (`inotify-tools`, `sqlite3`, `curl`): ```bash chmod +x google-unlimited.sh ./google-unlimited.sh setup ``` ### 3. Sign In (One-Time) #### Option A: Retrieve `oauth_token` via Browser 1. In any web browser, open the Google Embedded Setup sign-in page: 👉 **[https://accounts.google.com/embedded/setup/v2/android](https://accounts.google.com/embedded/setup/v2/android)** 2. Sign in with your Google account and click **I agree**.
已知限制

需要手动获取 Google 账号的 oauth_token 进行登录,且登录页面可能无限缓冲属正常现象。

查看 README 依据
1. Double-click **`gotohp-x64.exe`** and click **Add Google account**. 2. Click **Open Google sign-in** and sign in with your Google account. 3. Sign in on the Google Embedded Setup page and click **I agree**. *(Note: The page buffering indefinitely is completely normal and expected).* 4. 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_token`** cookie. 5. In `gotohp`, paste the token and click **Connect account**.
*(If Homebrew is not installed, install it with: `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"`)* ### 3. Sign In (One-Time) 1. Open the Google Embedded Setup sign-in page: 👉 **[https://accounts.google.com/embedded/setup/v2/android](https://accounts.google.com/embedded/setup/v2/android)** 2. Sign in with your Google account and click **I agree** *(buffering indefinitely is normal)*. 3. Press **Option + Command + I** (or right-click → **Inspect**) to open Developer Tools:

README

正在加载 README…

收录信息

仓库创建时间
2026/10/15 22:30:13
首次达标收录
2026/10/16 09:26:23
统计更新时间
2026/10/22 19:00:56

按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。

仓库信息

最近推送
2026/10/21 12:16:59
许可证标识
未识别,请查看仓库说明
Fork 数
52
当前状态
未归档

收录记录

按创建时长与累计 Stars 首次收录:小火
首次发现项目