r/opencode • • 7d ago

opencode in (not from) your phone

Post image

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

30 Upvotes

14 comments sorted by

View all comments

3

u/UnfilteredSapien 7d ago

Why not use offical opencode mobile app

6

u/SatchSaysPlay 7d ago

Would love to but the iOS version is in BETA and the BETA is full, ridiculous that as a paying customer I can't get access to be app

4

u/UnfilteredSapien 6d ago

Ah ok i was using Android app i did not have much issue

1

u/beppe28 6d ago

that sucks, sorry! i don't think it's on dax though, testflight has a hard cap on beta testers so once it's full there's not much they can do until the app store release

if you want something in the meantime, this one has an ios beta on testflight too: https://testflight.apple.com/join/Z7wVBAn3

2

u/Lur1an 6d ago

I have to honestly say, this one's better

1

u/beppe28 6d ago

thanks, that means a lot! if there's anything you'd like added or changed just let me know

1

u/beppe28 6d ago

tbh i'd recommend the official app too, the ui is really nice. this one's more of a community alternative with extra stuff the official one doesn't have (yet): built-in terminal, file viewer, mcp management, quick permission replies from notifications, home screen widget, all the opencode themes, tons of settings

the main idea though is that it's shaped by the community. feature requests, ideas, "this annoys me, change it", all welcome. open an issue on github or just drop it here and i'll take a look. PRs are welcome too!