< THE FIRE

< All projects

LIVE 2026

my-place

A hand-built personal website, self-hosted on a Raspberry Pi.

The site you are on. A pixel-art room drawn by a Python script, an invite-only chat by the fire, and this showcase. Server-rendered with FastAPI, no front-end framework, running in containers on a Raspberry Pi 5 behind a Cloudflare Tunnel.

The problem

I wanted a personal website that is my own work from end to end, not a template: something with character, that loads fast on a phone, works without JavaScript, and that I host and secure myself.

It also had to stay small enough for one person to understand completely, from the drawing of the room down to the reverse proxy.

The approach

Pages are rendered on the server with FastAPI and Jinja templates, styled with plain CSS and a small set of design tokens. The room on the home page is one inline SVG of about 1,300 rectangles, generated by a Python script with a fixed random seed, so the art lives in code and can be rebuilt and tested.

The site runs in Docker Compose on a Raspberry Pi 5. Caddy sits in front as the reverse proxy, and a Cloudflare Tunnel connects it to the internet, so the home network has no open ports at all.

Features

Tech and decisions

Server-rendered pages, no front-end framework
Fast first load, works without JavaScript, nothing to build. JavaScript is used only for the chat.
SQLite and plain folders
One small site, one process: a single database file is simple to run and to back up (with SQLite's online backup).
Scene generated from Python
A thousand hand-placed rectangles are unmanageable; a script with a fixed seed is reviewable, and a test checks the SVG is up to date.
Caddy as reverse proxy
A short, readable config, WebSockets without extra setup, and it serves static demo sites directly.
Cloudflare Tunnel instead of port forwarding
No open ports on the home network; TLS ends at Cloudflare and the tunnel itself is encrypted.
pytest for everything
Access rules, headers, the chat protocol and the generated art are all covered by automated tests.

What I'd do next

Links

The source code is not public.