opencode/packages/www
2026-08-25 19:37:06 +05:30
..
public fix(www): use official favicon 2026-08-25 00:44:42 -04:00
script feat(www): serve cached markdown documentation 2026-08-25 00:34:34 -04:00
src feat(plugin): add vcs provider api (#44979) 2026-08-25 19:37:06 +05:30
.gitignore feat(www): rebuild site with Astro (#44274) 2026-08-22 19:49:47 -04:00
AGENTS.md docs: expand plugin guides 2026-08-24 18:10:40 -04:00
astro.config.ts feat(www): rebuild site with Astro (#44274) 2026-08-22 19:49:47 -04:00
openapi.json docs: split client and sdk guides 2026-08-24 19:03:42 -04:00
package.json feat(www): rebuild site with Astro (#44274) 2026-08-22 19:49:47 -04:00
README.md feat(www): rebuild site with Astro (#44274) 2026-08-22 19:49:47 -04:00
tsconfig.json feat(www): rebuild site with Astro (#44274) 2026-08-22 19:49:47 -04:00
wrangler.jsonc feat(www): serve cached markdown documentation 2026-08-25 00: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