This is the standalone OpenCode Web UI application extracted from the OpenCode monorepo.
bun installRun the Web UI dev server locally:
bun devThis starts Vite development server on http://localhost:3000.
Build static web assets for deployment:
bun buildThe compiled static output will be generated inside packages/app/dist.
Deploy the packages/app/dist folder to any static web host:
- Vercel / Netlify / Cloudflare Pages
- Nginx / Caddy / Docker
- AWS S3 / CloudFront
When running the Web UI, point it to your running opencode server instance:
- By configuring your server URL in the Web UI connection dialog.
- Or by opening the app with a query parameter:
http://your-ui-domain.com/?auth_token=YOUR_SERVER_TOKEN.