opencode/packages/www
opencode-agent[bot] 76e4d88d21
fix(core): default custom agents to primary (#40880)
Co-authored-by: Aiden Cline <rekram1-node@users.noreply.github.com>
2026-08-06 20:47:51 -05:00
..
content/docs fix(core): default custom agents to primary (#40880) 2026-08-06 20:47:51 -05:00
pages feat(www): migrate docs to Blume 2026-07-25 21:17:25 -04:00
public fix(config): omit unset optional values (#40918) 2026-08-06 13:06:03 -07:00
script feat(theme): extract TUI theme package (#39378) 2026-07-28 14:14:39 -04:00
snippets/generated feat(theme): extract TUI theme package (#39378) 2026-07-28 14:14:39 -04:00
.gitignore feat(www): migrate docs to Blume 2026-07-25 21:17:25 -04:00
AGENTS.md feat(www): migrate docs to Blume 2026-07-25 21:17:25 -04:00
blume.config.ts feat(www): migrate docs to Blume 2026-07-25 21:17:25 -04:00
components.ts feat(www): migrate docs to Blume 2026-07-25 21:17:25 -04:00
openapi.json fix(config): omit unset optional values (#40918) 2026-08-06 13:06:03 -07:00
package.json feat(theme): extract TUI theme package (#39378) 2026-07-28 14:14:39 -04:00
README.md feat(www): migrate docs to Blume 2026-07-25 21:17:25 -04:00
tsconfig.json feat(www): migrate docs to Blume 2026-07-25 21:17:25 -04:00
wrangler.jsonc fix(www): canonicalize production routes 2026-07-26 02:39:12 -04: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