
DungeonMaster AI
Your pocket Dungeon Master, powered by Gemini. A web app for D&D 5e players and DMs with a character creator, AI dungeon generator, combat tracker, monster builder, loot generator, dice roller, and more.
What is it?
A pocket Dungeon Master for D&D 5e, powered by Gemini. It's a web app for players and game masters that brings together in one place what you usually have scattered across PDFs, spreadsheets and standalone apps: a character forge, a dungeon and settlement architect with AI-generated maps, a bestiary, a loot generator, a battle tracker, a campaign journal and a dice roller. Everything is organised by campaign so nothing gets lost between sessions.
Why I built it
Prepping a session as a DM takes hours: maps, encounters, treasure, NPCs with names... and at the table you always get caught with something you hadn't prepared. I wanted a tool that would do the heavy lifting of improvising with AI without taking control of the story away from the DM, and that would also let players create and keep their characters.
How it works
Modules
| Module | What it does |
|---|---|
| Character Forge | Races, classes, backgrounds and alignment; ability scores by rolling, standard array or 27-point point buy; equipment, armour, cantrips and spells, animal companion. The AI writes the backstory and generates the portrait, and both can be refined with instructions |
| World Architect | Dungeons (theme, room count, difficulty, trap density, secret rooms) and settlements (type, atmosphere, intrigue, hidden places), with an AI-generated map and per-room images |
| Monster Menagerie | Custom monsters with a full stat block, generated concept and image |
| Treasure Trove | Loot by rarity: shop inventory, chest contents or a single magic item, with an item image |
| Battle Tracker | Initiative, hit points and encounter difficulty by XP and party level; the AI suggests combat tactics and generates balanced encounters from party size, level, difficulty and terrain |
| Chronicles & Quests | Session journal: paste your raw notes and the AI summarises them and extracts the notable NPCs; from there it proposes quest hooks for the next session |
| Campaign Roster | Everything saved (heroes, worlds, battles, monsters, loot) per campaign, with the option to move any record from one campaign to another |
| Dice Tower | Dice roller |
Campaigns, account and AI
- You sign in with your account and everything is stored in Supabase, with RLS policies so each user only sees their own data.
- It works with your own Gemini API key, which you get from Google AI Studio and save in Settings: no middleman and no cost on my side.
- Text is generated by Gemini 3 Flash and images (portraits, maps, monsters, items) by the Gemini 3 Pro image model.
- You can choose whether generated content comes out in Spanish or English.
Stack
- React 19 + TypeScript + Vite, with a custom rules engine to compute the character sheet
- Gemini (text and image) through the official
@google/genaiSDK - Supabase: authentication, Postgres with RLS and rules libraries (races, equipment, spells)
- Deployed on Vercel
Status
Active. Next steps:
- A conversational DM AI mode to improvise scenes at the table.
- Sharing the campaign between DM and players in real time.
- Translating the interface into Spanish (today most labels are in English, like 5e terminology).