top | item 46518281

(no title)

gempir | 1 month ago

Why not use a browser?

OpenCode has a webUI, you can simply host that on your machine at home and VPN to it.

https://opencode.ai/docs/server/ (sadly no screenshots, but its a pretty good GUI, looks like their desktop app)

discuss

order

pmarreck|1 month ago

You need tmux to be able to resume the same session from anywhere, mosh-server to make ssh resilient to sketchy mobile connections, and blink shell https://blink.sh/ to have a high quality iOS shell with a mosh and ssh client built right in to resume at any time.

Far more resilient and performant than a web client.

gempir|1 month ago

Well the beauty is the logic lives on the server. The client is just a client.

If it disconnects you just reload the page. It can work just fine in the background because it’s not running on your phone.

Just like you can refresh the ChatGPT website, but OpenCode lives on your pc at home, not OpenAI servers.

einsteinx2|1 month ago

> and blink shell https://blink.sh/ to have a high quality iOS shell with a mosh and ssh client built right in to resume at any time

I really like Termius, have you tried it? I think I tested out Blink when I was trying various SSH/shell apps and chose Termius over it, but it’s been so long now that I completely forget why.

EDIT: does Blink give you a local shell as well like vs only SSH/mosh?

alentodorov|1 month ago

tried tmux but realized claude/gemini/codex's --resume works great and have since started using a single chat for all small work projects

tailspin2019|1 month ago

From that page:

> The opencode serve command runs a headless HTTP server that exposes an OpenAPI endpoint…

Unless I missed it, there’s no mention of a web UI?

gempir|1 month ago

The docs are very behind, there is indeed a full blown webui and with opencode serve you can access it

odie5533|1 month ago

`opencode web` runs the web ui. It's very good.