All writing

How this site is built

A small colophon covering the stack, the design decisions, and why every page is plain static HTML served from the edge.

I wanted this site to feel modern without being heavy: fast on a bad connection, readable at 2am, and simple enough that I’ll actually keep writing on it. Here’s what’s under the hood.

The stack

Layer Choice
Framework Astro, fully static
Content MDX files in a git repo
Hosting Cloudflare Workers static assets
Fonts Geist, Geist Mono and Instrument Serif, self-hosted
JavaScript A few kilobytes, for search and the theme toggle

Every page is pre-rendered at build time. There is no server, no database and nothing to patch. Cloudflare serves the files from whichever data center is closest to you.

Writing a post

A post is a single MDX file with a little frontmatter:

---
title: How this site is built
description: A small colophon covering the stack.
pubDate: 2026-11-27
tags: [meta, web]
---

Text goes here.

Publishing is one command:

npm run deploy   # astro build && wrangler deploy

Design notes

  • Type does the heavy lifting. A tight, geometric sans for structure and an italic serif for voice.
  • Motion is quiet. Content rises in on load, the aurora drifts slowly, and everything respects prefers-reduced-motion.
  • Dark first, light too. The theme follows your system until you pick one, and remembers your choice.
  • Keyboard friendly. Press ⌘K or / anywhere to search.

Security

Even a static blog gets a strict Content-Security-Policy, HSTS, and the usual hardening headers. No third-party scripts, no trackers, no cookies.

That’s it. The rest is writing.

↑ ↓ navigate↵ openesc close