# D&D toolkit

A web companion for tabletop D&D 5e Dungeon Masters and players. It holds a reference library, create and edit tools for spells, feats and rules, campaign tools, interactive maps, a fantasy calendar, a challenge rating calculator and an AI import of book pages.

- **Facts:** 2024, Personal project, In progress, role: Sole developer
- **What I did:** I built the whole product alone and am still developing it, including a rewrite as a second chapter.
- **Scope:** fullstack
- **Domain:** gaming
- **Stack:** Next.js, React, TypeScript, Tailwind CSS, Prisma, PostgreSQL, oRPC, MCP, Gemini API, fal.ai, SEO, Canvas API, IndexedDB, Cron jobs, MinIO, Web scraping, Cheerio, OAuth, Nodemailer, Docker Compose, Vercel Analytics, Core Web Vitals, sharp, Bun, Leaflet, GitHub Actions, Better Auth, Drizzle, pg-boss, Vercel AI SDK, TanStack Query, Zod, React Hook Form, next-intl, Resend, Axiom, Vitest, React Compiler, Base UI, Radix UI, shadcn/ui, Zustand, Recharts, TanStack Table, TanStack Virtual, Python, Cloudflare R2, Google Cloud, Docker, pnpm, Biome, Ultracite, Playwright, Claude Code, Google Stitch, AWS, AWS S3, T3 Env, date-fns, nuqs, dotenvx, Husky, Vercel, FastAPI, Embla Carousel, Knip, oxfmt, oxlint, Turbopack, Pencil, pgvector
- **Live:** https://tes-mundus.vercel.app
- **Page:** https://sergey-petrinich.vercel.app/work/dnd-toolkit
- **Screenshot:** https://sergey-petrinich.vercel.app/work/dnd-toolkit.webp

Capabilities:

- Spells, creatures, items, feats, rules, backgrounds, races, classes and sources, each with filters, detail pages and bookmarks
- Create and edit dialogs for spells, feats and rules, with a text-to-fields converter
- Text and AI converters that turn pasted text or photos of book pages into structured entries
- Challenge rating calculator with 34 traits and a shareable link
- Interactive maps with tiling for large images, markers, regions and distance measuring
- Fantasy calendar with moons, events, eras and seeded weather
- VTT token editor with borders, masks and batch export
- Weather, economy and alchemy calculators, name generators, dice roller and random tables
- Campaigns with invites, quests, faction reputation and an item shop
- Sharing for 20 content types with roles and per-role limits
- Accounts with passwordless sign-in, two-factor and Google, English and Russian UI
- Markdown pages for public content and an MCP server with OAuth

Back to the [work archive](https://sergey-petrinich.vercel.app/work.md) · [CV](https://sergey-petrinich.vercel.app/cv.md) · [all of it in one file](https://sergey-petrinich.vercel.app/llms-full.txt)
