Files
CatoandClaude Opus 5.5 12d1080388 feat: the sites engine v0 — one process serves every data site by domain
Reads Loki's sites / site_versions / site_domains with a SELECT-only role and
renders the published version with @bitbaum/sitekit's SiteDocument and the
site's theme (siteThemeCss + self-hosted faces). Answers:

- <slug>.orangecat.ch and verified own domains → the published version
- sites.orangecat.ch/<site id>/… → the preview version, never indexed
- /_sites/ask → Caddy's on-demand TLS check, falling back to hirnli's
- localhost:<port>/ → the deploy's health probe

A row that does not parse is a 404 and a log line. sitekit installs from the
kits commit until 0.8.0 is on npm.

Step 3 of loki ADR-0001 (the sites platform).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 11:42:16 +01:00
..