// BUILD MANIFEST
Tech
The open-source stack that powers this site. No frameworks for the sake of frameworks — each tool earns its place.
Framework
Language
Strict-mode type safety across all source files. No any, no exceptions.
Runtime & Package Manager
Content
Generates sitemap.xml for search engines.
Syntax highlighting for code blocks in Markdown. Astro built-in, github-dark-dimmed theme.
Live taglines on the homepage via SSE. Rust microservice at lylics.magj.dev serving random lyrics.
Performance
Automated performance, accessibility, and SEO audits after each deploy. Reports in etc/lighthouse/.
Lint & Format
Testing
End-to-end browser testing against the production build. Chromium.
Git Hooks
Infrastructure
Cloud / AWS
Static hosting. HTML and assets synced from dist/ with cache headers.
CDN and HTTPS. Serves magj.dev, invalidates on deploy.
Serverless functions: auth (phone/OTP), admin, llm-proxy. Bun runtime.
Session and user data storage for auth.
HTTP routing to Lambda for /auth, /admin, /llm endpoints.
OTP SMS delivery for phone verification.
DNS for magj.dev.
TLS certificates for HTTPS.
AI / LLM
LLM for summarize and translate via Lambda llm-proxy.
Gemini 3.1 Pro for text/reasoning; Nano Banana Pro for image generation (blog covers, assets).
LLM routing with circuit breaker, retry, and fallback (Anthropic → Bedrock → OpenAI → Gemini). Coming.
Claude via Bedrock in llm-proxy fallback chain. Implementing soon.
Agent
Domain-specific instructions for AI agents. SKILL.md files guide coding, releases, design, tooling, and AWS practices.
Analytics
Optional site analytics when PUBLIC_GA4_MEASUREMENT_ID is set at build time (see Layout.astro).
First-party usage and cost metrics in admin (DynamoDB); optional GA4 for traffic. Documented in-repo.
Deployment
CI/CD pipeline: lint, test, build, deploy to S3 and CloudFront on every push to main.