opencode/packages/www
Brendan Allan 20df2fdba6
feat(cli): embed web ui (#41525)
Co-authored-by: Dax Raad <d@ironbay.co>
2026-08-11 15:43:07 -07:00
..
content/docs docs: clarify skill source precedence (#41844) 2026-08-11 20:46:14 +00:00
pages
public feat(cli): embed web ui (#41525) 2026-08-11 15:43:07 -07:00
script
snippets/generated
.gitignore
AGENTS.md
blume.config.ts fix(www): match OG images to docs theme 2026-08-11 18:28:51 -04:00
components.ts
openapi.json feat(cli): embed web ui (#41525) 2026-08-11 15:43:07 -07:00
package.json
README.md
tsconfig.json
wrangler.jsonc chore: generate 2026-08-08 04:21:03 +00:00

OpenCode website

The OpenCode V2 website, powered by Blume and deployed with Wrangler at https://opencode.ai/v2/. Blume mounts the documentation at /v2/docs, and https://v2.opencode.ai redirects to the same deployment.

Wrangler deploys the site through Blume's Cloudflare server adapter. Documentation pages are prerendered, while custom dynamic routes and endpoints can run in the Worker. Production uses opencode-www at opencode.ai/v2/; dev uses opencode-www-dev at dev.opencode.ai/v2/. The v2.opencode.ai alias is handled by a Cloudflare Redirect Rule outside this project.

The deploy-www GitHub workflow deploys the dev branch to the dev Worker and the v2 branch to the production Worker.

Development

From this directory, run:

bun dev

The site opens at http://localhost:3000/v2/; documentation is available at http://localhost:3000/v2/docs.

Verification

bun typecheck
bun validate
bun run build