← all repositories
Darkatse/TauriTavern

SillyTavern breaks out of the browser with a Rust backbone

TauriTavern ports the SillyTavern LLM frontend into a native Tauri v2 desktop app, swapping browser HTTP calls for Rust-backed commands while keeping the upstream UI intact.

979 stars JavaScript Chat Assistants
TauriTavern
Velocity · 7d
+9.9
★ / day
Trend
accelerating
star history

What it does

It repackages SillyTavern 1.16.0 as a native desktop application for Windows, macOS, and Linux using Tauri v2. The Rust backend handles file persistence, logging, and chat completion routing for OpenAI, Claude, Gemini, and custom endpoints, while the original HTML/CSS/JS frontend continues to drive the interface.

The interesting bit

Instead of simply embedding a web view, the project intercepts the frontend’s fetch and jQuery AJAX calls through a modular injection pipeline and redirects them to a layered Rust backend. It exposes a minimal platform ABI via window.__TAURITAVERN__ and enforces strict architectural boundaries—complete with line-count budgets and a ban on routes referencing the global window object directly.

Key highlights

  • Frontend synced to upstream SillyTavern 1.16.0 with no runtime loader indirection
  • Rust backend follows clean architecture: presentation, application, domain, and infrastructure layers
  • Request interception pipeline routes HTTP traffic through Tauri commands with trace IDs injected via x-tauritavern-trace-id headers
  • Guardrails include TypeScript strict checks, dependency boundaries, and forbidden direct window access in routing code
  • Supports portable builds and includes FasTools, a Rust debugging utility for desktop deployment

Caveats

  • Windows portable builds require users to ensure the WebView2 runtime is available themselves.

Verdict

Worth a look if you want a self-contained SillyTavern desktop binary with a disciplined Rust backend and modular request interception. Give it a pass if you are already satisfied running SillyTavern in its original form and do not need native packaging or architectural guardrails.

Frequently asked

What is Darkatse/TauriTavern?
TauriTavern ports the SillyTavern LLM frontend into a native Tauri v2 desktop app, swapping browser HTTP calls for Rust-backed commands while keeping the upstream UI intact.
Is TauriTavern open source?
Yes — Darkatse/TauriTavern is open source, released under the AGPL-3.0 license.
What language is TauriTavern written in?
Darkatse/TauriTavern is primarily written in JavaScript.
How popular is TauriTavern?
Darkatse/TauriTavern has 979 stars on GitHub and is currently accelerating.
Where can I find TauriTavern?
Darkatse/TauriTavern is on GitHub at https://github.com/Darkatse/TauriTavern.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.