This website
A personal site with a public portfolio and blog, plus a password-protected hub for friends and family.
AstroCloudflare WorkersWorkers KVTypeScript
The idea
I wanted one place that serves two audiences: anyone who wants to see what I work on, and the small group of people who share my self-hosted services.
How it works
- Public pages are prerendered at build time and served as static assets from Cloudflare’s edge.
- Pages under
/hubare rendered on demand by a Worker. A middleware checks the session before anything private renders. - Sessions are stored in Workers KV and tied to an HTTP-only cookie.
- The Minecraft card queries the server’s public status so the family can see who is online without opening the game.