{"repo":"Sagesheep/NarrativeEngine-P","free":true,"listed":false,"github":"https://github.com/Sagesheep/NarrativeEngine-P","clone":"git clone https://github.com/Sagesheep/NarrativeEngine-P.git","description":"Self-hosted AI Dungeon Master - run extended TTRPG campaigns with smart memory, living NPCs, and any OpenAI-compatible LLM","language":"TypeScript","stars":86,"topics":[],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"Narrative Engine Version 1.0.4 Your AI Dungeon Master. A self-hosted TTRPG engine that runs extended, multi-session campaigns with persistent memory, living NPCs, and automated world management — powered by any OpenAI-compatible LLM or local Ollama model. No cloud. No subscription. Your campaigns stay on your machine. 📱 Android client available: NarrativeEngine-M 💬 Join our community: Discord Server --- Getting Started 1. Clone the repo 2. Install & run Windows — double-click Start Narrative Engine.bat Linux / macOS — run start.sh Or manually: 3. Open your browser at http://localhost:5173 4. Configure your LLM — open Settings and add your API key + endpoint. Supports OpenAI, Ollama, DeepSeek, and any OpenAI-compatible API. That's it. Create a campaign, write your world lore, and start playing. --- Updating to the Latest Version When a new version comes out, you can update your local copy without losing your campaigns or settings. Windows — double-click Update Narrative Engine.bat It will: - Download the newest app files from GitHub ( git pull ) - Run npm install to keep dependencies in sync - Leave your saved campaigns, lore, and API keys untouched (the data/ folder is not tracked by Git) Manual: Notes - Close the app completely before updating (close any terminal windows titled \"Narrative Engine\"). - If you downloaded the app as a ZIP instead of cloning it, the updater won't work — download the newest ZIP from GitHub instead. - If you edited any app files directly, the upd","default_branch":null,"files":null,"tree":[],"storefront":"/r/Sagesheep","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Sagesheep/NarrativeEngine-P/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}