Bulletin system architecture

Bulletin system architecture An architecture diagram generated by Archify. Browser · guests, members, staff · Architecture component Browser guests, members, staff DarkAuth (mock) · OIDC identity provider · Architecture component DarkAuth (mock) OIDC identity provider CDN (mock) · caches guest pages only · Architecture component CDN (mock) caches guest pages only bulletin.* · forum origin · Caddy proxy: one origin per trust level bulletin.* forum origin staff.* · admin origin · Caddy proxy: one origin per trust level staff.* admin origin files.* · CSP sandbox, nosniff · Caddy proxy: one origin per trust level files.* CSP sandbox, nosniff plugins.* · plugin iframe apps · Caddy proxy: one origin per trust level plugins.* plugin iframe apps user-app · Astro SSR, renders in-process · Architecture component user-app Astro SSR, renders in-process user-api · all member writes · Architecture component user-api all member writes staff-app · React SPA · Architecture component staff-app React SPA staff-api · admin writes, CDN purge · Architecture component staff-api admin writes, CDN purge S3 (mock) · private attachments · Architecture component S3 (mock) private attachments plugin-host · nsjail sandboxes + broker · Untrusted plugin code plugin-host nsjail sandboxes + broker Postgres 18 · only stateful service: core, pii, pgboss, plugin_<id>, outbox · Architecture component Postgres 18 only stateful service: core, pii, pgboss, plugin_<id>, outbox workers · pg-boss jobs, outbox relay · Architecture component workers pg-boss jobs, outbox relay Outbound services · SMTP, push, webhooks, oEmbed · Architecture component Outbound services SMTP, push, webhooks, oEmbed guest pages OIDC sign-in on miss pages /api/* SPA /api/* presigned GET /apps/* read role writes writes blobs (local) plugin roles outbox, jobs deliver Caddy proxy: one origin per trust level Untrusted plugin code Legend Frontend Backend Database Cloud Security External