Source for openagp.io — the OpenAGP project site. Built with Astro + Starlight.
- Marketing landing page + "Learn" and "Adopt" guides (original content).
- Specification pages pulled from
openagp/specat build time — seescripts/sync-spec.mjs. The site never forks the spec;src/content/docs/spec/is a build artifact and is git-ignored. - A live registry browser (
src/components/RegistryBrowser.astro) that readsactors/*.jsonfrom the publicopenagp/registryat runtime, so new entries appear without a rebuild.
npm install
npm run dev # runs sync-spec, then astro dev on http://localhost:4321npm run sync-spec pulls the latest spec content on demand. It also runs automatically before dev and build.
npm run build # prebuild sync-spec -> astro build -> dist/
npm run preview # serve the production build locallyopenagp.io is managed on Cloudflare. To serve this repo:
- Cloudflare dashboard → Workers & Pages → Create → Pages → Connect to Git → pick
openagp/website. - Build settings:
- Framework preset: Astro
- Build command:
npm run build - Build output directory:
dist
- Custom domains → add
openagp.io(andwww). Cloudflare already holds the DNS, so this is one click — then remove the existing redirect rule that points openagp.io at GitHub.
Every push to main redeploys. Because the spec is fetched at build time, a spec change is reflected on the next site build (or any redeploy).
Site content CC BY 4.0; code Apache-2.0. Rendered spec text remains under the spec's CC BY 4.0.