Problem
Publish notes and a professional profile with a replaceable identity and quality controls.
My part
End-to-end design and build: D1 data with migrations, Workers API, double opt-in subscription, interface, i18n and deployment.
Key decisions
- Preact instead of React for the islands: about 7 KiB against 69 KiB gzip, measured on a one-button island.
- One CI run per release, no staging and no previews: the direct push to main runs the checks and deploys in the same run.
- Identity by configuration: a build with an alternative identity fails if a single string of mine leaks into the HTML.
- Images live in the repository and go through astro:assets; a missing one fails the build instead of publishing a broken link.
- A shared base is born in the project and moves to core only when it repeats, never ahead of need.
Technologies
Result
Published site with public code, documentation and automated checks: tests, accessibility, JavaScript budget and Lighthouse.
What I learned
- Measure before choosing: the Preact against React figure came from a real island, not an assumption.
- A CI run on every push plus staging made me wait; I cut it to a single run on main that deploys if everything passes.
- Saying something is white-label is easy; keeping it true is the hard part, so a test verifies it.
Cómo construí este sitio: decisiones, presupuestos y un CI que fui simplificando
Del plan a producción en menos de una semana: qué decidí, qué medí y qué se rompió al construir elvinlab.dev desde cero con Astro, Cloudflare y agentes de IA.
Read the note