Lab
Technical documentation from things we design, build, operate, and learn from.

Android Server for the Lighting Web Interface
How an unused Android phone became the always-available local server for the lighting web interface using Termux, SSH, and rsync.
Sharing Better Auth Configuration Between Astro Runtime and CLI
How Better Auth configuration is shared between the Astro runtime and CLI schema generation without sharing their environment-specific dependencies.
Home Lighting System
A home lighting system grown from experiments with WS2812B LEDs into independent installations, shared local control, and repurposed hardware.
Installing FreeCAD on Ubuntu with an AppImage
Set up FreeCAD from its Linux AppImage with a permanent path, desktop launcher, optional icon, and a repeatable update process.
Application-Aware Session Context in Astro
How Better Auth sessions are resolved into app-owned access context with Drizzle and exposed through Astro middleware and locals.
Powering a Multi-Section WS2812B Installation
A practical process for estimating load, choosing a power budget, planning power injection, wiring multiple WS2812B sections, and configuring WLED.
Publishing packages from the UluBit monorepo
Release independently versioned UluBit packages to npm, verify the published artifacts, and record each release against its source state.
Responsive image sizing for the web
Work out the real rendered width of responsive images so the browser can request an appropriately sized source.
Villa Owner Trust System
A proof-backed reporting system for villa management companies that connects owner-facing records, evidence, payouts, and monthly statements into a traceable trust model.
Wardrobe LED Lighting
A three-level wardrobe lighting installation using 135 WS2812B LEDs, an ESP8266 running WLED, and separate 5 V power feeds for each level.
WS2812B Power and Current
A practical reference for estimating current, sizing 5 V power sources, configuring WLED current limits, and understanding power distribution for WS2812B installations.
yt-dlp Cheat Sheet
A practical reference for the yt-dlp commands and workflows I use most often.