How to Compress WOFF2 Fonts with fonttools and Brotli
Subset and re-compress self-hosted WOFF2 fonts with pyftsubset and Brotli to cut the font payload by 89%, with the exact commands and byte numbers.
I write about web development, tooling, and whatever I happen to be experimenting with. If you're here for the web work, the WordPress exit intent plugin build is a good starting point, or head straight to the case studies.
Subset and re-compress self-hosted WOFF2 fonts with pyftsubset and Brotli to cut the font payload by 89%, with the exact commands and byte numbers.
The Shai Hulud worm poisoned a pnpm cache in GitHub Actions to hit TanStack and 170+ npm packages. How it worked and the steps I took to harden my repos.
Five defaults in the Claude Code VS Code extension I changed with a companion extension that patches its files and re-applies after every update.
A comparison of AppKit and SwiftUI as macOS UI frameworks, covering layout, rendering, and performance at scale, plus where UIKit and Mac Catalyst fit in.
An LLM refactor of my dotfiles sourced my workspace files, so every new shell launched more shells. I fixed it from macOS Recovery Mode with diskutil.
How I replaced an afternoon of new-Mac setup with bootstrap.sh, and why the teardown script has to be written at the same time.