Colab-Tools

skill
Guvenlik Denetimi
Basarisiz
Health Gecti
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 21 GitHub stars
Code Basarisiz
  • rm -rf — Recursive force deletion command in scripts/package.sh
  • rm -rf — Recursive force deletion command in scripts/remote/start_server.sh
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

One-click H3 video model deploy, polite GPU queueing, and auto-shutdown credit saver for Google Colab on macOS (pure Go + MyGo) — smart Drive sync, local ComfyUI tunnel & LLM proxy support

README.md
Colab Tools App Icon

Colab Tools

One-click H3 video model deployment, polite GPU queueing, and auto-shutdown money saver for Google Colab on 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 · 简体中文 · Download Latest · Changelog · Security

CI
Release
Platform
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 & Morning Schedule
Optional Power-User Controls · Quietly collapsed by default; expand anytime for eco mode, custom GPU order, fallback & morning schedule
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) or H3 Flash (13.7B fast) out of the box — or expand More Versions for 24GB-friendly GGUF, any HuggingFace repo, or models already in your Drive. All variants share the exact same 21.5 GB base weights (text encoder + audio/video VAE).
  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, syncs workflows safely between local NVMe and ColabTools/workflows/, 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 (127.0.0.1:8188) using official colab ssh --proxy-mode — no public URL exposed and no WebSocket black screens (an optional cloudflared link toggle is included if you want to monitor from another device). Built in pure Go with GPU-rendered UI (~9 MB zipped, zero Electron), fast and lightweight on 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) in the Deploy tab:

  • 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

Platform focus: Colab Tools currently focuses on macOS. Windows builds have been temporarily unlisted until the macOS experience is fully polished.

Prerequisites

  • macOS 14.0+ (arm64 Apple Silicon prebuilt; Intel Mac builds from source)
  • Official Google Colab CLI (uv tool install google-colab-cli, checked & installable right inside the first-launch wizard)

Option 1: Download Prebuilt App (Recommended)

  1. Download Colab-Tools-v0.3.18-macOS-arm64.zip from GitHub Releases, unzip it, and drag Colab Tools.app to /Applications.
  2. Finish the 3-step setup wizard, then on the Home tab simply click the top-center Power button (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, using 0600 shredded ephemeral files during execution.
  • Polite Queue Guardrails: Low-frequency Equal Jitter retries (max 5 rounds / 40 min) with immediate 15-minute cooldown on 429 rate limits or 412 assignment caps. 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.

Yorumlar (0)

Sonuc bulunamadi