opencode/packages/www
opencode-agent[bot] 9872fb8a54
refactor(api): remove legacy question service (#42562)
Co-authored-by: Filip Hejmowski <fhejmowski@simplito.com>
Co-authored-by: neriousy <hejmowskifilip@gmail.com>
Co-authored-by: Kit Langton <kit.langton@gmail.com>
2026-08-14 14:38:32 +00:00
..
content/docs revert(core): remove portable shell permission scanner (#42571) 2026-08-14 08:40:40 -04:00
pages
public refactor(api): remove legacy question service (#42562) 2026-08-14 14:38:32 +00:00
script
snippets/generated
.gitignore
AGENTS.md
blume.config.ts fix(www): point edit links to v2 (#42472) 2026-08-13 21:42:46 -05:00
components.ts
openapi.json refactor(api): remove legacy question service (#42562) 2026-08-14 14:38:32 +00:00
package.json
README.md
tsconfig.json
wrangler.jsonc

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