Docs
How Dunjii works, page by page: the files behind each feature, the settings they take, and what prints.
Getting started
- Start here
How a Dunjii workspace is organized, and the steps from a blank page to a printed session.
Organizing
- Workspace and campaigns
Your account has one workspace, and a campaign is a folder in it for your sessions and your party.
- Sessions
A session is a folder inside a campaign for the prep of one game, with a summary, scenes, NPCs and maps.
- The Library
The Library is a folder for the NPCs, scenes, spells and items you use in more than one campaign.
- Sourcebooks
Dunjii includes the rules reference for D&D, Draw Steel and Pathfinder as read-only pages you can browse, search, link to and copy into your workspace.
- Search and filters
Search finds documents and Sourcebook pages by name or by what they say, and filters narrow the results by type, campaign, session or a property you choose.
- Folder settings
A folder's metadata.md says what the folder is, which game it is written for, and how everything inside it looks.
Writing
- The editor
Write a page in Edit, where markdown shows formatted as you type and Dunjii saves your changes every 15 seconds.
- New documents
Make a page, folder, map or typed document in any folder, or bring in files you already have.
- Stat blocks
Write a creature's stat block for D&D 5e, Draw Steel or Pathfinder 2E, copy one from a Sourcebook, and roll its dice on the page.
- Random tables
A random table is a page of results that you roll on in View, or draw from with /random while you write.
- Images and page art
Add pictures to a page, place them anywhere on the printed sheet with the text wrapping around them, and credit the artist.
- Maps
Draw a map of a dungeon, cave or village in Dunjii, number its areas, and show it in your session pages.
Layout and printing
- Printing
Print one page, a whole folder or a list of pages, on the paper, margins and footer you choose.
- Themes
A theme sets the paper, fonts and colors of your pages on screen and in print, for a folder and everything in it.
- Page layout
How Dunjii sets a document into columns and pages, and the settings and markers that change where the text goes.
- Card sheets
Print spells, items and abilities as cards your players keep in front of them.
- Coin sheets
Print portraits and tokens as round or square coins to cut out and put on the table for your creatures and NPCs.
- Battle maps
Print a gridded battle map at tabletop scale on a home printer, split across pages on the grid lines.
Sharing
- Share links
Make a page Public or Secret, copy its link for your players, and review everything you have shared on the Shared page.
- What players see
Players read your Public and Secret pages in a read-only view, in any browser, with no account.
- Co-GMs
Give another GM read and write access to your whole workspace or to some of its top-level folders.
Your files
- Version history
Dunjii saves a version of a file each time it changes, so you can step back through a document's earlier versions and restore one.
- Deleted files
A file you delete stays on the Recently deleted list for 7 days, or 90 days on Pro, and you can restore it from there.
- Download and import
Download a folder as a ZIP or a single file as itself, and add files from your computer by dragging them onto a folder.
- Desktop app and sync
The Dunjii app for Mac and Windows keeps a folder on your computer in sync with your workspace, so you can edit your files in Obsidian or any other editor.
Agents
- Local agents
Point Claude Code, Codex or another coding agent at your workspace through the dunjii command.
Reference
- Markdown in Dunjii
Dunjii pages are GitHub-flavored markdown with a few additions for running a game. Each one still reads as plain text in any other editor.
- Document types
The value of type in a document's frontmatter, for each game Dunjii supports, and the sections each type suggests.
- CLI reference
Every dunjii command and flag, from the command's own help.
For AI assistants
Every page here is also markdown: add .md to its address. llms.txt lists them all, and llms-full.txt holds every page in one file.