Live
This website
Plain HTML and CSS, self-hosted on a Raspberry Pi.
Kept simple
No framework, no site builder, no templates to fight. Every page is a plain HTML file, sharing one stylesheet. JavaScript runs the game and the highscore board on the game page, and elsewhere just a couple of small scripts: the one behind the "Hack my website" button in the corner, and the one that asks about analytics cookies.
Almost nothing loads from anyone else's servers: even the pixel font is served from here. The exceptions are Google Analytics, which counts visits so I can see which pages get read, and the "try it" buttons on the Fun stuff page, which call the API you asked for, and only once you press one. In the EU, the UK and Switzerland, Analytics asks before it sets any cookies, and anyone can turn it off with Cookie settings at the bottom of the page. Privacy has the details.
Hosted at home
The site runs on a Raspberry Pi 5, served by nginx. Visitors reach it through a Cloudflare Tunnel, which the Pi opens outward to Cloudflare, so there are no open ports on the home network for anyone to find.
The STELLA HOSTIS highscores live on the same Pi: a small Python service, using only Python's standard library, that saves each run to a SQLite database. nginx sits in front of it and limits how fast anyone can submit. The same service also answers the live readout of the Pi's temperature, fan and uptime that "Hack my website" opens on the homepage.
Publishing
One PowerShell script publishes everything. It adds the shared header and footer to every page, stamps each stylesheet and image link with a fingerprint of the file so nobody is ever served a stale copy, and uploads the lot to the Pi. When I build a new version of the game in Unity, the editor copies it into the site and runs that script itself.