Interests / Building software
Small tools you can read.
I build for the web, mostly in PHP and TypeScript. My favourite software is the kind one person can read in an afternoon and still trust years later.
01 / Projects
What I've built.
Open source / MIT
Wren CMS
A whole website in one PHP file, with SQLite, markdown, two-factor sign-in and a theme that's a single HTML file. It runs this site.
wrencms.com →Open source / GPL
eveBB
Fast, lightweight forum software carrying on the FluxBB and PunBB line, plus a hosted service.
evebb.net →In-house
49 Systems Hub
Clients, sites, support and plan time in one PHP app. It talks to the billing platform through a signed webhook and REST API.
49 Systems →02 / How I build
Boring technology, careful edges.
I like plain PHP and SQLite where they fit, and TypeScript with Postgres where they don't. Most of the effort goes into the edges: signatures checked before anything is parsed, idempotency keys, and a database that's backed up before anything touches it.
And I test against the real thing. My business suite's installer once reported "Schema created" over an empty database. The test harness had loaded the schema itself, so the installer's bug never showed. Only the first real install found it.
// verify first, parse later
$sig = $_SERVER['HTTP_N49_SIGNATURE'] ?? '';
if (!webhook_verify($raw, $sig, $secret)) {
http_response_code(401);
exit;
}
$event = json_decode($raw, true);