A high-fidelity, multimodal roleplay interface designed for the next generation of LLM-driven storytelling. Create complex narratives, manage detailed character profiles, and engage in immersive conversations within a premium glass-morphic environment.
- Persistent Storage: Powered by IndexedDB, the Tavern bypasses the 5MB limits of standard local storage. Manage extensive character libraries and infinite message histories with stability.
- Spec V2 Character Support: Seamlessly import characters from Tavern V2
.pngcards or.jsonfiles. - Profile Editor: Design high-fidelity AI Characters (NPCs) or User Personas.
- Auto-Identity Alignment: The Tavern automatically applies your most recently used User Persona when a new conversation begins.
- ComfyUI Integration: Includes a built-in proxy for ComfyUI. Generate stable, high-fidelity character portraits and scene imagery directly within the chat.
- Automated Prompting: LLM-driven generation of visual character descriptions to ensure structural consistency across all portraits.
- Persistent Image Storage: Generated images are automatically saved to your local database as Base64 assets.
- Universal API Proxy: Robust support for OpenAI-compatible APIs (Z.ai, OpenRouter, local Llama.cpp).
- Text-to-Speech (TTS): High-fidelity voice output via Kokoro-TTS, ElevenLabs, or standard WebSpeech APIs.
- Dynamic Styling: Immersive storytelling with automatic italicized narration and bold-face dialogue.
Ensure your local machine has the following requirements:
- Node.js (v18.0 or higher)
- npm (comes with Node)
- Recommended: A local LLM server (Llama.cpp, KoboldCPP) or a ComfyUI installation for image generation.
git clone https://github.com/your-username/project-tavern.git
cd project-tavernnpm installnpm run devAccess the application at http://localhost:3000.
For those who wish to run Project Tavern within an isolated container, Docker compose and standalone options are available.
This is the simplest method to setup Project Tavern and its dependencies.
- Start Deployment:
docker compose up -d --build
- Access the Interface: The application will be available at http://localhost:3000.
If you prefer to build the container manually:
- Build the Image:
docker build -t project-tavern . - Run the Container:
docker run -p 3000:3000 --name project-tavern project-tavern
- Settings: Configure your AI model providers (OpenAI, OpenRouter, etc.) and ComfyUI endpoints.
- Persistence: All character profiles and chat histories (IndexedDB) are saved to your browser's persistent storage.
- Voice Settings: WebSpeech is available natively; Kokoro-TTS and other providers require external API nodes (configurable in Settings).
- Framework: Next.js 16 (App Router & Turbopack)
- Language: TypeScript
- Database: IndexedDB
- Styling: Vanilla CSS (Glassmorphism & Theme Support)
- Icons: Lucide React
Distributed under the MIT License. Use responsibly.
If Project Tavern has added value to your workflow, consider supporting the project. Your contributions ensure the continued development of this interface.
BTC Address: bc1qpexehwqnm4huxztxn0kk33a2ps8gxj3rlef7xf
"Great stories start with a single prompt. Every message a memory, every silence a scene."


