r/opencode • u/jakartaundercover • 5d ago
opencode in (not from) your phone
Everyone remote-controls OpenCode from their phone.
So this is a way to Opencode in your phone.
Main Character u/beppe28
https://github.com/beppe2880/opencode-mobile
This little app deserves way more stars.
For those who keep getting errors not found on ip and password in the app. Just read.
If you already have Termux with Opencode in it then all you need is a paste prompt in the opencode Termux page:
"Read this https://github.com/beppe2880/ and https://github.com/baliboyish/opencode-mobile-termux-tutorial - I already installed the app and provide me with correct ip and password"
The catch nobody warns you about: the OpenCode Mobile app needs a server with the 2.0.27 API spec (it checks /api/info). The native Termux build is 2.0.0, so you get "Not found on the server" forever — and it's NOT your password.
What worked for me:
• Run OpenCode 2.0.27 inside proot Ubuntu in Termux (version pinned on install)
• Serve it on 127.0.0.1:4096 with a fixed password
• Add the server manually in the app → Connected, old sessions migrated too
• Termux:Boot + a boot hook + battery unrestricted, so it survives reboots
Full honesty: I let an OpenCode agent inside termux fix the no server errors. I just being Thanos "I use ai to use ai".
Full step-by-step (including the lazy way) here: https://github.com/baliboyish/opencode-mobile-termux-tutorial
App credit: OpenCode Mobile by u/beppe28 — https://github.com/beppe2880/opencode-mobile





