r/DnDwithAI • • 8d ago

Open source (AGPL), offline combat tracker for in-person table

Post image

We play in person with a TV built into the table for maps. I wanted the turn order, conditions and spell effects and few other stuff visible to everyone without covering the map, so I built Roundkeeper.

First of all, there's nothing to sell here: it's completely free and open source under the AGPL license, so no ads, no paid tier or that kind of mambo jambo.

There is a video on GitHub page, including bunch of screenshots. Some of current features are:

- Initiative and turn tracking

- Conditions and spell effects with durations

- Monster HP and statblocks with clickable rolls

- Concentration and death saves

- Group saves sent to the players' phones

- Player phones for HP, spells, class resources, character sheet and inventory

- Tablet and TV displays with themes and animated scenes

- Boss reveals and big moments on screen

- Countdowns, handouts and a recap after each fight

- SRD 5.2.1 (2024 rules) built in, homebrew can be imported with JSON files.

- Runs on local network so no internet, sign-ins and accounts

It's not a VTT, so there are no maps or tokens.

I have a few more features planned, and after that we'll see. I'm building it mainly for myself and my group, so there's no big roadmap.

The code was written with Claude Code. I decide what goes in and how it should look, and we test it at our table. For anyone curious about the setup:

- Each feature starts as a plain language description. For bigger ones, Claude first makes a clickable mockup, I pick a direction, and only then it gets built.

- The repo has a CLAUDE.md that describes the code and the rules for working on it, plus a few custom subagents: one for searching the code, one for recording screenshots and videos, one for writing docs and one for reviewing changes.

- Every change goes through a pull request, and GitHub Actions runs the full end-to-end test suite (about 6.5 minutes) before it can be merged. New features come with their own tests.

- The README screenshots and videos are recorded by a GitHub workflow, not by hand.

- Releases build themselves from a tag: Windows, Mac and Linux zips with checksums.

- Under the hood it's a small Go server (one file, nothing to install) and a single HTML page for every screen.

No AI art in it.

https://github.com/swampcore-beep/roundkeeper

Questions about the app or the setup, and bug reports, are very welcome.

6 Upvotes

7 comments sorted by

1

u/ManuelOchotre 7d ago edited 7d ago

omg i am looking at this, in this is awesome!!!

It would be great if can we import the crharacters of dnd beyond. WOuld you allow me to change a little bit it?

1

u/Reasonable_Touch1150 8d ago

IDK why tf people keep making these instead of using dragon fight club...

2

u/Swampycore 8d ago

I actually tried DFC, and it's clearly a solid tool. I just couldn't get used to the UI. I also wanted something that runs fully offline on our own network, with no accounts, and where players can track their own HP and spells on their phones. So I ended up building that for our table. If DFC works for you, that's great, people can use whatever they like.

1

u/ManuelOchotre 8d ago

It didn't works on my phone🥺

2

u/Swampycore 8d ago

The phone part only works when service is already running on a computer: the DM starts it on a laptop, and the phones join over the same Wi-Fi by scanning the QR code. It isn't a standalone phone app.
If you did have it running and the phone still couldn't connect, could you tell me which phone and browser you used, and what you saw? Two common fixes:

Android with Chrome: Settings - Apps - Chrome - Permissions - Nearby devices - Allow, then restart Chrome.
iPhone: when Safari asks about local network access, tap Allow.

2

u/PDX_Mike 8d ago

I'd never heard of DFC, I checked it out and it's pretty full featured. I'll probably switch to it.

Still, sometimes it's more fun to do it yourself.

2

u/TenkaiStar 8d ago

Bunch of reason. Our setup is Laptop+Portable display for DM and TV flat on table for players. Track Initiative with 3D printed tokens on top of DM screen. So a lot of things then I do not want that is in DFC.

Now during fight we have monster statblocks on Portable display and tracker on Laptop. Used to do dndbeyond on portable display and excel on laptop. But coded two html based software for those so I could optimize them and make it easier to read.

I could then also customize if for one of my friends who has ADHD and is dyslectic but loves being a DM.