Warning
No longer maintained. This repo has been merged into the modrex monorepo as apps/site. Active development happens there — this repo is kept only for history and will not receive further updates.
Marketing and documentation site for Modrex at modrex.net. Built with Astro 6, deployed automatically to Cloudflare Pages on every push to main.
pnpm install
pnpm dev # Start dev server at localhost:4321
pnpm build # Static build to dist/
pnpm typecheck # Type-check .astro and .ts files
pnpm lint # ESLint
pnpm format # PrettierAstro 6 · Tailwind CSS v4 · Cloudflare Pages
src/pages/ ← routes
src/components/ ← Astro components
src/content/docs/ ← MDX documentation pages
src/lib/ ← Build-time data fetching (GitHub Releases API, mod index stats)
functions/ ← Cloudflare Pages Functions (analytics proxy at /api/collect)
Cloudflare Pages deploys automatically on every push to main — no manual step needed. The functions/ directory is picked up by Cloudflare's own build step alongside the static output.