← Back to Leaderboard
CBerryUIKI

BerryUIKI/CatCup-Tavern

Local-first roleplay on Fastify, with SillyTavern files on web, LAN and Windows

Open-Source AI AppQuickstart ↓
Engineering Health (Methodology)
B+ · 75/100
Maintenance Activity
● Updated yesterday
Latest Release
v0.6.4
Commercial License Check
AGPL-3.0 · Copyleft Warning

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption9/25
Release Cadence20/20
License Clarity11/20
Self-HostedLocal AI
Total Stars
★ 82
24h Growth
+0
7d Growth
+36
Forks
5

GitHub Star History

Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.

BerryUIKI/CatCup-Tavern Star History (2026-11-11 - 2026-12-03) DAILY STAR HISTORY (23-DAY D1 TELEMETRY) +81 in 22d · avg +4/day 86 43 0 2026-11-11: ★ 12026-11-13: ★ 12026-11-15: ★ 12026-11-17: ★ 12026-11-19: ★ 12026-11-21: ★ 112026-11-23: ★ 192026-11-25: ★ 372026-11-27: ★ 592026-11-29: ★ 782026-12-01: ★ 822026-12-03: ★ 82 ★ 82 11-11 11-22 12-03

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

CatCup Tavern is a TypeScript workspace with a React SPA and one Fastify backend for browser, LAN and desktop use. Fastify owns password authentication, persistence, lorebook selection, prompt assembly, token budgeting and provider calls. The browser renders an SSE stream rather than implementing its own prompt pipeline. The Rust/Tauri desktop shell bundles the built web assets and a Node sidecar, then starts the same backend as a child process.

The persistence layer uses ordinary files: data/characters/ holds cards, data/chats/<character>/ holds JSONL conversations, and data/worlds/ and data/presets/ hold JSON configuration. This makes copying and inspecting a library straightforward, but distinguish portable content from server state: secrets.json holds API keys and auth.json holds the password hash and session secret. Interoperability is at the file-format level; SillyTavern extensions and getContext are not supported.

Key Capabilities & Differentiators

Single-character chat supports streamed replies with separate reasoning display, regeneration, continuation, alternate greetings, editable messages and branches. Stopping generation preserves the partial reply. Group rooms support multiple characters and configurable reply order, but only one member replies per turn. Character cards support PNG V2/V3, JSON and CharX; chats preserve swipes and branches in JSONL. The app can use a local LLM backend or a remote provider through an OpenAI-compatible API. Importing an OpenAI prompt preset does not bring over every provider setting: the supported sampling controls are temperature, top p, max tokens and context size.

The lorebook pipeline covers primary and secondary keys, selective logic, recursion, inclusion groups, sticky/cooldown/delay effects, injection positions and a token budget. Its context inspector exposes which entries were considered and why they fired, making it possible to distinguish an activation problem from a prompt assembly problem. All four live regex placements are supported. Long chats are trimmed to fit the token budget; an editable rolling summary is the long-term memory mechanism, with no vector retrieval.

Trade-offs & Limitations

CatCup is a plausible SillyTavern replacement for a library centered on cards, chats, lorebooks and prompt presets, not for a setup built around extensions and scripting. Typed slash commands go to the model as plain text; Quick Reply v2 runs seven commands but lacks auto-execution and context menus. Group chat has neither append modes nor automatic turns. There is no attachment upload, image input or vector memory. LAN mode gives one user access from several devices via a shared password; it is not a multi-user collaboration server.

Migration is easy to inspect but not a lossless transfer of the whole setup. The in-app importer skips groups and Quick Reply sets, imported lorebooks start disabled, and importing the same directory again creates suffixed copies rather than updating entries. SillyTavern 1.19 presets stored inside settings need to be imported individually. Test a copy of your library before switching, and check the AGPL-3.0 obligations before distributing a build or exposing a modified version as a hosted service.

Hardware & Deployment Guide

Web or LAN deployment requires Node.js 22.13+ and pnpm 11. Run pnpm install and pnpm dev for development (Fastify on :8000, web on :5173), or pnpm build && pnpm start to serve the built SPA from Fastify. Set CATCUP_HOST=0.0.0.0 for LAN access and CATCUP_DATA_DIR to relocate storage. First-run password setup is local by default. There is no built-in TLS, so use a reverse proxy or VPN beyond a trusted network. Local storage does not imply offline inference: offline use requires a reachable local model backend; a remote provider receives the assembled prompt.

The listed v0.6.3 release is early access and supports single-character and group roleplay end to end, within the group-turn limits above. Windows is the only released desktop target. Its per-user installer bundles Node and defaults to %APPDATA%\dev.catcup.tavern; the installer lacks Authenticode signing and can trigger SmartScreen, which is separate from the signed update artifacts. macOS and Linux shell compilation in CI does not establish desktop runtime support.

Serving model: Browser, LAN and Windows deployments share one Fastify backend; Tauri launches it as a child process and React consumes SSE.
File compatibility: Reads and writes PNG V2/V3 and JSON cards, handles CharX and ZIP-based .catcup packages, and preserves swipes and branches in JSONL chats.
Lorebook diagnostics: The context inspector shows the assembled prompt, which entries were evaluated and why they did or did not trigger.
Prompt budgeting: OpenAI presets support per-message injection depth, order and role; token counts use tiktoken for recognized OpenAI models, Claude's vocabulary for Anthropic and labeled estimates otherwise.
Group turn control: Natural, list, manual and pooled turn orders are available, with one replying member per turn and no automatic turns.
Access boundary: Single-user password authentication, loopback-only setup by default and API keys stored on the server; no built-in TLS.
Best For

A solo roleplayer who wants to reuse a SillyTavern library, inspect lorebook activation and access one file-backed setup from Windows or a browser on a trusted LAN.

Skip If

Your workflow needs STscript, SillyTavern extensions, automatic group turns, image input, vector memory, separate user accounts or a released macOS or Linux desktop build.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releases · Newer release v0.6.4 (2026-12-02) shipped after this reviewMethodology

Quick Start & Installation

Self-HostedLocal AI
pnpm install
pnpm dev          # server :8000, web :5173

Comparison vs. Top Chat UI & AI Apps Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
CatCup-Tavern ★82+36TypeScriptAGPL-3.0Local-first roleplay on Fastify, with SillyTavern files on web, LAN and Windows
NextChat89k+28TypeScriptMITSelf-host a Next.js chat client for cloud and private model APIs
open-design110.9k+1kTypeScriptApache-2.0Local-first design workspace that turns coding-agent output into reviewable prot
locally-uncensored4.9k+126TypeScriptAGPL-3.0Tauri desktop studio for local AI chat, coding, and ComfyUI media generation

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/BerryUIKI/CatCup-Tavern.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

BerryUIKI/CatCup-Tavern Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about CatCup-Tavern

What runs in the browser, and what does the Windows app bundle?

The React client renders replies from a Server-Sent Events (SSE) stream. Fastify handles authentication, file storage, lorebook scanning, token budgeting and provider calls. On Windows, Tauri starts that same server as a child process using the bundled Node runtime, so the desktop app does not need a separately managed backend.

Do I need a GPU, and how much RAM or VRAM should I budget?

CatCup runs the interface, file storage and prompt assembly; the configured provider runs inference. If you use a local model, size RAM and VRAM for its inference runtime, model, context length and concurrent requests. If you use a remote provider, the host still runs Node and stores your data, but it does not need GPU capacity for model inference. There is no fixed hardware sizing figure.

Can I self-host it commercially or ship a modified build?

The project uses AGPL-3.0, which does not prohibit commercial use. If you modify the app and let users interact with it over a network, offer those users the Corresponding Source of your modified version. If you redistribute copies, separate source and notice obligations apply. Review those obligations before shipping a managed or branded build.

Should I switch from SillyTavern or keep it?

SillyTavern is the better fit if your workflow depends on STscript, typed slash commands, extensions, automatic Quick Replies or automatic group turns. CatCup is worth trying if you mainly need portable cards, chats and lorebooks, plus a Windows installer or one server shared across your own devices. Test a copy of a representative library before switching, including lorebook triggers and chat branches.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining BerryUIKI/CatCup-Tavern? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature BerryUIKI/CatCup-Tavern on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare