opencode/services/www
2026-09-17 10:20:57 -04:00
..
public feat(cli): add reload command 2026-09-17 09:21:41 -04:00
script
src docs: reorder sidebar navigation 2026-09-17 10:20:57 -04:00
.gitignore
AGENTS.md
astro.config.ts
openapi.json feat(cli): add reload command 2026-09-17 09:21:41 -04:00
package.json
README.md
tsconfig.json
wrangler.jsonc

OpenCode website

The standard Astro website for OpenCode. The only deployment-specific path is the base setting in astro.config.ts; application code uses import.meta.env.BASE_URL.

  • src/pages/ owns website routes.
  • src/docs/ is the self-contained documentation feature rendered under /docs.
  • /install proxies the current installer.
  • /openapi.json serves the generated OpenAPI specification.

The deployment currently sets base: "/v2". The v2.opencode.ai alias is handled by a Cloudflare Redirect Rule outside this project.

Development

From this directory, run:

bun dev

The local URL includes the base configured in astro.config.ts.

Verification

bun typecheck
bun run check:generated
bun run build