OpenCode-Mobile Community
Logic Edge SL
Seamlessly continue OpenCode sessions started on your computer from your phone, or continue mobile sessions back on your computer. (this is an open source community project. It is unofficial and is not affiliated with opencode.ai) FEATURES: ◆ Connect to any OpenCode server over HTTP or HTTPS, whether on your local network or remotely through a VPN such as Tailscale. ◆ Create multiple server profiles and automatically connect to your preferred server. ◆ Pair with OpenCode v2 by scanning a QR code or pasting a link. Also works with password-protected servers and OpenCode v1. ◆ Pull down while connected to access server management. Pull to refresh or open the menu to switch and manage servers. ◆ Automatic server health checks with exponential reconnect when the connection is interrupted. ◆ Secure password storage using Keychain. ◆ Dark and light themes with automatic system theme support. ◆ Optional Enter newline mode. Enter inserts a new line and Shift+Enter sends the prompt. ◆ OPEN SOURCE Found a bug or have an idea for an improvement? Contributions are welcome. You can report issues, suggest features, or submit pull requests on GitHub. GitHub repository: https://github.com/bmpenuelas/opencode-mobile-client ◆ QUICK START: An OpenCode server is required to use the app. The app acts as a client and connects to OpenCode running on the computer where your source code and development tools are located. ► OpenCode v2 Run these two commands on your computer: opencode service set hostname 0.0.0.0 opencode pair Then, in the app, add a server and scan the QR code or paste a link. Links work once and expire after 5 minutes. Running opencode serve directly? Choose "Use URL and password instead" and enter the password it prints. ► OpenCode v1 When adding the server, turn on "OpenCode v1 server" and start it like this: ► Without authentication opencode web --hostname 0.0.0.0 --port 4096 ► With authentication Authentication is recommended when the server is accessible beyond your trusted local network. export OPENCODE_SERVER_PASSWORD="your-secret-password" opencode serve --hostname 0.0.0.0 --port 4096 When authentication is enabled, the default username in the app is: opencode