Notes
Things worth writing down
Write-ups and how-tos from building on the web: what worked, with the code.
Free accessibility checks on every push
axe and Playwright on GitHub Actions, run on every page in both themes: free, about three minutes, and it caught real bugs a manual check missed.
- Accessibility
- Playwright
- GitHub Actions
- Testing
4 min read
Publish in Sanity, rebuild on Vercel
A filtered Sanity webhook calling a Vercel deploy hook, so publishing content rebuilds the static site, and drafts and unused types don't.
- Sanity
- Vercel
- Webhooks
- CI/CD
2 min read
Generated share images, no uploads
Replace hand-made Open Graph images with ones generated from each page's title: free, open source, on brand, and painless across many locales.
- Open Graph
- SEO
- Astro
- Next.js
- Sanity
10 min read
Build pages in Sanity, not in code
A typed page builder with Sanity and Astro: every page is a document made of designed blocks, one route renders them all, and TypeScript guards the seams.
- Sanity
- Astro
- TypeScript
- CMS
4 min read
A hotel sales agent that can't make up prices
Designing a WhatsApp sales agent for hotels where the model understands and phrases, while code owns prices, dates and leads, and evals gate every change.
- AI
- LLMs
- RAG
- LangGraph
3 min read
Big uploads straight to storage with signed URLs
How a healthcare app uploads large patient videos straight to cloud storage with short-lived signed URLs, so the API never touches the bytes.
- Node.js
- Google Cloud
- Security
- NestJS
2 min read
Tracking thousands of vehicles live with Redis
Thousands of drivers reporting every few seconds: Redis geo sets, H3 hexagons, atomic updates and pub/sub for a live map and fast dispatch.
- Redis
- Real-time
- Geospatial
- WebSockets
3 min read