|
|
1 week ago | |
|---|---|---|
| .. | ||
| content | aa820db18d feat(plugin): add session HTTP middleware (#40327) | 1 week ago |
| pages | 203a0613b8 feat(www): migrate docs to Blume | 2 weeks ago |
| public | 42e8d11552 feat(vcs): expose branch info (#40368) | 1 week ago |
| script | c445d98188 feat(theme): extract TUI theme package (#39378) | 2 weeks ago |
| snippets | c445d98188 feat(theme): extract TUI theme package (#39378) | 2 weeks ago |
| .gitignore | 203a0613b8 feat(www): migrate docs to Blume | 2 weeks ago |
| AGENTS.md | 203a0613b8 feat(www): migrate docs to Blume | 2 weeks ago |
| README.md | 203a0613b8 feat(www): migrate docs to Blume | 2 weeks ago |
| blume.config.ts | 203a0613b8 feat(www): migrate docs to Blume | 2 weeks ago |
| components.ts | 203a0613b8 feat(www): migrate docs to Blume | 2 weeks ago |
| openapi.json | 42e8d11552 feat(vcs): expose branch info (#40368) | 1 week ago |
| package.json | c445d98188 feat(theme): extract TUI theme package (#39378) | 2 weeks ago |
| tsconfig.json | 203a0613b8 feat(www): migrate docs to Blume | 2 weeks ago |
| wrangler.jsonc | 28f4284bd7 fix(www): canonicalize production routes | 2 weeks ago |
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.
From this directory, run:
bun dev
The site opens at http://localhost:3000/v2/; documentation is available at http://localhost:3000/v2/docs.
bun typecheck
bun validate
bun run build