Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

118 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Collab Shell

Collab Shell β€” Run cloud notebooks, interactive terminals & manage files natively on your phone

Google Play Store Windows Linux Flet Python


Download

Platform Download Notes
πŸ€– Android Play Store Recommended for Android mobile users
πŸͺŸ Windows Windows Release Automated standalone setup installer with desktop shortcut integration
🐧 Linux (Debian/Ubuntu) Linux DEB Desktop package tailored for Ubuntu, Debian, Linux Mint & Pop!_OS
🎩 Linux (Fedora/RHEL) Linux RPM Desktop package tailored for Fedora, openSUSE, RHEL & CentOS
πŸ“¦ Linux (Universal Portable) Linux TAR.GZ Universal standalone portable archive for Arch, Alpine, Steam Deck & all distros

Android Architecture Build Splits

Variant Download Notes
πŸ“± ARM64 (most phones) collabshell-arm64-v8a.apk Modern 64-bit Android devices
πŸ“± ARMv7 (older phones) collabshell-armeabi-v7a.apk Legacy 32-bit Android devices
πŸ’» x86_64 (emulators) collabshell-x86_64.apk Chromebooks & Android emulators

Core Capabilities

Capability Description
Interactive PTY Terminal (TTY) Real-time live interactive terminal sessions directly connected via Google Colab's /api/terminals WebSocket tunnels.
Tabbed Workspace Seamlessly toggle between Notebook cell execution and live Terminal shell tabs inside active cloud runtimes.
Session Lifecycle Control Instantly create, list, restart, and stop active Google Colab sessions directly from your device with smart intent routing.
Hardware Tiers Provision CPU (always free), T4 GPU, or TPU v5e/v6e runtimes based on your Google tier limits.
Native OS File Picker & Transfers Save downloaded files and archives anywhere on your device via the native OS File Picker without Android storage permission issues.
Folder Zip-and-Download Archive and download entire remote directory structures (/content/folder) right to your local device with live sweeping progress bars.
Google Drive & GCP Mounts Mount your personal Google Drive storage (/content/drive) or propagate Google Cloud credentials with real-time execution progress.
Exportable Event Logs Maintain universal history profiles (storage/history/) and export session logs as Jupyter Notebooks (.ipynb), Markdown (.md), or plain text.
Sandbox Security Secure OAuth2 credentials management sandboxed directly on your device storage.

Screenshots

Onboarding & Security Verification

Google Sign In Slide Google Auth Verified
Google Sign-In Onboarding β€” native auth guide for managing instances Verification Flow β€” OAuth2 verification sandboxed securely on your device

Dashboard & Provisioning

Home View Light Theme New Session Provisioning Sheet Active Sessions Dashboard
Initial Dashboard (Light Theme) β€” clean starting view for creating cloud instances Session Provisioning β€” select accelerators (CPU, GPU, TPU v5e/v6e) and set run names Active Runtimes Dashboard (Dark Theme) β€” list active instances with direct shortcut links

Interactive Notebook & Code Editor

Notebook Session Workspace Live Rendered Markdown Cell Code Cell Real-Time Execution
Interactive Editor β€” mount Google Drive, toggle keep-alive, and edit code cells Rich Markdown editor β€” write documentation with live render support Result Output Console β€” view streaming code execution output in real time

Remote File Manager

Remote File Browser Multi Select Native File Download Toast & Upload
Remote File Manager β€” breadcrumb navigation, multi-select files for bulk Download & Delete Native Download & Upload β€” save files directly to device Downloads folder with toast alerts

Interactive PTY Terminal & AI TUI Execution

Ollama LLM Terminal OpenCode AI TUI Terminal
Ollama LLM Execution β€” run open-weight AI models live inside Colab TTY terminal OpenCode AI Coding Assistant β€” interactive terminal TUI with full soft-key controls

Terminal Customization & App Settings

Terminal Theme Modal Matrix Green Terminal App Settings Dark
Terminal Customization β€” select themes (Dracula, Matrix Green), cursor styles & zoom Matrix Green Theme β€” customized TTY styling with built-in output search bar Settings Manager β€” toggle app themes, inspect Activity Terminal logs & re-authenticate

Features

  • Collab Shell-Branded Design System β€” Solarized Light and deep Dark themes styled to the Google Colab branding palette.
  • Interactive TTY Terminal Emulation β€” Dedicated PTY terminal engine connecting directly to Colab WebSocket endpoints (/api/terminals).
  • 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.
  • Ruff Compliance β€” Clean, formatted, and strictly linted Python codebase.

Architecture

Layer Technology Purpose
Frontend Flet Cross-platform UI with responsive views and smooth page transitions
Client Service google-colab-cli SDK Wrapper for Colab session management and code execution
Local Database Flat JSON Storage (storage.json) Key-value store for app settings, theme state, and credentials
Auth Provider Google OAuth2 Secure 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

Watchers

Forks

Releases

Packages

Contributors

Languages