Skip to content

Repository files navigation

OpenCode Mobile

🖥️ Windows Desktop
Windows Desktop Screenshot

📱 Phone UI 💻 Tablet UI
Phone Screenshot Tablet Screenshot

English | 简体中文

Warning

UNOFFICIAL PROJECT — This is an unofficial mobile and desktop client for OpenCode.


Important

If you cannot continue chatting in historical sessions, please update your OpenCode version immediately. If installed following docs/server_en.md, run sudo systemctl restart opencode after upgrading.


Tokens are just way too expensive right now—can't even afford DeepSeek Flash anymore, so I decided to open-source this.

My Windows offline speech-to-text project is available on the Microsoft Store:


📱 About The Project

OpenCode Mobile is an unofficial client built with Flutter and Rust for OpenCode (supporting Android and Windows), connecting to a remote opencode serve backend via Basic Auth.

Currently adapted for mobile, tablet, and Windows desktop devices:

  • Windows Desktop UI: Frameless window with custom titlebar, Chrome/VS Code style multi-session tab bar (drag-and-drop reordering, mouse wheel scroll, middle-click to close), full keyboard & shortcut adaptations (Enter to send with IME protection, Shift+Enter for newline, Esc to abort), and clipboard image pasting.
  • Phone UI: Clean and efficient single-column chat interface, with built-in quick phrases, terminal, file tree, and browser preview.
  • Tablet UI: Dual-pane / multi-pane layout optimized for split-screen, maximizing wide screen utilization.

🛠️ Local Development & Build

Prerequisites

  • Flutter SDK: 3.38.5(Dart 3.10)
  • Rust: 1.88 supported

Common Commands

# Get dependencies
flutter pub get

cd rust
cargo build --release

Notes

Most APIs are based on OpenCode v1. When this project was being written, there were issues with state control in the session APIs of the v2 version that couldn't be tuned properly. Not sure if those issues still exist now.

About

opencode mobile

Resources

Stars

53 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages