Directories
¶
| Path | Synopsis |
|---|---|
|
Package addons manages the extension framework — installable addons (plugins, systems, widgets, integrations) with per-campaign enable/disable controls.
|
Package addons manages the extension framework — installable addons (plugins, systems, widgets, integrations) with per-campaign enable/disable controls. |
|
Package admin — database_health.go defines the admin-local contracts the Database page's Health and Backups tabs render.
|
Package admin — database_health.go defines the admin-local contracts the Database page's Health and Backups tabs render. |
|
import_memory_repository.go holds the SQL for what AI Import keeps per campaign: the parts of a split answer, waiting in the tray or applied (ai_import_parts), and a fingerprint of each block applied (ai_import_blocks), both plugin migrations.
|
import_memory_repository.go holds the SQL for what AI Import keeps per campaign: the parts of a split answer, waiting in the tray or applied (ai_import_parts), and a fingerprint of each block applied (ai_import_blocks), both plugin migrations. |
|
aiexport
Package aiexport renders a campaign's owner-scoped content into a single markdown document for pasting into AI tools.
|
Package aiexport renders a campaign's owner-scoped content into a single markdown document for pasting into AI tools. |
|
connector
Package connector lets an AI app (Claude, ChatGPT, Open WebUI, LM Studio) connect straight to one campaign over the Model Context Protocol, look things up and ask for changes, with nothing to copy and paste.
|
Package connector lets an AI app (Claude, ChatGPT, Open WebUI, LM Studio) connect straight to one campaign over the Model Context Protocol, look things up and ask for changes, with nothing to copy and paste. |
|
importer
Package importer parses AI-generated markdown into per-page ParsedPage structs, classifies each (full / defaults / conflict / new category / parse error), and prepares the review-screen data the operator inspects before committing.
|
Package importer parses AI-generated markdown into per-page ParsedPage structs, classifies each (full / defaults / conflict / new category / parse error), and prepares the review-screen data the operator inspects before committing. |
|
importer/htmlconv
Package htmlconv converts sanitized HTML to a Chronicle-shaped ProseMirror JSON document.
|
Package htmlconv converts sanitized HTML to a Chronicle-shaped ProseMirror JSON document. |
|
prompt
Package prompt builds the "Copy AI Prompt" output for the AI Workspace settings tab.
|
Package prompt builds the "Copy AI Prompt" output for the AI Workspace settings tab. |
|
records
Package records lets AI Import reach the campaign features that are not pages: calendar events, day weather, rolling tables, shop stock, carried items, map pins, house rules, the operator's own notes, and Chronicle's generators.
|
Package records lets AI Import reach the campaign features that are not pages: calendar events, day weather, rolling tables, shop stock, carried items, map pins, house rules, the operator's own notes, and Chronicle's generators. |
|
copies.go is what single copies of an item remember: marks ("moonlit"), a quality (fine or poor), who made or harvested them and when, and when they go off.
|
copies.go is what single copies of an item remember: marks ("moonlit"), a quality (fine or poor), who made or harvested them and when, and when they go off. |
|
Package audit provides an audit log plugin that records user actions within campaigns.
|
Package audit provides an audit log plugin that records user actions within campaigns. |
|
loghash provides email hashing for debug-log correlation.
|
loghash provides email hashing for debug-log correlation. |
|
Package backup provides the admin-facing UI for triggering whole-database backups and inspecting prior runs.
|
Package backup provides the admin-facing UI for triggering whole-database backups and inspecting prior runs. |
|
Package bestiary provides the Community Bestiary plugin for sharing homebrew creatures across a Chronicle instance.
|
Package bestiary provides the Community Bestiary plugin for sharing homebrew creatures across a Chronicle instance. |
|
Package calendar - backup.go reads and restores the calendar data a campaign backup carries beyond the calendar's own row and sub-resources: each day's weather, a hand-set moon's mode and marks, and event rolls with their stored nights.
|
Package calendar - backup.go reads and restores the calendar data a campaign backup carries beyond the calendar's own row and sub-resources: each day's weather, a hand-set moon's mode and marks, and event rolls with their stored nights. |
|
calendarai
Package calendarai is the calendar's part of the AI engine (aiplug, ADR-071): the blocks an AI can ask to write onto the calendar (the calendar itself, events, a day's weather, a moon set by hand, a rolled night and Chronicle's generators) and the calendar lookups (the calendar, kinds of weather, events and weather by day).
|
Package calendarai is the calendar's part of the AI engine (aiplug, ADR-071): the blocks an AI can ask to write onto the calendar (the calendar itself, events, a day's weather, a moon set by hand, a rolled night and Chronicle's generators) and the calendar lookups (the calendar, kinds of weather, events and weather by day). |
|
Package campaigns — export.go defines the JSON structure for campaign exports.
|
Package campaigns — export.go defines the JSON structure for campaign exports. |
|
Package crafting keeps a campaign's crafting: the recipes its Directors write, the crafting tags on Armory items, the benches recipes are made at, and the campaign's crafting settings.
|
Package crafting keeps a campaign's crafting: the recipes its Directors write, the crafting tags on Armory items, the benches recipes are made at, and the campaign's crafting settings. |
|
Package cutscenes keeps a campaign's cut scenes: short full-screen moments the Director pushes onto chosen players' screens, in Chronicle and in Foundry.
|
Package cutscenes keeps a campaign's cut scenes: short full-screen moments the Director pushes onto chosen players' screens, in Chronicle and in Foundry. |
|
Package decks keeps a campaign's card decks: hero decks, party decks and event decks.
|
Package decks keeps a campaign's card decks: hero decks, party decks and event decks. |
|
Package designlab provides the admin-only "Design Lab" page.
|
Package designlab provides the admin-only "Design Lab" page. |
|
Package designs is the campaign library of saved designs and the ways an Owner shares them: a share code, a link, or named owners on this instance.
|
Package designs is the campaign library of saved designs and the ways an Owner shares them: a share code, a link, or named owners on this instance. |
|
Package dmscreen serves the DM Screen: a control panel for the people running a campaign (owners and scribes), opened from the campaign top bar.
|
Package dmscreen serves the DM Screen: a control panel for the people running a campaign (owners and scribes), opened from the campaign top bar. |
|
Package encounters stores the fights a DM plans on a page (an Adventures trial, a location, any page) so Foundry can load one on game night.
|
Package encounters stores the fights a DM plans on a page (an Adventures trial, a location, any page) so Foundry can load one on game night. |
|
block_registry.go provides a self-registering system for entity page block types.
|
block_registry.go provides a self-registering system for entity page block types. |
|
cardborders
Package cardborders is Chronicle's library of card borders for the hero creator's stage look.
|
Package cardborders is Chronicle's library of card borders for the hero creator's stage look. |
|
herochangeschema
Package herochangeschema holds the migration for when players may change their hero's picks.
|
Package herochangeschema holds the migration for when players may change their hero's picks. |
|
layoutschema
Package layoutschema holds the migrations for a category's named page layouts.
|
Package layoutschema holds the migrations for a category's named page layouts. |
|
pinschema
Package pinschema holds the migration for the pages the Director pins for everyone on the campaign home.
|
Package pinschema holds the migration for the pages the Director pins for everyone on the campaign home. |
|
practiceschema
Package practiceschema holds the migration for a player's practice heroes.
|
Package practiceschema holds the migration for a player's practice heroes. |
|
Package fieldrules holds two homebrew tools a campaign builds for itself in the system book's Homebrew tools: worked-out rules (a field's value follows another field through a table, such as a guild rank from echelon) and local words (what a place or an era calls a coin, a rank or any other word).
|
Package fieldrules holds two homebrew tools a campaign builds for itself in the system book's Homebrew tools: worked-out rules (a field's value follows another field through a table, such as a guild rank from echelon) and local words (what a place or an era calls a coin, a rank or any other word). |
|
campaign_binding.go — the Foundry module's side of the per-campaign update modes.
|
campaign_binding.go — the Foundry module's side of the per-campaign update modes. |
|
Package homebrew keeps a campaign's Homebrew Workshop recipes: parts (the everyday widgets and the kinds other plugins register) wired together by When/Then rules, saved as one document per recipe.
|
Package homebrew keeps a campaign's Homebrew Workshop recipes: parts (the everyday widgets and the kinds other plugins register) wired together by When/Then rules, saved as one document per recipe. |
|
Package maps provides the interactive maps addon for campaigns.
|
Package maps provides the interactive maps addon for campaigns. |
|
Package media manages file uploads, storage, and serving for Chronicle.
|
Package media manages file uploads, storage, and serving for Chronicle. |
|
handler.go provides HTTP endpoints for the NPC gallery.
|
handler.go provides HTTP endpoints for the NPC gallery. |
|
campaign_update_repository.go — SQL for campaign_package_updates.
|
campaign_update_repository.go — SQL for campaign_package_updates. |
|
Package pageblocks stores the content of the layout blocks a DM makes in place on a page: the Read-aloud box, the Table, the Steps list and the Map.
|
Package pageblocks stores the content of the layout blocks a DM makes in place on a page: the Read-aloud box, the Table, the Steps list and the Map. |
|
Package pagetests is the Tests page block: a long effort the party makes (a montage, a chase, a negotiation) and the result it ended in.
|
Package pagetests is the Tests page block: a long effort the party makes (a montage, a chase, a negotiation) and the result it ended in. |
|
Package playerchanges is "What players changed": a record of every change a player makes to a page (a sheet field, a page's title or text, a removed page), by hand or through their AI, and the owner's page for searching it and undoing a change.
|
Package playerchanges is "What players changed": a record of every change a player makes to a page (a sheet field, a page's title or text, a removed page), by hand or through their AI, and the owner's page for searching it and undoing a change. |
|
Hand-written SQL for the notice-board tables.
|
Hand-written SQL for the notice-board tables. |
|
Package restore provides the admin-facing UI for restoring a previous backup.
|
Package restore provides the admin-facing UI for restoring a previous backup. |
|
Package rolls is the campaign's roll log: rolls made at Chronicle's Table tab, rolls other apps report (Foundry), and rolls other plugins make on the server (crafting).
|
Package rolls is the campaign's roll log: rolls made at Chronicle's Table tab, rolls other apps report (Foundry), and rolls other plugins make on the server (crafting). |
|
Package rolltables stores each campaign's own rolling tables: named lists of weighted entries a DM rolls on at the table.
|
Package rolltables stores each campaign's own rolling tables: named lists of weighted entries a DM rolls on at the table. |
|
Package rumours is the Rumours page block: what the party has heard about a page, who said it, how sure they were, what the Director knows is true and what the party has decided to believe.
|
Package rumours is the Rumours page block: what the party has heard about a page, who said it, how sure they were, what the Director knows is true and what the party has decided to believe. |
|
Package sessions provides the game session tracking addon for campaigns.
|
Package sessions provides the game session tracking addon for campaigns. |
|
Package settings manages site-wide configuration and storage limit overrides.
|
Package settings manages site-wide configuration and storage limit overrides. |
|
Package smtp provides outbound email functionality for Chronicle.
|
Package smtp provides outbound email functionality for Chronicle. |
|
egress_sanitize.go — defense-in-depth sanitization on /api/v1/* response payloads.
|
egress_sanitize.go — defense-in-depth sanitization on /api/v1/* response payloads. |
|
Package systemstate keeps per-page game-system state: small JSON documents a system package's widget reads and writes for one entity (for example a negotiation tracker on an NPC page).
|
Package systemstate keeps per-page game-system state: small JSON documents a system package's widget reads and writes for one entity (for example a negotiation tracker on an NPC page). |
|
Package timeline provides the timeline addon for campaigns.
|
Package timeline provides the timeline addon for campaigns. |
|
Package trackers keeps a campaign's trackers and clocks: kinds its Directors define, placed on pages, each with a dated log whose sum is the tracker's value.
|
Package trackers keeps a campaign's trackers and clocks: kinds its Directors define, placed on pages, each with a dated log whose sum is the tracker's value. |
|
Package transformations keeps layers on a hero: a vampire's bite, rising as a revenant, a curse, a polymorph.
|
Package transformations keeps layers on a hero: a vampire's bite, rising as a revenant, a curse, a polymorph. |
|
Package vault_import turns a .zip of an Obsidian vault (or any folder of Markdown notes, including Notion and Trilium Markdown exports) into Chronicle pages.
|
Package vault_import turns a .zip of an Obsidian vault (or any folder of Markdown notes, including Notion and Trilium Markdown exports) into Chronicle pages. |
|
DOM-id helpers for the re-render seam: a host's widget block lives inside a stable wrapper element so a bind/unbind can target it for an in-place HTMX swap; the picker fragment loads into a separate slot inside that wrapper.
|
DOM-id helpers for the re-render seam: a host's widget block lives inside a stable wrapper element so a bind/unbind can target it for an in-place HTMX swap; the picker fragment loads into a separate slot inside that wrapper. |
Click to show internal directories.
Click to hide internal directories.