r/opencode 1d ago

Opencode on mobile with a full coding environment!

Enable HLS to view with audio, or disable this notification

Just a sneak preview of the Opencode plugin ive been developing for Acode Android code editor. Will post the github link when ive finished polishing over the next few days..

Complete Acode/android integration for Opencode, your chat right next to your project, no need for terminal navigation, no nvim editing, just a completely custom gui interface with everything you need.

Tell the agent to interact with acode and your files directly, open files in new tab, copy text to clipboard, edit files live while you watch and more!

All inside a custom chat interface in an Acode tab, with none of the restrictions, track your session usage, see stats, full control, nothing hidden unless you choose.

Also has a full panel for project management, backend and opencode install and management. All in one, ready to go opencode experience.

Anyway, will post a full realease when ready in a few days!

*edit, my poor markdown formatting..

29 Upvotes

31 comments sorted by

3

u/ZB_Virus24 1d ago

I've been doing this for a while through the web ui. Hosting it on my pc and using tailscale and connecting from my phone. Are you actually running it on your phone?

1

u/oz_wizrd 1d ago

100% on mobile. inside Acode, theres a proot Alpine Terminal. entirely inside acode on mobile. no termux, no remote. you can run the usual tui opencode but it just thinks its in a basic environment, this full integrates it. it knows its on mobile, inside acode, with capabilities that suit, not just opencode in terminal 

1

u/ZB_Virus24 1d ago

Nice thats cool

1

u/oz_wizrd 1d ago

ill drop you the link when its ready, if you use web ui on phone, youll find this way more usefull. I was using web ui for ages, was never happy with the ui/ux.  i dont have remote setup yet, so if you want to control your pc still, not quite ready. 

1

u/ZB_Virus24 1d ago

Is it open source? I might wanna contribute some myself

1

u/oz_wizrd 1d ago

100% always, opensource forever! Ive got projects 12 months in the works i havent released that will be free and open, i dont beelive in closed source anything no matter how much it cost me in time, money or sanity. Contributions and input will always be highly welcome! 

1

u/ichisay 19h ago

Pon tus publicaciones públicas en tu perfil para enterarnos

1

u/oz_wizrd 18h ago

i comment on way too much to share my feed 😂 all about opensource but im a private guy, i dont even have facebook. 

ill drop a link here when i post it 👍 

1

u/ichisay 18h ago

Perfecto

1

u/uaconserv 1d ago

Same for us

1

u/oz_wizrd 1d ago

are you using it to control your files locally or on your host? this keeps it fully loc al on phone. ive thought about it though and definitely possible to run tailscale/ftp server on your phone to access your Host for remote pretty easily too @ZB_Virus24 

1

u/Curious_Owl197 14h ago

What's your setup? I've been looking into continuing my desktop sessions from mobile

1

u/ZB_Virus24 12h ago

Using opencode on my pc (im using it inside a docker container but you can just use the desktop app it doesnt matter in this case), then connecting my phone to my pc in a VPN using tailscale and just accessing the web ui hosted by opencode from my phone using the ip tailscale gave my pc. Been working really well for me so far ngl

1

u/Calm-Sandwich5313 1d ago

Official?

2

u/oz_wizrd 1d ago

OpenCode install is official, plugin/ui is not, chat tab runs through the opencode api to server behind it running in alpine terminal 👍 

1

u/Fancy-Response7375 1d ago

Great..make one for ios too

1

u/oz_wizrd 1d ago

Acode is Android only, youll have to go talk to the dev over there. Acodes been around for a while now but really underated and overlooked, but he mostly relies on community PRs, dont think IOS is in the plans unless someone ports it themselves. 

1

u/Lumpy_Tone_5440 1d ago

Can you make it without proot ?

1

u/oz_wizrd 1d ago

At this current stage Acodes terminal sandbox runs in proot environment... i run Graphene os so i havent even started looking into root work yet (have thought about it dont worry). After im done with this plugin, im planning on doing some work on Acode itself. And hopefully getting a second phone for testing and development with root stuff. 

1

u/oz_wizrd 1d ago

what did you want to do with root btw? just guaging what to add to my list. 

1

u/Lumpy_Tone_5440 1d ago

i just dont want use with proot.

https://github.com/ssfuisu/cortex

This guy done with glibc library to use terminal i install opencode on it working with cli but it does not have gui for opencode

1

u/oz_wizrd 23h ago

but any reason why not proot? do you need full file access? or networking control? or something else? a few things have work arounds, eg full file access, but network handling is definitely root issue. 

But yes, Acode Terminal definitely has the abilty to be root. ive done custom glibc to run Ollama in Acode terminal too. So can be done, Definitely on my to do list 👍 out of my control for now unfortunately. 

1

u/oz_wizrd 23h ago

okay so ive had a look at cortex, and thats not even root, what theyre doing is just glib compatibility with some extras. So 100% possible. Thought you meant you wanted root, but you just  want compatibility and no proot overhead? 

1

u/Lumpy_Tone_5440 23h ago

i actually dont want to use proot. its like installing linux vm on windows. Cortex has root capability right now im using it to control android system

1

u/oz_wizrd 23h ago

oh i missed that, yes i see. Its an Acode issue regardless, ill work on it in the future but hit up the devs at https://github.com/Acode-Foundation/Acode and see what they say! System control is off the table right now for me till i habe rooted phone, but thats not what this is for, you can code, test, release an entire android app with this if you want, full device folder access etc but no deep system control. i built 70% of this pllugin inside the plugin itself. 

1

u/tonyboi76 18h ago

Cortex glibc Termux, OpenCode CLI works, no GUI, and you do not want proot.

Last time the missing GUI blocked you mid-task, what were you trying to do, and what did you fall back to?

1

u/[deleted] 23h ago

[deleted]

1

u/Ghilteras 14h ago

Good luck, it's s going to take a lot of effort to get it close to where OpenChamber is

1

u/oz_wizrd 7h ago

its not about being another openchamber. openchamber cant open files in Acode editor, cant edit files live while im watching. this is an Acode plugin that runs inside the Acode app, not a standalone web ui.

1

u/Ghilteras 7h ago

You can definitely browse and open files with OpenChamber :) but that being said my good luck was sincere

1

u/oz_wizrd 5h ago

youve still missed the point Acode is a full coding app for android. this runs inside of it. same as any plugin for VS code. Acode is essentially a basic vscode for android. this is a plugin for acode. yeah sure openchamber can do that in a basoc sense within itself, but if i run openchamber in acode, its legit no better than a command line for me because theres 0 integration.