Deploy

Aplos builds plain static assets (HTML, JS, CSS) to public/dist/. There's no server runtime to operate — pick any static host you prefer.

Recommended workflow

  1. Mark pages that should be pre-rendered with "use static" (see Static rendering).
  2. Build with bun run build --static.
  3. Upload public/dist/ to your host.

Guides

  • GitHub Pages — free, integrates with GitHub Actions, used by aplos.alpacode.io itself.
  • Other static hosts — Netlify, Vercel, Cloudflare Pages, nginx, S3 + CloudFront.

Choosing a host

HostCostSPA fallbackBest for
GitHub PagesFreeManual (404.html copy)Open source, docs, marketing
NetlifyFree tierBuilt-inQuick deploys, branch previews
VercelFree tierBuilt-inSame
Cloudflare PagesFreeBuilt-inGlobal edge, fast worldwide
S3 + CloudFrontPay per useConfigurableEnterprise, custom CDN setup
Self-hosted nginxServer costConfigurableFull control

If you don't have strong preferences, GitHub Pages is the simplest path when you're already on GitHub.