r/opencode • • 9d ago

My OpenCode mobile app is now on iOS too (Android + TestFlight). Thanks to everyone helping out

Post image

I started OpenCode Mobile because using a terminal on my phone was becoming a pain. Rotate the screen, open my foldable, lose the connection for a moment… something would go wrong. Scrolling wasn’t great either. I tried other options but couldn’t find one that worked well for me, so I built my own.

Now I can be at the gym or buying groceries and still check logs, send a document or help a colleague without going home. I work across different repos, so having sessions grouped by project and multiple servers in one app helps a lot.

I shared it in my first post about a month ago. Later Andrea, who also contributes, wrote about using it on the train. Seeing other people actually use it and help improve it has been the best part.

We’re a small but active community: 115 merged PRs so far, with 23 issues and 5 PRs open. Thanks to everyone contributing code, reporting bugs or just telling us what could work better.

I’ve tried the official app too and really like its UI/UX. Give it a try. For my workflow, I still miss some features and customisation. We all use OpenCode differently, so mine now has over 60 settings and 33 themes. Follow reasoning, live diffs and shell output, or keep the chat clean. Change the terminal keys, swipe sensitivity or what happens when you unfold your phone. There are live previews so you can see what each setting does.

There’s also a terminal, voice input and a file viewer. Android is available as a signed APK, and now iOS is on TestFlight too.

I’m happy to hear criticism. If something feels confusing, unnecessary or broken, tell me. Ideas and PRs are welcome too, the best parts of the app already comes from these discussions.

iOS TestFlight · Android APK · GitHub

64 Upvotes

32 comments sorted by

3

u/shadowsyntax43 9d ago

Dude, I have been waiting for OpenCode mobile for months now. It has already been pushed but Apple is taking so much time to approve. This looks like exactly what I wanted. I'm testing right now and let you know.

1

u/beppe28 9d ago

Hey thanks! Let me know how it goes

2

u/shadowsyntax43 9d ago

Hey man, I just paired and it says "Cannot reach server". I'm on IOS testflight. I'm on same network as well.

1

u/beppe28 9d ago

Thanks for testing! A few things to check:

  1. iOS Settings → Privacy & Security → Local Network → make sure OpenCodeCommunity is on. The first connection often fails while iOS is still asking for that permission, so just try again.
  2. Start the server so it listens on your network and not only on localhost: `opencode serve --hostname 0.0.0.0`, then run `opencode pair` again.
  3. Quick test: open http://<your-computer-ip>:4096 in Safari on the phone. If Safari can't load it either, it's the server or a firewall, not the app.

Let me know what you get!

2

u/shadowsyntax43 9d ago

Aaaah, thanks man. I needed to do step 2. Kudos!

1

u/jakartaundercover 5d ago

Check my replies

3

u/andrease48284 9d ago

I am happy to see that opencode mobile is growing bigger everyday, thank you very much for your effort u/beppe28!

I have been using for some weeks now, it is incredibly useful for me! I also contributed with some features and I have been impressed by your speed and comptence, keep the good work up!

I am looking forward the release in the play store because i am an android user, how long do you think it will take?

1

u/beppe28 9d ago

Thanks Andrea, really appreciate it! And thanks for all the features you contributed, a good chunk of the app is your work too 🙌

Play Store should be out by the end of the month. It'll probably have a different name, since there are already a lot of apps with very similar names on the store. I'll post an update here when it's live!

2

u/mildly_perturbed31 9d ago

good job, is it designed for/did you test it in assistance with building, testing and debugging android apps?

2

u/beppe28 9d ago edited 9d ago

Thanks, yeah, you can do that no problem, you basically get all of OpenCode's power right from your phone. The agent runs gradle, adb, the emulator and the tests on your PC, and from the phone you follow the output live, approve commands, check the diffs and if needed open the terminal for an adb logcat.

2

u/mildly_perturbed31 9d ago

awesome, deserve a star and a try

2

u/tortadilimone 9d ago

I've been using it for weeks on Android, it's the best OpenCode mobile client I've tried. Thanks!

1

u/beppe28 9d ago

Thanks, glad it's useful! If you run into anything weird or miss a feature, let me know 🙌

2

u/HeadLeadership8763 9d ago

Thanks for this, brother

1

u/beppe28 8d ago

Thanks, appreciated!

2

u/Due_Aerie_2388 8d ago

Nice app. Will it be available on the official Apple Store?

2

u/beppe28 8d ago

Thanks, you can test it in TestFlight, I am pushing to publish it as soon as possible

2

u/Minimum-Drive-3571 8d ago

Even though it needs my pc to at least awake, till its better than using Tunnel through chrome, now I can dictate through Voice. 😍😍😍

Thanks for such an amazing job. Will give feedback after using a day or two 😍😍

2

u/beppe28 8d ago

Hey thanks, if you like the app a star is always appreciated ⭐ https://github.com/beppe2880/opencode-mobile

2

u/ExtraNacho 6d ago

thanks for this! given you tried the official app, what's your take on what both do well and what differences exist? keep up the great work!

2

u/beppe28 6d ago

Thanks a lot, really appreciate it! 🙏 Obviously I'm biased here, so take this as my personal experience. The official app's UI is really beautiful, and at first glance it looked amazing. But after using it for a while it felt a bit bare, and I couldn't get it to do what I needed. For example, I wanted to check something in the terminal, or turn an MCP on and off, and I just couldn't. That's why my focus isn't only the UI. It's also features, real day-to-day use, the small details, customization and a community behind it, because everyone uses OpenCode differently. So here you get things the official app doesn't have (yet), like a built-in terminal, a file viewer, MCP management, notifications with quick permission replies, a home screen widget, all the OpenCode themes and lots of settings to make it your own. Thanks again for the support!

2

u/ExtraNacho 6d ago

Thanks! Appreciate you taking the time to answer!

2

u/mwilson_9309 6d ago

The most useful side-by-side would be reconnect behavior: you mention brief connection drops as a pain point. How does the app recover when that happens?

1

u/beppe28 6d ago

Thanks, great question! It recovers on its own: the live stream retries automatically (fast at first, then backing off up to 10s), and it retries right away when the network comes back (Wi-Fi/mobile switch, VPN/Tailscale). While it's down you see "Offline · reconnecting", and once it's back it reloads the chat and session list from the server, so nothing that happened in the meantime is lost.

1

u/beppe28 6d ago

if the app is disconnected while a reply is streaming, it misses those live updates, so the stream can look a bit off for a moment. That's on the server side, since it doesn't resend missed events. But once the reply finishes, the app fetches the complete reply from the API, so everything ends up correct

1

u/DeathbyToast 8d ago

Thanks for creating this! I’m struggling to get it paired to the Windows OpenCode desktop app. Do I need to install the CLI version for it to work? I’ve setup tailscale already too.

For the “server URL” is that my MagicDNS link and port 28894 (default windows Open Code port) and then the auto generated pairing code from clicking “Pair a Device” on Open Code Windows? Or where does the pairing code come from? It keeps saying “Cannot reach the server” and when I tried running the opencode command you shared in another comment powershell says that the term ‘opencode’ is not recognized. Any insight would be greatly appreciated! Never paired my iPhone to OpenCode before

1

u/beppe28 8d ago

Ah yeah, that's the issue: the desktop app's server only listens on the PC itself, so your phone can't reach it, Tailscale or not. You need the CLI, it takes a minute.

Install it with npm install -g @opencode/cli (or download the Windows zip from opencode.ai/docs), then in PowerShell:

opencode service set hostname 0.0.0.0 opencode service restart opencode pair --url http://your-pc.your-tailnet.ts.net:4096

Put your MagicDNS name in there, and use port 4096, not 28894. Then just scan the QR it prints with the app, no need to type the server URL or code by hand. The "Pair a Device" code from the desktop app won't work for this.

If it still says it can't reach the server, it's probably Windows Firewall blocking 4096, allow it and try again. Let me know if it works!

2

u/Minimum-Drive-3571 8d ago

Thanks. I have to use OpenCode Tunnel and so iHave to keep my pc awake that was becoming a bummer.

1

u/Minimum-Drive-3571 8d ago

Oh no, it needs the pc to run! I thought...I already was using through Chrome though in this method. Through tunnel.xyz. 😭

1

u/jakartaundercover 5d ago edited 5d ago

Yoooo dumb tutorial to log in: If your termux phone/desktop 🖥️ already have Opencode.

Just paste the github link to opencode and type: "hi installed this app on my phone - and I want to login - make it happen" Opencode will do it for you - provide the correct working server and password.

I did it in Opencode in Termux. Open Termux and type opencode And paste the prompt with GH link

1

u/Mspy1 3d ago

Thank you for this does work.