how this runs
Platform
How the site is built and what happens to a request on its way from the browser to the data.
right now
- API status
- ok
- API version
- e2f9b1fe
- API uptime
- 26 d 22 h
- database
- ok
the path of a request
Cloudflare
DNS and the tunnel. No port on the box is open to the internet: the traffic only comes in through Cloudflare.
k3s
The cluster on one small ARM box at Hetzner: a pod for the site, a pod for the API, and Redis next to them.
Fastify
The session, a CSP nonce of its own for every request, the language taken from the path, and the /api proxy.
React
The route loads its modules, fetches its data up front and returns finished HTML together with the query cache.
Hono
A separate Hono app: the schema sits next to the handler, and the OpenAPI document comes from it too.
Redis
The sessions live here, so the language and the theme survive a restart of the app.
Browser
The browser picks up the finished HTML and the cache, so it never asks for the same data twice.