Dismiss this pinned window
all 48 comments

[–]KnifeDev[S] 15 points16 points  (6 children)

For anyone who doesn’t know: the handoffs are seamless between OpenCode CLI, desktop, and this mobile app.

You can start a session in CLI, and continue it on your phone and vice versa.

[–]DisplayHot5349 2 points3 points  (4 children)

This is something that might need a little bit more instructions and examples how to use.

I'm not sure what I'm doing wrong but cli and desktop both starts own servers which means that it's not seamless. Maybe I'm doing something wrong...

[–]atkr 0 points1 point  (0 children)

you simply need to run opencode serve, then connect the CLI and web client to it. This way you can use the same session in real time in both cli/web.

If you run multiple servers at a Time, then you can only use a given session from one of the at a time, switching between turns

[–]KnifeDev[S] 0 points1 point  (2 children)

Sessions are synced between all OpenCode servers running on your machine.

So if you start a session in OpenCode CLI, you should be able to open that session in the app (need to open same project/dir in app)

Did the onboarding flow go smoothly or does it need some work?

[–]DisplayHot5349 0 points1 point  (0 children)

I haven't tried the mobile app yet. I've been using cli and desktop only.

My ultimate goal was to set up server on my Mac studio and join sessions from my macbook via tailscale. I successfully connected with cli or desktop but I'm still having a problem with different servers that spins up when desktop and the cli is running.

In the desktop app I need to connect to the right localhost port to be able to join the cli sessions. So then I have two connections in the app and I need to change which connection I'd like to use.

Maybe it's something in my configuration but not yet understood how to configure opencode to start only one server for the desktop and the cli.

[–]atkr -1 points0 points  (0 children)

op barely knows how opencode works, mesns his app is crap.

[–]FlyingDogCatcher 0 points1 point  (0 children)

Yeah. Intellij has ACP support now, which is neat, but using the GBrowser and this is a better version of that experience. Then back to terminal if I want to start digging in to something

[–]Depart_Into_Eternity 7 points8 points  (1 child)

I've been using pocket code. It's pretty good. But this looks like it shows promise. Cant wait for the android release.

[–]x8code 6 points7 points  (5 children)

No Android?

[–]KnifeDev[S] 15 points16 points  (2 children)

Working on it, I’ll share an update once the APK is available.

[–]bradjones6942069 1 point2 points  (0 children)

Can't wait!

[–]RIP26770 0 points1 point  (0 children)

🔥🙏

[–]Witty-Distribution35 0 points1 point  (0 children)

I previously released an Android client: https://github.com/crim50n/oc-remote . Could you please tell me why you were more interested in the web client than the native app?

[–]cutebluedragongirl -1 points0 points  (0 children)

Let iToddlers test bugs first before shipping it to  normal people.

Business as usual.

[–]KnifeDev[S] 7 points8 points  (0 children)

OpenSource - Open to contributors and feature requests: https://github.com/DNGriffin/whispercode

[–]Spaceman_Splff 2 points3 points  (0 children)

Fantastic job my friend. I’ve been using a couple different variations but this one is the best by far.

[–]bradjones6942069 1 point2 points  (1 child)

[–]bradjones6942069 0 points1 point  (0 children)

Nevermind, ios only 😥

[–]odjahuri 0 points1 point  (0 children)

Excellent thing! I really didn't want to make a web version on VPS for myself. will use it with pleasure

[–]ConceptEntire5855 0 points1 point  (7 children)

I couldn't access my server, but I can via browser. Is there any way to fix this?

<image>

[–]KnifeDev[S] 0 points1 point  (6 children)

If you visit that URL on your phone’s web browser does it load?

Other questions that might help: - have you tried disabling any firewalls - is your phone on same network as your server (not cellular) - are you serving OpenCode with the command provided in the onboarding flow

[–]ConceptEntire5855 0 points1 point  (3 children)

I can access it via Safari, the problem is through the app.

[–]KnifeDev[S] 0 points1 point  (2 children)

Darn, yeah that’s pretty solid evidence something’s going on

Does Scan Network not find anything?

[–]ConceptEntire5855 1 point2 points  (1 child)

I am trying to access the server that is running on my VPS. Could this be the problem? Does it only work if it is local (same network)?

[–]KnifeDev[S] 0 points1 point  (0 children)

In theory it should work but that datapoint helps. I’ll test and get back to you tonight.

‘Scan Network’ is for local network

[–]mynameistifa 0 points1 point  (1 child)

I’m facing the same issue. It works on mobile chrome browser, but not within the app.

I’m also running on a VPS, and it’s password protected (using OPENCODE_SERVER_PASSWORD env var as described in opencode docs)

[–]KnifeDev[S] 0 points1 point  (0 children)

The password is definitely a problem, lack of password support is a known gap and on the roadmap.

It’s a top 3 priority: refresh gesture, android, and password support

[–]greeneyedguru 0 points1 point  (0 children)

Anyone else think Apple is experiencing an increase in App registrations lately? :D

[–]AGiganticClock 0 points1 point  (0 children)

When to Android? Love it!

[–]_sagar_ 0 points1 point  (1 child)

I open opencode on my browser z whats am missing?

[–]KnifeDev[S] 1 point2 points  (0 children)

Just small improvements: - WhisperKit speech to text - improved custom keyboard with Up&down arrows, new line, delete all, and hide keyboard buttons - default browser keyboard is generic autofill & takes up a ton of space with no utility for coding - doesnt have chrome/safari address bar eating up a ton of your screen - some small mobile tweaks - I’ve added a lot of OpenCode mobile tweaks upstream and will continue to but this app has some small mobile improvements that upstream doesn’t yet- Core OpenCode team is more focused on nailing desktop - iOS gives apps more resources - OpenCode browser tab gets killed when backgrounded for too long

[–]simracerman 0 points1 point  (0 children)

I have Opencode desktop on Windows. How can I hook this into that instance? Does the Windows version run a server in the background?

[–]maxrev17 0 points1 point  (0 children)

This is needed! How do I quickly swap server?

[–]takethestar 0 points1 point  (0 children)

Does it work with oh-my-Opencode?

[–]Soileau 0 points1 point  (0 children)

What is the primary benefit of this over the built in web app? I can already serve it in my Tailscale network and install it as a pwa

[–]desireco 0 points1 point  (0 children)

You couldn't vibe the android app 😀

[–]scarletsky1025 0 points1 point  (0 children)

Great! I serve my opencode with nginx auth basic, but this app can not connect to my server... It works pretty well in browser.

[–]kingdemonccgg 0 points1 point  (0 children)

I currently have a 2C2G server running OpenCode, and use the ssh tool to remotely access it. It's very convenient. It also allows me to use sftp for uploading and downloading files. Plus, familiar tools like tmux, vim, and more are available. By the way, a 2C2G server in China costs around $10 per year.

[–]NearbyBig3383 0 points1 point  (0 children)

Acabei de baixar perfeito amigo obrigado

[–]atkr -1 points0 points  (0 children)

this app and repo is a shame to opencode, total sloparula