CodingIdeas.ai

LoreBind — The AI Campaign Manager That Remembers Everything Your Players Are About To Break

Every DM has a note system that is either 47 Notion pages no one can search or a folder of loose PDFs that might as well be on fire. LoreBind is an AI-powered TTRPG campaign manager that lets you dump your lore, generates NPC relationship webs, surfaces relevant world details mid-session, and never forgets the name of the innkeeper your players murdered in session 2.

Difficulty

intermediate

Category

AI Agents & RAG

Market Demand

High

Revenue Score

7/10

Platform

Web App

Vibe Code Friendly

No

Hackathon Score

🏆 7/10

What is it?

Tabletop RPG dungeon masters manage a terrifying amount of world state — NPC names, faction relationships, player decisions, session history, prophecy threads — and the tools are a disaster. Notion is too generic. WorldAnvil is too complex for casual DMs. Obsidian requires plugin management that most DMs refuse to learn. LoreBind is a purpose-built campaign manager with an AI search layer: you paste your lore, it builds a queryable knowledge base, and during session you ask it questions in plain English and get instant answers with source citations from your own notes. It also auto-generates NPC relationship graphs and session summary drafts. The May 2026 TTRPG market is booming — Critical Role and the DnD 5e 2024 release drove a new wave of DMs who want digital tools. Buildable now because RAG over small document sets is trivially cheap with Claude and pgvector.

Why now?

The DnD 5e 2024 rulebook launch and Critical Role Season 4 in early 2026 drove a 40% increase in new DM activity, and pgvector on Supabase is now stable and cheap enough for single-campaign RAG at under $0.01/query.

  • Lore RAG search: upload any notes, PDFs, or session logs — ask questions in plain English and get answers with citation back to your own source material.
  • NPC relationship graph: auto-generated visual web of characters and their relationships using React Flow, updated as you add new lore.
  • Session summary generator: paste your raw session notes and get a polished narrative summary for your campaign journal in 30 seconds.
  • Mid-session query mode: distraction-free full-screen query interface optimized for asking quick questions without breaking the table vibe.

Target Audience

Hobbyist and semi-pro TTRPG dungeon masters — estimated 3M+ active DMs in the US and UK based on TTRPG industry survey data, with 500,000 running active weekly campaigns.

Example Use Case

Marcus runs a weekly DnD campaign with 5 players. During a session a player asks about the thieves guild they met 3 months ago. Marcus types the question into LoreBind and gets an instant answer citing the exact session note where the guild was introduced — no more embarrassing blank stares.

User Stories

  • As a DM running a weekly campaign, I want to query my lore notes in plain English mid-session, so that I can answer player questions instantly without breaking immersion.
  • As a DM with 50+ NPCs, I want an auto-generated relationship graph, so that I can visualize faction dynamics without maintaining a separate diagram.
  • As a DM writing a campaign journal, I want to generate a polished session summary from my raw notes, so that I spend 5 minutes on recaps instead of 45.

Done When

  • Lore upload: done when user uploads a text document and receives a confirmation that it has been indexed and is queryable within 30 seconds.
  • RAG query: done when user types a lore question and receives an answer with a citation referencing the specific document and excerpt it came from within 5 seconds.
  • NPC graph: done when user adds 3 NPCs with relationships and sees a visual network graph rendered on screen without any manual layout work.
  • Session summary: done when user pastes raw session notes and receives a formatted narrative summary paragraph within 10 seconds.

Is it worth building?

$12/month x 200 DMs = $2,400 MRR at month 3. $12/month x 1,000 DMs = $12,000 MRR at month 9. Math: strong viral potential in TTRPG communities, low CAC via Reddit and Discord.

Unit Economics

CAC: $3 via organic Reddit posts. LTV: $144 (12 months at $12/month). Payback: under 1 month. Gross margin: 90%.

Business Model

SaaS subscription

Monetization Path

Free tier: 1 campaign, 20 note uploads, 10 AI queries/month. Pro $12/month: unlimited campaigns, AI queries, session summaries.

Revenue Timeline

First dollar: week 2 via Reddit beta pre-sell. $1k MRR: month 2. $5k MRR: month 6. $12k MRR: month 11.

Estimated Monthly Cost

Claude API: $30 (queries and summaries), Supabase with pgvector: $25, Vercel: $20, Stripe: $5. Total: ~$80/month at launch.

Profit Potential

Solid lifestyle product at $5k MRR. Growth product at $15k MRR with creator/streamer adoption.

Scalability

High — add co-DM collaboration, player-facing world wiki, VTT integration (Foundry, Roll20 webhooks).

Success Metrics

Week 1: 300 sign-ups from TTRPG Reddit. Month 1: 100 paid conversions. Month 3: 500 paid, 80% retention.

Launch & Validation Plan

Post a poll in r/DMAcademy (400k members): what is your biggest campaign management pain point? If lore search and NPC tracking rank top 2, launch immediately.

Customer Acquisition Strategy

First customer: post a demo video in r/DMAcademy showing a real mid-session query answering a player gotcha question — target 500 upvotes within 48 hours as launch signal. Ongoing: TTRPG Discord servers, DM-focused YouTube creators, Critical Role community subreddits.

What's the competition?

Competition Level

Medium

Similar Products

WorldAnvil is powerful but overwhelming for casual DMs, Notion is generic with no TTRPG AI layer, Obsidian requires plugin expertise — LoreBind provides instant AI search purpose-built for campaign management.

Competitive Advantage

WorldAnvil is too complex and slow. Notion has no TTRPG-specific AI search. LoreBind is the only tool that answers mid-session questions from your own notes in under 3 seconds.

Regulatory Risks

Low regulatory risk. User-uploaded creative content. GDPR: campaign data export and deletion on account close. No financial or health data involved.

What's the roadmap?

Feature Roadmap

V1 (launch): lore RAG search, NPC graph, session summary, free and Pro tiers. V2 (month 2-3): co-DM collaboration, document version history. V3 (month 4+): player-facing world wiki, Foundry VTT webhook integration.

Milestone Plan

Phase 1 (Week 1-2): RAG pipeline and query UI live with seed campaign. Phase 2 (Week 3-4): NPC graph, session summary, and Stripe billing live. Phase 3 (Month 2): Reddit launch, 100 paid conversions.

How do you build it?

Tech Stack

Next.js, Claude API, pgvector on Supabase, Stripe, React Flow for NPC graph visualization — build with Cursor for RAG pipeline, v0 for session query UI, Lovable for onboarding

Suggested Frameworks

LangChain for RAG pipeline, pgvector for embedding search, Claude API for generation

Time to Ship

3 weeks

Required Skills

RAG with pgvector, Claude API, React Flow graph visualization, Next.js.

Resources

LangChain JS docs, Supabase pgvector guide, React Flow docs, Claude API docs.

MVP Scope

app/page.tsx (landing with demo), app/campaign/[id]/page.tsx (campaign workspace), app/campaign/[id]/query/page.tsx (session query mode), app/api/embed/route.ts (chunk and embed lore documents), app/api/query/route.ts (RAG query against pgvector), app/api/summary/route.ts (session summary generation), lib/db/schema.ts (campaigns, documents, chunks, npcs), components/NPCGraph.tsx (React Flow NPC web), seed.ts (demo campaign with 20 lore docs), .env.example

Core User Journey

Create campaign -> upload lore notes -> open session query mode -> ask first question -> get cited answer -> upgrade to Pro when free limit hit.

Architecture Pattern

User uploads lore notes -> text chunked and embedded via Claude embeddings -> stored in pgvector -> query hits /api/query -> nearest chunks retrieved -> Claude generates answer with citations -> response displayed in session UI.

Data Model

User has many Campaigns. Campaign has many Documents and NPCs. Document has many Chunks with embeddings. NPC has many Relationships linking to other NPCs. SessionSummary belongs to Campaign.

Integration Points

Claude API for RAG generation and session summaries, Supabase pgvector for embedding storage and search, React Flow for NPC graph, Stripe for billing, Vercel for hosting, Resend for onboarding emails.

V1 Scope Boundaries

V1 excludes: co-DM collaboration, player-facing wiki, VTT integrations, voice query mode, image uploads for maps.

Success Definition

A DM I have never met finds LoreBind via Reddit, uploads their campaign notes, uses it mid-session to answer a player question from their own lore, and upgrades to Pro the same night.

Challenges

RAG quality degrades badly with messy, inconsistent note-taking styles — most DMs write in shorthand that is hard to chunk and embed well. The hardest non-technical problem is competing with free tools (Notion, Obsidian) that DMs are already deeply embedded in — the value has to be instant and obvious from the first query, not after hours of data entry.

Avoid These Pitfalls

Do not build the NPC graph before the search works reliably — the search is the core value and graph is a nice-to-have that will distract you for 2 weeks. Do not accept uploads larger than 10MB per document in V1 — chunking massive PDFs will break the embedding pipeline and cost a fortune. First 10 paying customers will come from posting genuinely helpful content in TTRPG subreddits, not from cold outreach.

Security Requirements

Supabase Auth with Google OAuth. RLS on all campaign and document tables. Rate limit query API to 30 req/min per user. Sanitize uploaded text content. GDPR: full campaign data export and deletion endpoint.

Infrastructure Plan

Vercel for Next.js, Supabase with pgvector for database and vector search, no external file storage needed (text only in V1), GitHub Actions for CI, Sentry for errors. Estimated $80/month at launch.

Performance Targets

100 DAU at launch, 1,000 queries/day. RAG query response under 4 seconds. Page load under 1.5s. Embedding batch processing under 30 seconds for a 5,000-word document.

Go-Live Checklist

  • RLS policies verified on all campaign tables.
  • Stripe Pro upgrade flow tested end-to-end.
  • Sentry configured and receiving test query errors.
  • pgvector index verified for sub-second similarity search.
  • Custom domain with SSL live.
  • Privacy policy and terms published.
  • 5 DM beta users confirmed the query answers are accurate to their notes.
  • Rollback via Vercel instant rollback documented.
  • Launch post drafted for r/DMAcademy and r/DnD.

First Run Experience

On first run: a pre-loaded demo campaign called The Shattered Crown is open with 20 lore documents already indexed. User can immediately type a question like who is the thieves guild leader and see a cited answer. No account required to try the demo — sign up only to save your own campaign. No API keys needed for the demo.

How to build it, step by step

1. Define schema: campaigns (id, user_id, name), documents (id, campaign_id, title, raw_text), chunks (id, document_id, content, embedding vector(1536)), npcs (id, campaign_id, name, description), npc_relationships (npc_id, related_npc_id, relationship_type). 2. Run npx create-next-app lorebind with TypeScript. 3. Enable pgvector extension in Supabase and create chunks table with vector column. 4. Build /api/embed route that receives document text, splits into 512-token chunks, embeds each via Claude, and stores in Supabase. 5. Build /api/query route that embeds the user question, queries pgvector for top-5 nearest chunks, and sends to Claude with retrieved context. 6. Build session query UI as full-screen distraction-free mode with question input and cited answer display using v0. 7. Build NPC graph using React Flow with nodes auto-populated from npcs table. 8. Build /api/summary route that takes raw session notes and returns polished narrative summary via Claude. 9. Add Stripe billing gating free tier at 10 queries and 20 document uploads. 10. Verify: upload seed campaign notes, ask three questions, confirm answers cite correct source documents, generate a session summary from raw notes, upgrade via Stripe, confirm unlimited queries.

Generated

May 28, 2026

Model

claude-sonnet-4-6

Disclaimer: Ideas on this site are AI-generated and may contain inaccuracies. Revenue estimates, market demand figures, and financial projections are illustrative assumptions only — not financial advice. Do your own research before making any business or investment decisions. Technology availability, pricing, and market conditions change rapidly; always verify details independently.