Skip to content

About

Unofficial mobile and web client for OpenCode, with a local authenticated bridge.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

4 stars

Watchers

0 watching

Forks

Repository files navigation

OpenCode Mobile

Your coding agent. Your machine. In your pocket.

Unofficial 120fps fluid mobile & web client for the OpenCode coding agent with end-to-end token auth, live streaming diffs, and zero telemetry.

Website · Install Guide · Documentation · Architecture · Security · Releases · العربية (Arabic)


Release Build Status TypeScript Expo SDK 58 Fastify Zero Telemetry License: MIT


OpenCode Mobile Hero


⚡ 1-Command Setup & Terminal QR

Install the bridge and terminal CLI on your workstation:

# Linux & macOS
curl -fsSL https://raw.githubusercontent.com/Aetherdz/opencode-mobile-dist/main/install.sh | bash

# Pair instantly with your mobile device
opencode-mobile

(Windows PowerShell: irm https://raw.githubusercontent.com/Aetherdz/opencode-mobile-dist/main/install.ps1 | iex)

Terminal QR Pairing Banner


📱 App Experience Gallery

Core Workflow

1. Auto-Connect 2. Workspaces 3. Live Chat 4. Model Selector 5. Approvals
1-Tap QR Connect Screen Elevated Session Cards Streamed Chat & Diffs Universal Model Selector Agent Questions & Approvals
1-Tap QR Connect
Auto-detects credentials
Elevated Sessions
Tactile spring cards
Live Stream & Diffs
WebSocket turn delivery
Universal Model Switcher
DeepSeek, Claude, Gemini
Inline Approvals
Safe tool permissions

Themes & Multilingual Experience

1. Fluid Drawer 2. Light Chat 3. Light Sessions 4. Arabic RTL 5. French UI
App Drawer Navigation Editorial Light Chat Editorial Light Sessions Arabic RTL Sessions French Sessions
Claude-Grade Drawer
120fps spring navigation
Warm Light Theme
Parchment contrast
Editorial Surfaces
Hairline visual dividers
Full Arabic RTL
Native bidirectional typography
Multilingual
EN, AR, FR, ES native

🏗️ Architecture

flowchart TD
  subgraph Client["1. Mobile & Web Clients"]
    App["Expo Mobile App (Android / iOS)<br/>• 120fps Native Springs • SecureStore"]
    Web["Web Client (PWA ready)"]
  end

  subgraph Network["2. Transport Layer"]
    Mesh["Private Tailscale / Local Wi-Fi (WireGuard encrypted)"]
    Tunnel["Optional Ephemeral Cloudflare Tunnel"]
  end

  subgraph Bridge["3. Fastify Bridge (127.0.0.1:8787)"]
    Auth["Bearer Auth Gate (Constant-Time)"]
    Sandbox["Workspace Confinement (ALLOWED_WORKDIRS)"]
    Events["SSE → WebSocket Hub (Sub-50ms)"]
  end

  subgraph Host["4. Workstation Core"]
    OpenCode["OpenCode Local Service"]
    Models["Universal Models (DeepSeek / Claude 3.7 / Gemini 4 Argon / Ollama)"]
  end

  App & Web --> Mesh & Tunnel
  Mesh & Tunnel --> Auth
  Auth --> Sandbox --> Events
  Events --> OpenCode --> Models
Loading

📦 Direct Downloads (v1.0.0-beta.10)

Artifact Target Package File Checksum
Android APK Android 7.0+ (arm64-v8a) opencode-mobile-1.0.0-beta.10.apk SHA-256 Checksum
Web PWA Bundle Modern Browsers opencode-mobile-web-1.0.0-beta.10.zip SHA256SUMS
Bridge Server Node.js >=22.13 opencode-mobile-bridge-1.0.0-beta.10.tar.gz SHA256SUMS
CLI Installer Linux, macOS, Win opencode-mobile-dist SHA256SUMS

🛠️ Essential Commands & Config

Command Action
opencode-mobile Start bridge, render ANSI pairing QR code, and open tunnel
opencode-mobile status Verify bridge connection and local OpenCode health
opencode-mobile doctor Diagnose network, permissions, and port bindings
opencode-mobile down Terminate bridge background service and active tunnels
npm run mobile:share Generate instant secure pairing link & ANSI QR from source

Key Environment Variables (bridge/.env)

  • AUTH_TOKEN: 32+ character bearer secret token (openssl rand -hex 32).
  • HOST / PORT: Loopback address (127.0.0.1) and listening port (8787).
  • ALLOWED_WORKDIRS: File boundary for sessions (default: ~/projects).
  • CORS_ORIGINS: Allowed browser origins for web client (e.g. http://localhost:8081).

📜 License & Community

Distributed under the MIT License. OpenCode Mobile is an independent community project and is not affiliated with or endorsed by OpenCode.

About

Unofficial mobile and web client for OpenCode, with a local authenticated bridge.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages