Skip to content

Repository files navigation

Collab Shell

Collab Shell — Run cloud notebooks, interactive terminals & manage files natively on your phone

Google Play StoreWindowsLinuxFletPython


Download

PlatformDownloadNotes
🤖 AndroidPlay StoreRecommended for Android mobile users
🪟 WindowsWindows ReleaseAutomated standalone setup installer with desktop shortcut integration
🐧 Linux (Debian/Ubuntu)Linux DEBDesktop package tailored for Ubuntu, Debian, Linux Mint & Pop!_OS
🎩 Linux (Fedora/RHEL)Linux RPMDesktop package tailored for Fedora, openSUSE, RHEL & CentOS
📦 Linux (Universal Portable)Linux TAR.GZUniversal standalone portable archive for Arch, Alpine, Steam Deck & all distros

Android Architecture Build Splits

VariantDownloadNotes
📱 ARM64 (most phones)collabshell-arm64-v8a.apkModern 64-bit Android devices
📱 ARMv7 (older phones)collabshell-armeabi-v7a.apkLegacy 32-bit Android devices

Core Capabilities

CapabilityDescription
Interactive PTY Terminal (TTY)Real-time live interactive terminal sessions directly connected via Google Colab's /api/terminals WebSocket tunnels. Themes follow the app's light/dark mode, and every terminal starts in /content.
Tabbed WorkspaceSeamlessly toggle between Notebook cell execution and live Terminal shell tabs inside active cloud runtimes.
Session Lifecycle ControlInstantly create, list, restart, and stop active Google Colab sessions directly from your device with smart intent routing.
Hardware TiersProvision CPU (always free), T4 GPU, or TPU v5e/v6e runtimes based on your Google tier limits.
Native OS File Picker & TransfersSave downloaded files and archives anywhere on your device via the native OS File Picker without Android storage permission issues.
Folder Zip-and-DownloadArchive and download entire remote directory structures (/content/folder) right to your local device with live sweeping progress bars.
Google Drive & GCP MountsMount your personal Google Drive storage (/content/drive) or propagate Google Cloud credentials with real-time execution progress.
Exportable Event LogsMaintain universal history profiles (storage/history/) and export session logs as Jupyter Notebooks (.ipynb), Markdown (.md), or plain text.
Sandbox SecuritySecure OAuth2 credentials management sandboxed directly on your device storage.

Screenshots

Onboarding & Security Verification

Google Sign In SlideGoogle Auth Verified
Google Sign-In Onboarding — native auth guide for managing instancesVerification Flow — OAuth2 verification sandboxed securely on your device

Dashboard & Provisioning

Home View Light ThemeNew Session Provisioning SheetActive Sessions Dashboard
Initial Dashboard (Light Theme) — clean starting view for creating cloud instancesSession Provisioning — select accelerators (CPU, GPU, TPU v5e/v6e) and set run namesActive Runtimes Dashboard (Dark Theme) — list active instances with direct shortcut links

Interactive Notebook & Code Editor

Notebook Session WorkspaceLive Rendered Markdown CellCode Cell Real-Time Execution
Interactive Editor — mount Google Drive, toggle keep-alive, and edit code cellsRich Markdown editor — write documentation with live render supportResult Output Console — view streaming code execution output in real time

Remote File Manager

Remote File Browser Multi SelectNative File Download Toast & Upload
Remote File Manager — breadcrumb navigation, multi-select files for bulk Download & DeleteNative Download & Upload — save files directly to device Downloads folder with toast alerts

Interactive PTY Terminal & AI TUI Execution

Ollama LLM TerminalOpenCode AI TUI Terminal
Ollama LLM Execution — run open-weight AI models live inside Colab TTY terminalOpenCode AI Coding Assistant — interactive terminal TUI with full soft-key controls

Terminal Customization & App Settings

Terminal Theme ModalMatrix Green TerminalApp Settings Dark
Terminal Customization — select themes (JetBrains Dark, Dracula, Matrix Green, Colab Light), cursor blink & zoomMatrix Green Theme — customized TTY styling with built-in output search barSettings Manager — toggle app themes, inspect Activity Terminal logs & re-authenticate

Features

  • Desktop Keyboard Shortcuts (F1 for the cheat sheet) — Jupyter-standard notebook shortcuts (Shift+Enter run & advance, Ctrl+Enter run in place, Alt+Enter run & insert, Ctrl+S export .ipynb), leak-free terminal combos intercepted before the PTY (Ctrl+Shift+T/W/F/L/C/V, Ctrl+Shift+1..9, zoom), and Files shortcuts (F5 refresh, Alt+Up parent, Ctrl+A select all).
  • React-Like Declarative UI (Flet 0.86) — The entire app is built on Flet's new functional component model (@ft.component, @ft.observable, use_state, use_effect): state mutations trigger surgical re-renders instead of full-page repaints.
  • Collab Shell-Branded Design System — Adaptive light and dark themes styled to the Google Colab branding palette; terminal, cards, and glass surfaces all follow the active mode automatically.
  • Interactive TTY Terminal Emulation — Dedicated PTY terminal engine connecting directly to Colab WebSocket endpoints (/api/terminals), with inline theme cycling, one-tap reconnect, and zoom.
  • Universal Storage & History Normalization — Monkey-patched backend state persistence (storage_patch.py) guaranteeing history and execution logs save reliably across Android and Linux desktops.
  • Native OS File Picker & Zip-and-Download — Save files anywhere on your OS/Android device without permission headaches, and archive entire cloud folders on the fly.
  • Dynamic Onboarding Guide — 3-step walk-through onboarding introducing features with gesture-swipe controls.
  • Preloaded Interstitial Ads — Intelligent Google AdMob integration displaying ads seamlessly on mobile platforms.
  • Non-Blocking Execution — Asynchronous connection wrappers ensuring the Flet UI stays fully responsive during long remote computations.
  • Tested & Ruff-Compliant — pytest suite for the shortcut engine and notebook model; clean, formatted, strictly linted codebase.

Architecture

LayerTechnologyPurpose
FrontendFlet 0.86 (declarative components)Cross-platform React-like UI with observable state models and surgical re-renders
Client Servicegoogle-colab-cli SDKWrapper for Colab session management and code execution
Local DatabaseFlat JSON Storage (storage.json)Key-value store for app settings, theme state, and credentials
Auth ProviderGoogle OAuth2Secure user authentication to manage personal Google Cloud instances

Visual Flow

graph TB
subgraph COLLABSHELL_CLIENT ["📱 COLLABSHELL CLIENT (Android App)"]
UI["🎨 Flet Reactive UI (Home | Session | Terminal | Settings)"]
Service["⚙️ Colab Service wrapper"]
Storage["💾 Local Storage (settings & credentials)"]
UI --> Service
UI --> Storage
end
subgraph GOOGLE_SERVICES ["🌐 GOOGLE COLAB INSTANCES"]
OAuth["🔐 Google OAuth2 Auth Server"]
VMs["🖥️ Google Colab Runtimes (CPU / GPU / TPU)"]
end
Service ==>|Google Auth Client| OAuth
Service ==>|gRPC / REST Commands| VMs
Loading

Privacy & Security

Collab Shell is designed with a strict Privacy-First philosophy:

  1. Direct VM Connections: All commands, file accesses, and script executions are sent directly to Google Colab. No intermediate proxy.
  2. Zero Metadata Tracking: We do not trace, log, or collect your code, file lists, or Google account credentials.
  3. Device Sandboxing: Local settings and tokens are kept in secure application directories.
  4. Data Sovereignty: Saved logs and exports reside 100% locally in your device Downloads folder.

Legal Disclaimer

Collab Shell is an independent Flet-based client application wrapping the Google Colab CLI and is not affiliated with, authorized, maintained, sponsored, or endorsed by Google LLC, Google Colaboratory, or any of its affiliates.

Users are responsible for complying with Google Colab's Terms of Use, resource usage policies, and local data protection regulations. The authors are not responsible for any issues resulting from Google account suspensions or resource limits.

About

CollabShell: Run Python, train machine learning models, and manage Jupyter runtimes on cloud GPUs and TPUs directly from your mobile phone. A fast, friendly, and powerful handheld developer workbench. Built with Flet.

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages