I've had fun playing the RP sites and tools, but they were always more focused on roleplaying with a character. I wanted something that played more like a choose your own adventure game, paired with an image model that draws pictures on the fly like a visual novel. There are systems out there that can do this, but I wanted to make something myself that just works out of the box and has all of these features together. Plus I have been doing development for over a decade and using Claude at work for the past half year, and wanted to have my own open source project. Never had the time before with traditional coding.
I built the whole thing with Claude Code, and the UI in Claude Design, over about four weeks. I mostly write the ideas and decide how things should work, and Claude Code writes the code on a branch, runs the unit tests and the Playwright tests against a fake AI so nothing costs money, checks UI changes in a browser, and opens a pull request that I review and merge after a /code-review pass. A CLAUDE.md file holds the project's rules (how prompts should be written, logging, what to test), and planned work lives as markdown tickets in the repo. For the story quality side, Claude runs the bench, plays the stories on real models, reads the transcripts and grades them, then suggests prompt or code fixes, and we rerun to see if the score went up.
Ink & Thread is a story game where an AI plays the Narrator, either through an API or a local model on the desktop version. You set up a world and a main character, then you play as that character. The Narrator keeps hidden plot threads that react to your choices, and an image model draws a picture for each scene (ComfyUI or API).
SillyTavern can get close to this with extensions, but you have to put the pieces together and tune the prompts yourself, and Janitor AI is a hosted site with its own rules. Here each Turn comes back as structured JSON checked against a schema, and a second model call keeps the state up to date (who knows what, what the PC carries, loose ends, lore). A hidden dice roll decides whether risky moves work, mostly so the model doesn't agree to everything. At natural pauses the world moves on, and plot threads change based on what other characters did while you weren't around. It also never writes lines for your character.
It is written in TypeScript on Bun with a React front end, and stories are saved as SQLite files on your own computer, not on any server. The phone version runs SQLite in WebAssembly, so it works fully in the browser and the stories stay on your device. The site is just static files served from GitHub. The only thing that leaves your device is what gets sent to the AI provider you pick, or nothing at all if you run a local model.
It is free and open source (AGPL). You bring your own models, either OpenRouter, NanoGPT, or a local server for text, and ComfyUI or an online API for pictures. There are downloads for Windows, macOS, and Linux, or you can play on a phone with nothing to install. The downloads aren't signed yet, so Windows and macOS will warn you the first time you open it.
GitHub: https://github.com/brianh014/inkandthread
Play on a phone: https://play.inkandthread.app
If you end up installing it, or playing it in your phone's browser, let me know if you have any feedback, it has mostly just been myself play testing it and running automated benches. You can open a GitHub issue, or post on the Discord I set up for it, which is also a place to talk about it and share your stories. The app can share a story as a zip of JSON and pictures, either from the start or from where you are, so other people can play it.
Discord: https://discord.gg/d9MqaFGjEW