OpenCode Web - An Open Source Alternative to Claude Code on Web
OpenCode is a AI coding agent like Claude Code. But unlike Claude Code it is open source MIT
In the last couple of months, they’ve released lot of cool things (which is not available in other CLI based agents yet)
For example, LSP support, Multi-session, ACP support, using your own model, subscriptions like Claude Code/GitHub Copilot, etc
Today I came to know that they provide web feature out of box.
We can just run OpenCode in some server (behind some VPN like Tailscale). And there you have your own AI agent platform similar to Claude Code on Web.
How to get started?
Install OpenCode if not already done
pnpm install -g opencode-ai
And configure your AI provider. In my case, I was using my GLM Coding Plan
Run OpenCode Web
Just run
opencode web
You can also configure it to run on custom port or allow hostname binding like this
opencode web --hostname 0.0.0.0 --port 8888
It’ll start the OpenCode in background and you can access it at http://127.0.0.1:4096
It is full blown, you even have access to Terminal, change diff, sharing, etc.
Happy coding-on web!