Blog
Developer notes from building Foony.
Long-form writeups on the engineering choices, migrations, tooling, and strange production bugs behind a browser games platform.
Petey guards the messy notes from the engine room.
How to Migrate Off Firestore to Postgres in 2 Days
How I migrated Foony off Firestore to Postgres + Redis pub/sub via Change Data Capture in just 2 days, dropping Firebase costs from $550/month to $40/month and trimming ~100KB off the client bundle.
How I Implemented SSG in 2 Days
How I built a bespoke Static Site Generation solution for Foony in just 2 days, solving React Suspense boundary issues and planning a hydration strategy that works with our existing SPA.
How I Made Foony Work Behind Proxies
How I fixed Three.js WebGL shaders broken by proxy string replacement and simplified Foony's domain strategy (foony.com only) to improve proxy compatibility.
How I Solved Cascading Hash Changes with Import Maps
How I built a Vite plugin using Import Maps to prevent unnecessary file re-hashing when dependencies change, solving a critical production deployment issue.
How I Implemented i18n to 20 Languages in 3 Days
How I translated Foony to 20 languages in just 3 days using a custom 3KB library and a swarm of AI agents.