4 ms·
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/ https://opencode
by gempir 9mo 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/ https://opencode.ai/docs/server/ (sadly no screenshots, but its a pretty good GUI, looks like their desktop app)
- pmarreck 9mo agoYou 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/ 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 9mo agoWell 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.
- pmarreck 9mo agoyes but I've never seen a terminal interface embedded in a browser that is as good as a native terminal app interface, and blink shell has been well worth the upfront cost to me (way better than Termius, which was suggested in the writeup)
- kovek 9mo agoIs it easy to move the text cursor around in the text input in blink shell?
- carloscabanero 9mo agoI usually pair Claude with tmux, so you can move the cursor around the Claude output and copy, scroll, etc. that buffer is definitely the way to go. And within the chat box, Claude respects known eMacs/GNU shortcuts for cursor movement, so I like that more than Copilot.
- mjqs 9mo agoIt's not. When using Claude Code (or similiar)you get a lot of problems in every shell about flickering, not being able to copy, not being able to move text cursor and so on. It's bad UX If using TMUX you can "ctrl + b [" to enter copy mode and then you can move cursor as you wish. I wrote about this stuff too on https://mjqs.blog/meta/ https://mjqs.blog/meta/
- alentodorov 9mo agotried tmux but realized claude/gemini/codex's --resume works great and have since started using a single chat for all small work projects
- pmarreck 9mo agoYes, but you can't leave it running and working on something and then resume from wherever that left off that way from wherever you are. Or are you saying you can resume a conversation that is still open in another terminal? What happens to the old terminal if you accidentally type into it? Will it overwrite the conversation?
- einsteinx2 9mo ago> and blink shell https://blink.sh/ 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?
- carloscabanero 9mo agoYes, Blink gives you a local shell with some tools (not extendable), including Vim. It is even possible to mount a remote repository (we call it a Bookmark), and edit locally. Give it another chance if you want to, I’m always happy to help.
- einsteinx2 9mo agoIs Blink’s shell different from something like iSH which gives you a local shell inside an Alpine Linux VM? Is it some kind of native iOS shell or is it also a Linux VM of some kind?
- tailspin2019 9mo agoFrom 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?