active
Fonts
A self-hosted, editorial alternative to Google Fonts, built with Cloudflare D1 and R2, a Hono API, and an Astro website.
TypeScript / Astro / Hono / Cloudflare D1 / Cloudflare R2· 2025
view .mdopen in claudeopen in chatgpt
A self-hosted font serving platform. It gives you editorial-quality web fonts without Google’s tracking. It runs on Cloudflare’s edge network.
Stack
- Astro: The static frontend for browsing and previewing fonts.
- Hono: The API layer for font serving and cache headers.
- Cloudflare R2: Stores font files at the edge.
- Cloudflare D1: Stores metadata and subsetting rules.
Features
- Editorial curation: The site offers hand-picked font pairings instead of an endless catalog.
- Self-hosted: There are no third-party requests and no tracking.
- Subset on the fly: The server sends only the characters you need.
- Cache-optimized: The server sets correct
Cache-ControlandETagheaders. - CSS generation: The server builds
@font-faceblocks with the best format hints.