Placeholder illustration of a Raspberry Pi circuit board
  Code

Welcome to the four worlds

Why this site exists, how it's built, and why it runs on a Raspberry Pi in my house instead of someone else's cloud.

1 min read

Starter post. Edit or delete me — every post is just a Markdown file in src/content/posts/, or use the editor at /admin.

This site is split into four worlds — Code, Sky, Trail and Sea — each designed to feel like the thing it’s about.

How it’s built

  • Astro static site, Markdown content, zero JavaScript unless a page needs it
  • Served by nginx on a Raspberry Pi at home
  • Published to the internet through a Cloudflare Tunnel — no open ports on my router
  • Every git push builds on GitHub Actions and deploys to the Pi automatically
# the whole deploy, more or less
git push origin main

Adding a new world

The worlds are defined in one registry file. Adding a fifth passion is one command:

npm run new-world woodworking

#meta #homelab #astro

More from Code