Show HN: OpenCode server and TUI in a browser tab (Chrome desktop)

kkrausse.github.io

1 point by kkrausse 2 days ago

- mostly unmodified OpenCode server and TUI, not a reimplementation

- sign in with your ChatGPT plan w/ device code

- opencode free tier works (for now)

- requires a relay because of CORS (a public Wisp server by default); TLS runs in the tab, so it sees only encrypted bytes

- stack is simple Vite+React app with HMR, but can run other stacks including full stack fully in browser

- embeddable in your own web app, not hosted

- Only Chrome desktop for now; first load is about 45 MB

- uses less memory than a Linear or GitHub tab