opencode/services/www
2026-09-14 17:51:48 -04:00
..
public refactor(protocol): normalize session resources 2026-09-14 17:51:48 -04:00
script feat(services): organize hosted services and add public files 2026-09-07 18:34:34 -04:00
src refactor(core): split provider and model registries (#48901) 2026-09-14 10:34:11 -04:00
.gitignore feat(services): organize hosted services and add public files 2026-09-07 18:34:34 -04:00
AGENTS.md feat(services): organize hosted services and add public files 2026-09-07 18:34:34 -04:00
astro.config.ts feat(services): organize hosted services and add public files 2026-09-07 18:34:34 -04:00
openapi.json refactor(protocol): normalize session resources 2026-09-14 17:51:48 -04:00
package.json feat(services): organize hosted services and add public files 2026-09-07 18:34:34 -04:00
README.md feat(services): organize hosted services and add public files 2026-09-07 18:34:34 -04:00
tsconfig.json feat(services): organize hosted services and add public files 2026-09-07 18:34:34 -04:00
wrangler.jsonc feat(services): organize hosted services and add public files 2026-09-07 18:34:34 -04:00

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