I build small production systems and the automation around them, and design them around what goes wrong: a request sent twice, a connection that drops halfway, two people booking the same chair.
TypeScript · Python
chairside — bookings, customer records and takings for a hair salon in Macau: seats that are not interchangeable, stylists who come and go, and the three currencies a shop there takes. Cloudflare Workers and D1.
Try the demo — it runs entirely in your browser. DESIGN.md covers what happens when two people book the same chair at once, or the pay button is pressed twice.
Each one was written for a problem I ran into at work.
- flex-guard — catches the LINE Flex messages that fail to send, and the ones that fail quietly. npm
- publish-guard — finds what you forgot to remove before publishing a repository, git history included. PyPI
- durable-webhook — a webhook relay on Cloudflare Workers that accepts fast and delivers stubbornly.
- gui-report-automation — drives a Chrome session that a person signed in to, on a Linux VM, to produce a daily report.
- drive-whisper-transcriber — batch transcription of Google Drive media with Whisper on a Compute Engine VM.
The last two are sanitised versions of systems still running, published with the client's permission. Most of my work is under contract and cannot be published.
司機,有落! -澳門- ("Driver, getting off!") — a one-button browser game: drive Macau's No. 11 bus, pick up whoever waves, stop when the bell rings, and get shouted at in Cantonese if you sail past a stop. Made for phones, and plays on a computer too. Cantonese only; the source is not public.

