Skip to content
Projects

About

Windows and macOS desktop app for H3, ComfyUI and LLM proxies on Google Colab. Uses the official CLI with WSL 2 on Windows, local SSH tunnels, Drive sync, GPU queueing and idle shutdown.

AI & Machine Learning

How these counts are measured

51 stars3 Forks +2 in 24h

What you can do

  • Real bill from an 18-clip H3 run: rendering all 18 clips cost only 17 Compute Units, while accidentally leaving the machine sitting overnight burned 54 Compute Units.
  • How Colab Tools helps: It watches your ComfyUI queue plus GPU+CPU load (so 30 GB model downloads or FFmpeg muxing are never killed early). Once your video queue finishes and sits idle (default 10 min), it stops the runtime automatically and re-checks Colab servers to confirm billing truly stopped.

Measured star growth

in 24h
+2
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original
Colab Tools App Icon

Colab Tools

One-click H3 video model deployment, polite GPU queueing, and auto-shutdown money saver for Google Colab on Windows and macOS.

No manual scripts or terminal juggling · Pick H3 Original or H3 Flash (or any custom weight) and click Start · Smart Google Drive copy & real-time output backup · No babysitting: live queue progress in the menu bar, plus sound & popup notifications when allocated, ready, or stopped · Also switches cleanly to LLM proxy mode for coding tools.

English · 简体中文 · Official website · Download Latest · Changelog · Security

CI Release macOS on Apple silicon and Intel Windows x64 Go Colab CLI License


Colab Tools Desktop Console Status (H3 Live Queue)
Desktop Console · Live Compute Units, VRAM, GPU load, ComfyUI running/pending queue, saved clip count & one-click ComfyUI launch
Zero-Config Beginner Home Launchpad
One-Click Zero-Config Home · Pre-configured with H3 Flash, smart GPU auto-fallback, Drive backup & 10m post-queue auto-shutdown
Optional Custom GPU Priority & Persistent Queue
Optional Power-User Controls · Quietly collapsed by default; expand anytime for eco mode, custom GPU order, fallback & 8h persistent watch
First-Launch Environment Doctor
Guided Setup · Checks and installs official google-colab-cli in one click
Quiet System-Tray Companion HUD
Quiet System-Tray Companion · Close the big window and keep live cost, ComfyUI launch & instant stop one click away

Why Use Colab Tools? (In Plain Words)

Renting A100 / G4 / H100 GPUs through Google Colab is great value for running video models, until four daily annoyances burn your credits or your evening:

  1. Forgetting to stop an idle GPU burns more credits than actually rendering
    • Real bill from an 18-clip H3 run: rendering all 18 clips cost only 17 Compute Units, while accidentally leaving the machine sitting overnight burned 54 Compute Units.
    • How Colab Tools helps: It watches your ComfyUI queue plus GPU+CPU load (so 30 GB model downloads or FFmpeg muxing are never killed early). Once your video queue finishes and sits idle (default 10 min), it stops the runtime automatically and re-checks Colab servers to confirm billing truly stopped.
  2. Re-installing ComfyUI and uploading bash scripts on every fresh VM gets old fast
    • How Colab Tools helps: Deployment scripts are built straight into the app and sent to the cloud VM automatically. Pick H3 Original (31B), H3 Flash (13.7B fast), Lightweight GGUF, Custom H3, General ComfyUI, LLM Proxy, or Bare Boot from the Home task dropdown — all H3 variants share the same 21.5 GB base weights (text encoder + audio/video VAE). You can also bind per-GPU override rules (including separate A100 High-RAM 80GB vs A100 Standard 40GB matching by actual VRAM).
  3. Symlinking 20GB+ weights straight from Google Drive FUSE causes stalls and disconnects
    • How Colab Tools helps: When Google Drive is enabled, Colab Tools sequentially copies active H3 base weights onto the VM's fast local NVMe SSD (rsync -ahW) with zero double-copy HF downloads, mounts your custom ColabTools/models/ subfolders zero-copy via extra_model_paths.yaml, seeds workflows on boot and backs up changes incrementally to ColabTools/workflows/ (flock-guarded, plus pre-shutdown flush), pre-installs ComfyUI-Manager v4 + Workflow Models Downloader for in-canvas missing model/node downloads, and writes every finished video clip straight to Drive outputs/. You can also turn Drive off for quick cloud-only trials.
  4. Colab tabs drop connections and native port proxy breaks ComfyUI WebSockets
    • How Colab Tools helps: Once ComfyUI starts, Colab Tools opens it in your browser through a local encrypted SSH tunnel using official colab ssh --proxy-mode — zero unauthenticated public URLs exposed and no WebSocket black screens. The tunnel listens only on 127.0.0.1. It defaults to port 8188 and picks another available local port if needed. Built in pure Go with GPU-rendered UI (about 10 MB per ZIP, zero Electron), with a native desktop on Windows and macOS.

Also Works Great for Self-Hosted LLM Proxies

Need a cloud GPU to power your local AI coding tools? Switch the recipe to 大模型代理 (LLM Proxy) right inside the Home task card:

  • Zero manual script upload: Ships with built-in model presets (Qwen2.5-Coder 14B / 32B, Qwen3 32B, or any custom Hugging Face GGUF repo) and an embedded llama.cpp proxy starter (protects the HTTPS tunnel with a random Bearer API key); if you place a custom startup script on Google Drive, your Drive script still takes precedence;
  • Auto-detects and safely writes standby configs with backups for CC Switch, OpenCode (opencode.json), and Codex CLI (config.toml) without touching your active official subscription or storing plaintext keys;
  • One-click terminal launcher for Claude Code, plus safe-by-default OpenAI (/v1) & Anthropic copy templates for Cherry Studio, Cline, Roo Code, and Cursor.

Download & Install

Prerequisites

  • Windows 11 x64 (Intel or AMD) with WSL 2 and Ubuntu 24.04 for the official Google CLI.
  • macOS 14 or later on an Apple silicon or Intel Mac.
  • The first-launch wizard checks for the official Google Colab CLI and installs it if needed. On Intel Macs it sets up a private Python environment for the app.

Option 1: Download Prebuilt App (Recommended)

On Windows, check Settings → System → About → System type. On a Mac, open Apple menu → About This Mac.

What you see v0.3.35 download
Windows 11 on an x64-based processor Windows x64 ZIP
Chip shows Apple M1, M2 or another M-series chip Apple silicon ZIP (arm64)
Processor shows Intel Intel ZIP (x86_64)

Windows installation

  1. Extract the ZIP to a folder you want to keep. Open Colab Tools.exe.
  2. If the setup wizard requests Ubuntu, open PowerShell as administrator and run wsl --install -d Ubuntu-24.04. Restart if prompted, then open Ubuntu 24.04 once to create your Linux user. Return to the app and click 重新体检 to check again.
  3. Install the official CLI from the wizard and sign in to Google. Finished clips download to your Windows Downloads folder under ColabTools. For upgrades, finish any active tasks, quit from the system tray and replace the executable with the new release.

Microsoft WSL installation guide

Windows first-launch setup

Windows first-launch setup

Mac installation

  1. Unzip the download, drag Colab Tools.app to Applications and open it (future updates download and verify silently in the background; click Restart to update in the top-right corner when ready without stopping running cloud GPUs).
  2. Finish the 2-step setup wizard (environment check + Google account binding), then on the Home tab simply click the top-left Cloud Power orb (pre-configured out of the box with H3 Flash, smart GPU auto-fallback, Drive backup, and auto-shutdown).

Signature note: Community builds are self-signed. On first launch, right-click → Open (or run xattr -cr "/Applications/Colab Tools.app").

Option 2: Build from Source (Pure Go, Zero CGO)

git clone https://github.com/LJMStark/Colab-Tools.git
cd Colab-Tools
GOTOOLCHAIN=auto go test -race ./...
chmod +x scripts/package.sh
./scripts/package.sh --mac --zip --install

Security & Official Policy Compliance

  • Strictly Official CLI Execution: Runtime start/stop, quota checks, SSH tunnels (colab ssh --proxy-mode), and browser links all call official google-colab-cli commands.
  • System Credential Vault: Multi-account OAuth2 credentials and keys stay encrypted in macOS Keychain or Windows Credential Manager. Temporary login files use user-only permissions on macOS and a restricted access control list on Windows. They are overwritten and removed after use.
  • Smart Sprint Queue & Anti-Duplicate Guardrails: Auto-sprints the first 2 rounds (30–60s → 60–90s, then 90–180s; up to 8 rounds / 30 min, or 4–6 min in persistent wait mode) with full 180s/240s slow-allocation budgets, bounded reconciliation on uncertain timeouts to prevent duplicate paid runtimes, optional provision-only proxy routing, and strict 429 cooldown enforcement (honoring longer Retry-After). Please follow the Google Colab FAQ & Terms of Service. See SECURITY.md for full details.

Community & Contact

If Colab Tools saves your Compute Units or streamlines your workflow, consider leaving a ⭐ Star!

  • X (Twitter): @starkljm
  • Contact: DM @starkljm on X (if the WeChat QR expires, DM for a fresh invite)
  • WeChat Community Group (Colab Tools 交流群):

Colab Tools WeChat Group QR Code


License

Released under the MIT License. Copyright © 2026 LJMStark.

Explore related projects

Loading…