An AI-powered D&D adventure generator that creates complete, playable RPG content using Claude AI. Generate professional-grade adventures in minutes, complete with illustrations, maps, and organized documentation.
-
Real-Time Adventure Generation
- Complete D&D adventure modules
- Rich narrative content
- System-agnostic design
- Copyright-compliant material
-
Advanced Content Pipeline
- Table of contents generation
- Cover pages and artwork
- Dungeon design and mapping
- Adventure content expansion
- Illustration prompts
- Content review and validation
-
Professional Output
- Structured markdown formatting
- ZIP file packaging
- PDF compilation
- Organized file hierarchy
- Prerequisites
- Go 1.21.3 or higher
- Make
- Environment Setup
# Clone the repository
git clone https://github.com/your-org/dndbot.git
cd dndbot
# Copy and edit configuration
cp config.mk.example config.mk
- Required Environment Variables
export CLAUDE_API_KEY="your-api-key"
export HORDE_API_KEY="your-horde-key" # Optional for image generation
export SD_WEBUI_URL="your-sd-url" # Optional for local image generation
# Build and run with default settings
make run
# Run with custom arguments
make run args="-port 3000 -domain localhost"
# Build Docker image
make docker
# Run container
make docker-run
Server configuration flags:
-paywall Enable payment requirements
-tls Enable TLS/HTTPS
-mail Email for certificates
-domain Server domain name
-port Server port number
See API.md for detailed API documentation.
dndbot/
├── cmd/ # Command line tools
├── srv/ # Server implementation
│ ├── ui/ # Web interface
│ └── generator/# Core generation logic
├── src/ # Core library
└── static/ # Web assets
# Format code
make fmt
# Build binary
make build
# Clean build artifacts
make clean
# Run test suite
go test ./...
# Run with Firefox profile
make fox
- Fork the repository
- Create your feature branch
- Commit changes with clear messages
- Push to your branch
- Create a Pull Request
GNU Affero General Public License v3.0 - See LICENSE.md
- Rate limiting implemented
- CORS protection enabled
- Security headers configured
- TLS support available
- Backend: Go
- API: Claude AI (Anthropic)
- Image Generation: Stable Diffusion
- Web Interface: HTML/CSS/JavaScript
- Storage: File-based + In-memory cache
If you find this project useful, consider supporting the developer:
Monero Address: `43H3Uqnc9rfEsJjUXZYmam45MbtWmREFSANAWY5hijY4aht8cqYaT2BCNhfBhua5XwNdx9Tb6BEdt4tjUHJDwNW5H7mTiwe`
Bitcoin Address: `bc1qew5kx0srtp8c4hlpw8ax0gllhnpsnp9ylthpas`
- Claude AI by Anthropic
- Stable Diffusion
- Go Chi router
- Contributors and maintainers