Skip to content

About

Mobile app to interact with the opencode server.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

OpenCode Mobile

All Contributors

Get it on Google Play Download APK TestFlight

Your OpenCode server, in your pocket.

OpenCode Mobile brings the full power of your self-hosted OpenCode AI assistant to your Android and iOS devices. Chat with your models, manage conversations, and stay productive anywhere.

Why OpenCode Mobile?

  • Stay Connected: Access your OpenCode server from anywhere on your mobile device
  • Seamless Conversations: Pick up where you left off with synchronized chat history
  • Full Control: Connect to your own OpenCode server — your data, your rules
  • Privacy-First: Keep your conversations private on your self-hosted infrastructure
  • Fast & Native: Built with React Native for smooth, responsive performance

Quick Start

For Users

  1. Download the app:

  2. Connect to your server: Open the app and enter your OpenCode server URL (default: http://ip:4096)

  3. Start chatting: Begin conversations with your AI models instantly

For Developers

Want to build from source or contribute? See the Development section below.

Features

  • Real-time chat with your OpenCode models
  • Conversation history and management
  • Multi-model support
  • Custom server configuration
  • Streamed responses for natural conversations
  • Clean, intuitive mobile interface

Screenshots

Check out screenshots and more details on the official website.


Development

OpenCode Mobile is built with Expo and React Native.

Requirements

  • Node.js 20+
  • npm
  • Android Studio / Xcode for native builds

Getting Started

  1. Clone the repository and install dependencies:

    git clone https://github.com/alvarolorentedev/opencode-mobile.git
    cd opencode-mobile
    npm install
  2. Start the development server:

    npm run start
  3. For a development client build:

    npm run start:dev-client

Common Commands

npm run lint           # Run linter
npm run typecheck      # Type checking
npm run test:e2e:web   # End-to-end tests
npm run android        # Build Android app
npm run ios            # Build iOS app
npm run prebuild:ios   # Generate iOS native project
npm run build:ios:local # Build iOS release archive locally

Android Builds

Build a production Android release:

npm run build:android

Build a development client:

npm run build:development:android

Release Automation:

  • Push to main to trigger Android release build and artifact upload
  • Push a version tag (e.g., v1.2.3) to trigger production Play Store upload
  • Use workflow_dispatch for manual internal-track uploads

iOS Builds

Build a local iOS release:

npm run build:ios:local

Release Automation:

  • Push to main to trigger iOS release build and artifact upload
  • Push a version tag (e.g., v1.2.3) to trigger production TestFlight upload
  • Use workflow_dispatch with upload_to_app_store: true for manual TestFlight uploads
  • The .ipa artifact can be found in the workflow run's artifacts section

Testing

  • Flow validation runs against the fake OpenCode server in tests/fake-opencode/server.mjs
  • End-to-end suite uses Playwright (tests/e2e/flows.spec.mjs)
  • Full testing strategy documented in TESTING.md

Configuration

Connection settings are configured inside the app. By default, the app expects an OpenCode server at http://127.0.0.1:4096.

Local configuration files (.env, config.json) are gitignored for security.

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Jonathan Vanherpe
Jonathan Vanherpe

💻
Robin Fröhlich
Robin Fröhlich

💻
NANAMINER
NANAMINER

🐛

This project follows the all-contributors specification. Contributions of any kind welcome!

About

Mobile app to interact with the opencode server.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages