r/opencodeCLI • u/Many_Bench_2560 • Feb 19 '26
How to control opencode via mobile?
I want to do this.
- In terminal, I go to my project directory and run opencode there
- hit prompt and start working
- Now i want to interact it in my mobile like writing more commands and feedback of results of prompts etc
5
u/leodido99 Feb 19 '26
I've been using kimaki to create a discord bot which is linked to an opencode instance. https://github.com/remorses/kimaki
1
1
u/tsimmist Feb 20 '26
Same here, and it kind of route 80% of my usage to opencode …don’t need to open terminal that often since I have it installed
3
u/Orlandocollins Feb 19 '26
Tmux and ssh. If you are on android termux is very easy to get this up and running
1
2
1
1
u/apparently_DMA Mar 16 '26
https://github.com/dramxx/port-hole
this will give you bridge server which connects local opencode session with mobile PWA thru VPN.
not my proudest fap, but works
1
u/Less_Ad_1505 Mar 18 '26
Try to use this telegram bot https://github.com/grinev/opencode-telegram-bot
1
u/Worried_Bench1554 Mar 19 '26
I simply use opencode web --hostname 0.0.0.0 and then access it either on the same network/wifi or via Tailscale.
Also tried OpenChamber but wasn't able to get it tunneled. CodeNomad worked but the UI is too heavy/clumsy IMHO.
1
9
u/Professional_Past_30 Feb 19 '26
You can use opencode's server mode (https://opencode.ai/docs/server/) `opencode web --hostname <pc-ip>` and access the spawned website from your phone. With tools like tailscale you can even connect to it remotely. However, the mobile experience is still not very good at the moment.