A self-hosted home for your tabletop RPG world.
Lore, heroes, calendars, maps, shops and game nights for the GM and the players, on your own server.
Chronicle is built for one table and one world at a time. Nothing is public unless you make it public, there is no paywall, and the data lives in your own MariaDB.
Your own months, weekdays, moons, seasons and eras, from a ready-made calendar, a generated one or the real-world calendar. Events repeat by rule, weather follows the climate, pages can keep a version for each era, and the sky over the month shows the sun and moons at the hour it is. Drag the time of day and the sky follows.
The Customizer keeps the campaign's look, categories and home pages in one place. Start from one of eight whole looks, then change colours, type, buttons, the header and the sidebar. Everything waits in a draft until you save it, so players never see a half-finished change.
- Game nights: plan sessions on the calendar, run a date poll, see who's free, and collect RSVPs. A Session event on the calendar becomes a game night in one click, and the home's Coming up card shows what's next.
- DM Screen: the party, the world's date and weather, conditions, NPC reveals, waiting shop and stash requests, and an Adventures tab for the DM team's own pages.
- Armory, shops and crafting: item galleries, a walk-in shop room players buy from, shared party stashes with GM-approved moves, and crafting recipes made at benches.
- Dice, trackers and tables: 3D dice whose set, colour and crits each player picks, counters and clocks kept on pages, and rolling tables.
- Notes: notes on any page, private or shared with the GM or chosen players, with version history. Every page keeps its history, and deleted pages wait in Trash.
- Timeline: a zoomable timeline of events, grouped into lanes.
- Bring your world in: import an Obsidian vault or a Notion or Trilium export.
- Foundry VTT: the Chronicle Sync module keeps journals, characters, maps, shops and the calendar in step both ways.
- Game systems: Draw Steel and D&D 5e install from Site admin > Game systems & modules.
- Sign-in: two-factor codes, one outside OpenID Connect provider, and guest codes that let someone join one campaign with just a name.
- REST API: per-campaign keys for pages, maps, calendar, media and sync. See
docs/api/openapi.yaml.
With Docker:
git clone https://github.com/keyxmakerx/chronicle.git
cd chronicle
export SECRET_KEY=$(openssl rand -base64 32)
export DB_PASSWORD=your-secure-password
export MYSQL_ROOT_PASSWORD=your-root-password
docker compose up -dChronicle is then at http://localhost:8080. The first person to register becomes the site admin. Migrations run on startup.
For production, backups, upgrades and rollback, read docs/deployment.md.
Run from source
Needs Go 1.27+, MariaDB 10.11+ and Redis 7+ (Node.js only to rebuild the editor bundle).
git clone https://github.com/keyxmakerx/chronicle.git
cd chronicle
make generate # templ + tailwind; generated files are not committed
make test-db-up # MariaDB on port 13306 without Docker (user root, no password)
mysql -h 127.0.0.1 -P 13306 -u root -e 'CREATE DATABASE chronicle'
redis-server --daemonize yes
export DB_HOST=127.0.0.1:13306 DB_USER=root DB_PASSWORD= DB_NAME=chronicle
export SECRET_KEY="$(openssl rand -base64 32)"
make run # http://localhost:8080; migrations run on startupChronicle reads its settings from the environment only; .env.example lists them. To use your own MariaDB, point DB_* at it and create the database first. The first account to register becomes the site admin.
make help # every command
make run # run the server from source
make test # all tests
make lint # golangci-lint
make generate # regenerate Templ and TailwindChronicle is a Go server (Echo, Templ, HTMX) with MariaDB and Redis. Features live in plugins under internal/plugins/, game systems install as packages, and reusable UI blocks are widgets under internal/widgets/. .ai/architecture.md has the full picture.
| Layer | Technology |
|---|---|
| Backend | Go 1.27, Echo v5 |
| Templates | Templ |
| Frontend | HTMX, Alpine.js, Tailwind CSS |
| Editor | TipTap |
| Maps and timeline | Leaflet, D3 |
| Data | MariaDB 10.11, Redis 7 |
To build your own game system, widget, content pack or API app, start at docs/build/.
Chronicle is pre-alpha. Bug reports and ideas are welcome as issues. Setup, tests and pull request expectations are in CONTRIBUTING.md.
We studied World Anvil, Kanka, LegendKeeper and Obsidian while building it; Chronicle's design and code are its own.
GNU Affero General Public License v3.0.
Screenshots are from a demo campaign running on Chronicle's own code.








