Deploy Now

Stars

1,852

Forks

359

Watchers

22

Developer links

Risuai

Characters, worlds, and long-running stories deserve a chat window built for them, and Risuai delivers one as a web application you host yourself. Each character card holds a description, a first message, and an author's note, and chats can run with a single character or a whole group. Lorebooks inject background facts only when their activation keys appear in the conversation, so a ship, a city, or a rival stays consistent without crowding every prompt. Provider choice is wide: OpenAI, Anthropic, Google, OpenRouter, Mistral, DeepSeek, Ollama, Kobold, and a Custom API slot for any OpenAI-compatible endpoint, with streaming and parameter sliders for temperature, top-p, and repetition penalty. The prompt editor can reorder blocks for character description, persona, lorebook, memory, and chat history, and conditions and variables shape the result. Regex scripts rewrite replies into custom interfaces, translators let you chat across languages, TTS reads replies aloud, and emotion images swap a character's portrait to match the mood. Plugins add providers or features, and HypaMemory and SupaMemory compress older turns to preserve context. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. GPL-3.0 licensed.

Risuai
Risuai
Risuai
Risuai
Risuai
Risuai
Risuai

Benefits

  • One Interface For Many Models
  • Switch between OpenAI, Claude, Gemini, OpenRouter, Ollama, or any compatible endpoint without rebuilding characters, so you can pick the model that suits each story.
  • Consistent Characters And Worlds
  • Character cards and lorebooks keep personalities, places, and rules stable across long sessions, because background entries appear in the prompt only when the story mentions them.
  • Full Control Over Prompts
  • Reorder prompt blocks, add conditions and variables, and tune sampling parameters, which gives experienced users precise control over how each reply is built.
  • Self-Hosted Chat Data
  • Run the web app on your own server with a password, keep saves in a persistent volume, and reach your characters from any browser you choose.

Features

  • Character Cards
  • Define name, description, first message, and author's note, then import existing cards or create characters from scratch and chat immediately.
  • Lorebook Entries
  • Attach world details with activation keys, insertion order, and regex options so related facts are inserted only when relevant words appear.
  • Group Chats
  • Put several characters into one conversation and let each speak in turn, which suits ensemble scenes, party adventures, and multi-role stories.
  • Prompt Block Editor
  • Arrange plain prompts, persona, lorebook, memory, and chat blocks in any order, and adjust context size, response size, and sampling sliders.
  • Plugins And Regex Scripts
  • Extend the app with shareable plugins, and use regex scripts to transform model output into custom layouts and display effects.
  • Translation And Voice
  • Translate input and output automatically, listen to replies through text-to-speech, and show emotion images that follow the character's current mood.

Apps Similar to Risuai