scarletkc/colab-playground

A desktop app for the Google Colab CLI: accounts, GPU sessions with cost guards, port forwarding and plugins.

What it solves

Colab Playground turns Google Colab's command-line tool into a familiar desktop interface. It helps people who use Colab for machine learning avoid surprise bills by keeping track of compute usage and setting automatic stop conditions, while also making it easier to start, stop, and connect to remote runtimes without typing commands.

How it works

The app is a GUI wrapper around the colab command-line tool (package google-colab-cli). It guides you through installing that tool if needed and signing in. You can save several Google accounts and switch between them, seeing each account's balance at a glance. When starting a session, you pick hardware (CPU, GPU, or TPU), request high RAM, and set a minimum GPU memory. To keep costs controlled, the app can set an auto-stop timer and an idle timeout that run directly on the runtime (so they work even if the app is closed), plus a spending cap and a balance floor that are checked while the app runs. For connecting to services, you can forward a port from the runtime to your computer (127.0.0.1). Plugins extend the app: they run a script on the runtime only, never on your computer. A bundled plugin, "Deploy a GGUF model", serves a Hugging Face GGUF model with llama.cpp and picks the best quantisation for the available GPU memory.

Who it’s for

People who rely on Google Colab for machine learning experiments or model serving but prefer a graphical interface over the command line, and who want active cost monitoring and the ability to run custom deployment scripts on their Colab runtimes.

Highlights

  • Multiple Google accounts, each with its own balance shown without switching
  • Hardware selection: CPU, GPU, or TPU, with options for high RAM and minimum GPU memory
  • Cost guards: auto-stop and idle stop run on the runtime itself; spending cap and balance floor checked by the app
  • Port forwarding from a runtime to your local machine
  • Plugin system with a bundled GGUF model deployer using llama.cpp
  • UI available in English, 简体中文, 繁體中文, 日本語, and 한국어
  • Light or dark theme, or follow the system

Related

  • Project
  • Project
  • Project
  • Project