@realchendahuang: 这个项目好,可以实时看到Colab的额度,还能一键部署模型,舒服了。作者是KC大佬,可以关注一下:@ScarletKc https://github.com/scarletkc/colab-playground…
摘要
KC大佬(@ScarletKc)开源了 Colab Playground,一个基于 Rust + GPUI 的桌面应用,可实时查看 Google Colab 额度、管理多账号与 GPU 会话并一键部署模型,推荐关注。
查看缓存全文
缓存时间: 2026/11/24 07:19
这个项目好,可以实时看到Colab的额度,还能一键部署模型,舒服了。作者是KC大佬,可以关注一下:@ScarletKc
https://t.co/vLpm06c3uG https://t.co/ufKxoXgIIc
scarletkc/colab-playground
Source: https://github.com/scarletkc/colab-playground
Colab Playground
A desktop app for the Google Colab CLI: accounts, GPU sessions with cost guards, port forwarding and plugins.
Download | Usage | Plugins | Roadmap
Which file to pick, what the first launch asks and how updates work: Install a release.
What it is: a front end for the Google Colab CLI (colab, package google-colab-cli). It keeps
several Google accounts, starts and stops Colab runtimes under cost limits, forwards ports from a
runtime to your computer and runs plugins on the runtime. Written in Rust with GPUI and
Ely GPUI Components.
What it is not: a notebook editor or a replacement for the CLI; everything goes through
colab. Model deployment is not part of the core: it is a plugin (the bundled llama.cpp one).
Features
- Guided setup. A checklist finds the Colab CLI or installs it for you, then signs you in.
- Several Google accounts. Save them, switch between them, and see every account’s balance without switching. Before a switch the app lists what it affects.
- Sessions on the hardware you want. Pick CPU, a GPU or a TPU, high RAM and a minimum GPU memory. Colab hands out an A100 with 40 GB or 80 GB at random; with a minimum set, the app gives back a smaller GPU and tries again. Runtimes opened in the browser are listed too, and can be stopped.
- Cost guards. Auto-stop and idle stop run on the runtime itself, so they apply even when the app is closed. A spending cap and a balance floor are checked while the app runs. Balance, burn rate and time left are shown live.
- Port forwarding. Connect a runtime port to
127.0.0.1on your computer. - Plugins. A manifest plus one script that runs only on the Colab runtime, never on your computer. Bundled: “Deploy a GGUF model” serves a Hugging Face GGUF model with llama.cpp (OpenAI-compatible API plus web chat) and picks the best quantisation that fits the GPU it gets. Write your own with docs/PLUGINS.md.
- Languages and theme. 简体中文, 繁體中文, 日本語, 한국어 and English; light, dark or follow the system.
Every limit and default is editable in Settings and can be overridden for a single session or deployment.
Get it
Download the file for your computer with the buttons above, or run from source with a Rust toolchain. On Windows the Colab CLI runs inside WSL.
cargo run -p colab-playground # demo data: no Google account, nothing billed
cargo run -p colab-playground --release # the real Colab CLI
Requirements, backend flags, demo scenarios and where settings are stored: docs/USAGE.md.
Safety and cost
- Colab bills compute units for as long as a runtime exists, busy or idle. Closing a forward or the app does not stop billing; only a stop, an auto-stop or Colab itself does.
- Stopping wipes the runtime: files, downloaded models, anything not saved elsewhere. Each provisioning attempt that is given back is billed for the short time it ran.
- The spending cap and the balance floor only work while the app runs. Auto-stop and idle stop run on the runtime, and only if its watchdog started (the app says so when it could not).
- The CLI has one signed-in account for the whole machine. Switching in the app switches it for
every other use of
colabtoo, and runtimes left on the old account keep billing until their auto-stop, if they have one. - Runtimes the app did not start (for example opened in the browser) get no auto-stop from it; they are listed so you can stop them.
- A plugin runs its script on your paid runtime. Install only plugins you trust.
- Unknown usage is never shown as zero: it is marked unknown or outdated, and the guards report that they cannot check a limit while usage is unknown.
Documentation
- docs/USAGE.md: install a release, build and run, demo data, where things are stored.
- docs/PLUGINS.md: writing a plugin (manifest, environment, status, security).
- docs/DESIGN.md: the product principle, the scope and the rules every change follows.
- docs/TESTING.md: how a change is checked, and optional checklists for real mode.
- docs/DEVELOPMENT.md: how docs and comments are written, landing a change through a pull request, and review bot comments.
- docs/COLAB_NOTES.md: Colab and CLI behaviour the app is built around.
- docs/ROADMAP.md: planned but not built.
- docs/RELEASING.md: how a release is made and what each download contains.
License
MIT, © 2026 ScarletKc. See LICENSE. Icons are from Lucide (ISC licence, see assets/icon/LICENSE-lucide.txt).
相似文章
@linlin454136: 卧槽,手握 Google AI Pro / Ultra 会员却还没去 Colab 摸过那张 96GB 显存 RTX PRO 6000 Blackwell 的兄弟,真的亏到姥姥家了!! 刚刷到一个直接封神的开源脚本:一行命令在 Colab …
推文分享了一个开源脚本,可在 Colab G4 实例(96GB RTX PRO 6000 Blackwell)上一行命令部署 321B 参数的 GLM-5.3-Flash Uncensored,达到 102 tok/s,并通过 SSH 端口转发接入 Claude Code、Codex、OpenCode 作为本地私人 API,同时介绍了 Google AI Pro 免费算力的省钱用法。
@xiaoying_eth: Google 这波,等于把 GPU 黄牛的桌子掀了 VS Code 现在可以直接连接 Google Colab。 也就是说: → 在你自己的编辑器里,白嫖一张 T4 GPU → 代码和文件在本地,算力用 Google 的 链接: http…
Google发布官方Colab VS Code扩展,允许用户直接连接Colab运行时,在本地VS Code中免费使用T4 GPU等算力,结合了编辑器的强大功能和Colab的云端资源。
@haoge6699:想当年,微调大模型简直是天方夜谭——没有 GPU、没有预算、没有环境,普通人根本连门都摸不到……
Unsloth Studio 现已接入免费的 Google Colab,支持超过 500 个开源模型(如 Qwen、DeepSeek、Gemma),让普通用户无需 GPU 或付费硬件即可进行大模型微调。
@_philschmid: Google Colab CLI 和 Skills 已发布。从终端完全操控 Colab 运行时。 - GPU/TPU 配置 (colab --gpu A100) …
一款适用于 Google Colab 的全新 CLI 工具,支持从终端进行 GPU/TPU 配置、远程脚本执行和交互式 REPL 访问,内置 Agent Skills 功能,可自动完成模型微调等任务。
@Chenchen0545: OpenCode 这个开源编程代理直接把免费模型内置了,不登录也能跑,想升级再连你自己的 Claude 或 GPT。GitHub 上 20 多万星,月活 1600 万开发者,主打不存代码、不存上下文。之前这类工具总绑定某个付费账号,现在"…
OpenCode 开源编程代理内置免费模型、无需登录即可使用,已获 20 万+ GitHub 星标和每月 1600 万开发者使用,主打隐私优先、可随时接入 Claude/GPT 等 75+ 提供商的模型。