|
|
3 tygodni temu | |
|---|---|---|
| .. | ||
| content | 203a0613b8 feat(www): migrate docs to Blume | 3 tygodni temu |
| pages | 203a0613b8 feat(www): migrate docs to Blume | 3 tygodni temu |
| public | b6e14b5a74 refactor(tui): finish V2 theme migration (#38383) | 3 tygodni temu |
| script | 56a9c0150a fix(www): mark deploy script as module | 3 tygodni temu |
| snippets | 203a0613b8 feat(www): migrate docs to Blume | 3 tygodni temu |
| .gitignore | 203a0613b8 feat(www): migrate docs to Blume | 3 tygodni temu |
| AGENTS.md | 203a0613b8 feat(www): migrate docs to Blume | 3 tygodni temu |
| README.md | 203a0613b8 feat(www): migrate docs to Blume | 3 tygodni temu |
| blume.config.ts | 203a0613b8 feat(www): migrate docs to Blume | 3 tygodni temu |
| components.ts | 203a0613b8 feat(www): migrate docs to Blume | 3 tygodni temu |
| openapi.json | 203a0613b8 feat(www): migrate docs to Blume | 3 tygodni temu |
| package.json | 203a0613b8 feat(www): migrate docs to Blume | 3 tygodni temu |
| tsconfig.json | 203a0613b8 feat(www): migrate docs to Blume | 3 tygodni temu |
| wrangler.jsonc | 9840f63b12 chore(www): simplify worker routes | 3 tygodni temu |
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