Lab

Technical systems, builds, guides, and references from things I design, build, operate, and learn from.

Systems

Home Lighting System

A home lighting system grown from experiments with WS2812B LEDs into independent installations, shared local control, and repurposed hardware.

ElectronicsInfrastructure

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.

Software

Browse by technical field

Software

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.

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.

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.

yt-dlp Cheat Sheet

A practical reference for the yt-dlp commands and workflows I use most often.

Electronics

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.

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.

Infrastructure

Android WLED Dashboard Server

An unused Android phone repurposed as the local server for my WLED dashboard, with builds deployed from Ubuntu over SSH.