System & site architecture
The Fallen Archive, the clear picture
Every section is a lens onto one graph. Below: the runtime stack (bottom → top) and the full route map grouped by area, with rendering strategy and build status.
152 entities137 relationships3 statements20 predicates15 traditions0 sourceslivenextplanned
Runtime stack
6. Client
Server-rendered HTML for content + client islands (ego-graph · timeline · story reader · search filter)
5. Next.js 15 (App Router)
React 19 RSC · route handlers · structured data · Vercel cron
4. Delivery
Vercel CDN edge · static webp art served from /public (no image optimizer)
3. Source of truth
SQLite (loreverse.db), committed and bundled read-only into every function, no external database
2. Editorial
Payload CMS 3, schema · drafts/versions · media. Authored locally, shipped as a DB snapshot
1. Reader loop
Supabase (comments + ratings) · Brevo (contact form, weekly feedback digest)
Route map
Discovery
Entry surfaces, the doors in.
/SSR/exploreSSR/searchSSR/artSSR/inspirationsSSR
Home (cinematic, rails, continue)
Discovery hub
Universal search
Gallery wall (editorial best-of plates)
Media inspirations
Explorers
One faceted-browse pattern, filtered by entity type.
/charactersSSR/booksSSR/relicsSSR/religionsSSR/conceptsSSR/idolsSSR/idols/[slug]SSR
Figure Explorer (gods · sages · adversaries)
Sacred-text Explorer
Relics Explorer (sacred & cursed objects)
Tradition Explorer
Concept & symbol Explorer
Archetype Explorer (one idol, many faiths)
Archetype deep-dive (why these are one)
Entity (the atom)
One universal URL for all 28 types, both modes.
/e/[slug]SSR/e/[slug]/graphIsland/e/[slug]/timelineIsland
Encyclopedia Mode (universal page)
Entity-centered ego-network
Entity-centered timeline
Story Mode
Read an entity as an illustrated novel.
/storiesSSR/stories/[slug]SSR/stories/[slug]/[chapter]SSR
Story Library
Story landing
Chapter reader (block-based)
Global Views
The same graph through temporal / spatial / network lenses.
/timelineIsland/graphIsland/mapIsland
Period/event timeline (Sumer→now)
Knowledge graph (Sigma.js)
Map explorer (MapLibre, needs geodata)
Comparison
Driven by tradition-scoped statements & equivalence edges.
/compareSSR
Compare religions & figures
User
Tasteful, depth-oriented progression. Blocked on a writable database.
/meSSR/me/collectionsSSR/me/bookmarksSSR/me/achievementsSSR
Progress & knowledge map
Collections
Bookmarks
Achievements
System
Editorial factory, reader loop + machine interfaces.
/adminCMS/api/*API/contactSSR/cron/weekly-digestCron/architectureSSR
Payload editorial CMS (read-only in production)
REST + GraphQL (auto-generated)
Contact the keeper (Brevo)
Weekly comments & ratings digest
This live architecture map
Canonical entity URL is the universal /e/[slug]; explorers are browse facets that link into it.