Stack

How this site is built, hosted, and monitored.

Data pipeline
Author
Keystatic CMS GitHub PR merge to main Cloudflare deploy
requests hit the edge
Serve
HTTP request Worker middleware Astro SSR response
in parallel: bot UA + path + country D1 crawl_log
scheduled: snapshot job reads D1 aggregates KV
on page load: dashboards KV only — zero D1 reads
browser sends vitals
Observe
web-vitals sendBeacon /api/cwv D1 cwv_log
scheduled: cwv snapshot p50/p75/p95 KV Page Speed
Framework
SSR mode via the Cloudflare adapter. Static pages prerender at deploy time; dynamic routes (dashboards, APIs) run at the edge on every request.
Hosting & Edge
Runs the Astro SSR adapter at the edge. Intercepts every request to log bot and crawler traffic before routing to page handlers.
SQLite at the edge. Stores raw crawl_log rows (bot UA, path, timestamp, country) and Core Web Vitals measurements. Append-only writes, never read on public page loads.
Pre-aggregated snapshots written by a scheduled job. The crawl widget and dashboards read KV only — zero D1 latency on page load. Keys: snapshot:perpath, snapshot:daily, cwv:by-path, and more.
Content & CMS
Git-based CMS. Blog posts, notes, and projects are edited through the Keystatic UI and committed to GitHub as markdown or JSON — no database, no vendor lock-in.
Source of truth for all content and code. Cloudflare deploys automatically on push to main.
Analytics & Monitoring
Privacy-first pageview analytics. No cookies, no fingerprinting, no personal data. Auto-injected at the CDN level — no code changes needed.
Captures LCP, INP, CLS, FCP, and TTFB from real browser sessions and beacons them to /api/cwv. Stored in D1, aggregated into KV, surfaced on the Page Speed dashboard.
Custom dashboard built on the D1 + KV pipeline. Tracks which search engines, AI crawlers, and autonomous agents are hitting the site, at what rate, and on which pages.

Typography — system-ui on macOS and Windows, Roboto on Android, Arial as fallback. ui-monospace for code. No external font requests.