How seangcs27/dossier works
Dossier is a multi-game fan reference delivered as a static Astro site and an Arknights browser-extension popup. The main visitor flow is route selection, then a game roster or schedule, and—where supported—a detail page. Build-time index scripts assemble the static data consumed by the site and popup. README statements establish the game capabilities and data sources; sampled source confirms route dispatch, the Arknights detail data reads, and the extension’s local-data flow. Other view and pipeline internals are represented at documented subsystem level where source was not sampled.
Main entry points: web/index.ts View dispatcher · build-operator-index.mjs Game index builders · popup/index.ts Extension popup · grid.ts Operator grid
Components 21
Site navigation
- Static site
site/src/lib/page.ts - Route parser
src/web/router.ts - View dispatcher
src/web/index.ts - Shared shell
src/web/shell.ts
Arknights reference
- Operator grid
src/web/views/grid.ts - Operator dossier
src/web/views/detail.ts - Event schedule
src/web/views/events.ts
Other game references
- Endfield roster
src/web/views/endfield.ts - PTN roster
src/web/views/ptn.ts - Sinner dossier
src/web/views/ptn-detail.ts - hololive Dreams
src/web/views/holodori.ts - Dreams pages
src/web/views/holodori-cards.ts - FGO roster
src/web/views/fgo.ts
Data preparation and access
- Operator index
src/web/operator-index.ts - Payload access
src/shared/api/hella-api.ts - Operator cache
src/shared/cache/operator-cache.ts - Game index builders
scripts/build-operator-index.mjs
Browser extension
- Extension popup
src/extension/popup/index.ts - Popup renderer
src/extension/popup/render.ts
Other components
- Visitor
- Extension user
Connections 32
- Visitor → Static site: opens
- Static site → Route parser: hosts
- Route parser → View dispatcher: selects route
src/web/index.ts - View dispatcher → Shared shell: initializes
src/web/index.ts - View dispatcher → Operator grid: mounts
src/web/index.ts - View dispatcher → Operator dossier: mounts
src/web/index.ts - View dispatcher → Event schedule: mounts
src/web/index.ts - View dispatcher → Endfield roster: mounts
src/web/index.ts - View dispatcher → PTN roster: mounts
src/web/index.ts - View dispatcher → Sinner dossier: mounts
src/web/index.ts - View dispatcher → hololive Dreams: mounts
src/web/index.ts - View dispatcher → Dreams pages: mounts
src/web/index.ts - View dispatcher → FGO roster: mounts
src/web/index.ts - Operator grid → Operator index: filters roster
src/web/views/grid.ts - Operator dossier → Operator cache: loads payload
src/web/views/detail.ts - Operator cache → Payload access: fetches data
src/shared/cache/operator-cache.ts - Game index builders → Operator grid: builds indexes
- Game index builders → Operator dossier: builds payloads
- Game index builders → Event schedule: builds schedule
- Visitor → Extension user: uses popup
- Extension user → Extension popup: opens
- Extension popup → Popup renderer: renders views
src/extension/popup/index.ts - Extension popup → Payload access: binds image mirror
src/extension/popup/index.ts - Game index builders → Extension popup: bakes local data
- Visitor → Operator grid: searches and filters
- Visitor → Operator dossier: opens dossier
- Visitor → Event schedule: checks events
- Visitor → Endfield roster: browses roster
- Visitor → PTN roster: browses roster
- PTN roster → Sinner dossier: opens sinner
- Visitor → hololive Dreams: browses content
- Visitor → FGO roster: searches roster