Back to writing

25 April 2026

Shipping this site on the edge

A compact Astro portfolio with a D1-backed guestbook, Turnstile protection, and agent-readable discovery metadata, running entirely on Cloudflare.

This site is an Astro bento grid that serves static HTML for the home and work pages, runs a Cloudflare Worker for the guestbook API, stores entries in a D1 database, and protects the submit form with Turnstile.

It exposes a few agent-readable surfaces including /llms.txt, /.well-known/api-catalog, /.well-known/openapi.json, and Markdown negotiation on the main routes, so tooling that prefers structured documents can read the site without parsing HTML.

The admin surface is a small Node CLI that talks to the D1 database directly through wrangler d1. Moderation, search, and stats are all a npm run guestbook away.

Short stack: