Monorepo for the Vismay viz engine and the apps it powers.
apps/vizmaya-fyi/— the vizmaya.fyi app (geopolitics, economics, tech): scroll-synced maps, charts, and prose. Currently the only app with the full story layer (fs|dbcontent via@vismay/content-source) and the offline render pipeline (PDF / video / audio / share-card).apps/admin/— the central admin console (vismay.xyz) for composing and managing content across apps and verticals; routes per app/epic (vizmaya,coke-studio,energy-profile,epstein,fifa-wc26, …). All AI generation routes through@vismay/ai-gateway.apps/vizf1/— VizF1:web+ ingestionworker+brandtokens. Driver/team stories built from F1 race data.apps/viznba/— VizNBA:web(Feed, For you, Calendar, Editorial on ESPN's free public API) +worker— NBA news ingestion (RSS → Jev topic classification → Claude summary → team / player / coach tagging against an ESPN-seeded roster). Seeapps/viznba/README.md.apps/footshorts/— Footshorts, an InShorts-style football news app:web+mobile+ ingestionworker. Swipe AI-summarized cards, follow leagues/teams/players.apps/catalog/—@vismay/catalog: browses every registeredVizModuleacross verticals with a live preview and itsadminFormschema, for editors composing stories.
packages/viz-engine/— the viz engine: module registry, slot dispatchers, core viz modules, charts, and the capture pipeline. Imported by every consumer app. (Originally planned as a stub; the engine has since moved here out ofapps/vizmaya-fyi/.)packages/content-source/— thefs|dbstory reader, story config types and resolver, and the render dispatch handlers (PDF / video / audio / share). Used byapps/vizmaya-fyi/.packages/dc-editions/— the AI Data Centers daily edition (Doom v Boom): types, assembly, charts and thedc_editionsreaders/writers. Used byapps/vizmaya-fyi/andapps/admin/only; kept out ofcontent-sourceso edition changes don't rebuild every app.packages/html-stories/— agent-authored HTML stories: any agent writes one finished, self-contained HTML page and it is hosted as-is atvizmaya.fyi/s/<slug>,footshorts.com/s/<slug>,vizf1.com/s/<slug>, VizNBA's/s/<slug>or the travel site's/s/<slug>(private to one trip, behind its password) (one table, scoped byapp_slug). Storage, metadata/lint helpers, each site's chrome, the per-app agent brief (the footshorts one carries a match context: facts, timeline, insights, commentary, schedules, table; the vizf1 one a race context: results, lap timing, telemetry, strategy and standings for any sessions and drivers, via@vismay/f1-viz/race-context; the viznba one a game context: ESPN box scores for any games; the travel one a trip context: the itinerary and curated photos' URLs) the shared serve/publish/brief route handlers, and the editorials' SEO (seo.ts: canonical, NewsArticle JSON-LD and missing social tags injected when served, plus the sitemap / RSS helpers each site'ssitemap.tsand/editorial/rss.xmluse; strategy indocs/seo-editorial-strategy.md). Separate from the viz-engine story pipeline; used byapps/vizmaya-fyi/,apps/footshorts/web/,apps/vizf1/web/,apps/viznba/web/,apps/travel/web/andapps/admin/.packages/randomizer/— the story randomizers: Vizmaya's Desk, Atlas and Epics, Ledger (one past financial crime from a committed catalogue of 240, researched as an autopsy: an era, a sector, a typology, a case and a lens; gated), the OCW Desk (one MIT OpenCourseWare lecture-notes file a day: a field, a topic, a course and a file read live from MIT Learn's API, plus a lens; a Vercel cron spins it each morning), the Landmark Desk (one piece of prize-winning research a day: a field, a prize, an era, a laureate read live from the Nobel Prize API or Wikidata, the paper or book the award rewarded resolved through Wikidata, OpenAlex, Open Library and Unpaywall and labelled when it is only representative, plus a lens; a cron spins it each morning too), The 100 Desk (one person a day from Michael Hart's ranking of the most influential persons in history: a domain, an era, a person from the committed list and a lens, with a live profile from Wikidata, Wikipedia and its pageviews; a cron spins it each morning too), the Evidence Desk (one study a day from an annotated collection of 83 papers on social media's effects: a theme, a design, a study and a lens, with its live OpenAlex citation record, the page held to what the design can show; a cron spins it each morning too), the Frontier Desk (one arXiv paper a day from the ones AI Daily's papers job keeps indc_papers: an area, a window, a paper read live from that table and a lens, with its live arXiv and OpenAlex record, the gate's fields treated as leads and the preprint as a claim; a cron spins it each morning too), the Curious Desk (one approved claim a day from the provenance-first claim pipeline inpackages/curious-pipeline: an era, a theme, a claim graded A to E from its sources and a lens, with a live record from Crossref, Google Books, Wikidata and the Wayback Machine; gated; a cron spins it each morning too), the Football Desk for Footshorts (a tournament, a team, an angle and a freshness, weighted by the team's live footshorts news), and the NBA Desk for VizNBA (a conference, a franchise, an angle and a freshness, weighted by the team's VizNBA news, with its games from ESPN). Datasets, the one shared draw (heat weighting, region, tradition and tournament balancing, quotas, 30/90 day repeat blocks, locks), the sections a spin adds to the HTML story brief, the research stub, and the spin log / Desk heat / footshorts and VizNBA news readers and writers. Used bypackages/html-stories/,apps/admin/and the MCP server.packages/curious-pipeline/— the Curious Desk's provenance-first claim pipeline: a source policy registry, polite fetching, collectors for GDELT, the Library of Congress, Europeana and Gallica, candidate detection, atomic-claim extraction with verbatim evidence quotes, lineage-aware dedupe, explicit-feature grading (A to E), citation chasing on Crossref, Google Books and Wikidata, and the Supabase store the admin review queue and the desk read. Used byapps/vizmaya-fyi/scripts/curious/andapps/admin/. Plan:docs/curious-randomizer-plan.md.packages/viz-admin/— the admin form-schema renderer (AdminFormFields) for the Compose / catalog UIs.packages/admin-core/— shared admin UI primitives (login form, logout button, tabs).packages/ai-gateway/— one wrapper around the Vercel AI Gateway for all text + image generation. New AI features import from here, never from a provider SDK. Seepackages/ai-gateway/README.md.packages/eval-entities/— end-to-end LLM-as-judge evaluation for entity tagging, shared across apps that ingest and tag articles.packages/ui/— stub. Will host shared branding (logo, theme provider).
verticals/{f1-viz,footshorts-viz,starship-viz}/— per-verticalVizModulecollections. Each module is aComponentplus a co-locatedsamplefixture andadminFormschema, registered into the engine and browsable via thecatalogapp.
pnpm install
pnpm --filter vizmaya-fyi dev
pnpm --filter vizmaya-fyi build
pnpm --filter vizmaya-fyi typecheck
pnpm --filter vizmaya-fyi lintSwap vizmaya-fyi for any app name to target a different app. The workspace also nests app sub-packages (apps/vizf1/*, apps/viznba/*, apps/footshorts/*) — see pnpm-workspace.yaml.
Every app's vercel.json runs scripts/vercel-ignore.mjs as its Ignored Build Step. An app builds only when a file it can reach changed: its own directory, the workspace packages it depends on, its Tailwind @source dirs, or the root lockfile/config. Docs and tests don't count. On previews only the PR's own diff counts, so merging main into a branch doesn't rebuild everything. travel, umami, kidzovo and vizf1 build previews only for changes in their own directory (production always builds); add [preview:travel] or [preview:all] to a commit message to force one. Keep code used by one or two apps out of content-source (see packages/dc-editions/), since every change there reaches seven apps.
Per-app context (active initiatives, env vars, render wiring) lives in each app's CLAUDE.md, e.g. apps/vizmaya-fyi/CLAUDE.md and apps/admin/CLAUDE.md.