Internals
How sitehoster works inside. None of this is needed to run a site, it is here so you can see the whole picture, and so the design has one place to live.
Topics
Client →
Every file the client is built from, the one command you run and the shared toolkit behind it, with their exports and switches.
Server →
The pieces running on the server, Caddy out front and a localhost-only API behind it.
Automation →
The engine that reads the on-page markers and rewrites shared blocks, navigation and data.
Synchronisation →
How the client compares two metadata trees and pushes only the files that differ.
Security →
One public listener, one secret, and a surface kept as small as it can be.
Tools →
The local views built from the mirrored access logs, server stats and automation runs.