TauriTavern  by Darkatse

Native desktop AI chat client

Created 1 year ago
494 stars

Top 62.1% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

TauriTavern addresses the need for a native desktop application experience for SillyTavern users. It provides a cross-platform solution leveraging Tauri v2 and Rust, offering improved performance and integration while preserving the familiar SillyTavern frontend. This project benefits users seeking a more robust, desktop-native AI chat interface and developers interested in Tauri/Rust application development.

How It Works

The project rewrites SillyTavern as a native desktop application using Tauri v2 and a Rust backend, while retaining the upstream SillyTavern 1.16.0 frontend. Its core approach involves a Rust backend structured with clean architecture layers (presentation, application, domain, infrastructure) and a modular Tauri injection layer. This design replaces frontend HTTP requests with local Tauri command calls, offering a native runtime, enhanced maintainability through Rust, and a stable host kernel interface (window.__TAURITAVERN__) for communication.

Quick Start & Requirements

  • Installation: Clone the repository (git clone https://github.com/Darkatse/tauritavern.git), install dependencies (pnpm install), and run in development mode (pnpm run tauri:dev) or build for release (pnpm run tauri:build).
  • Prerequisites: Rust stable, Node.js 18+, pnpm, and the Tauri CLI are required.
  • Platforms: Supports Windows, macOS, Linux, Android, and iOS development builds.
  • Documentation: Links to detailed guides on frontend architecture, host contracts, backend structure, and tech stack are available within the docs/ directory.

Highlighted Details

  • Native Runtime: Leverages Tauri v2 for cross-platform desktop applications on Windows, macOS, and Linux.
  • AI Provider Support: Integrates with multiple AI providers including OpenAI, Claude, Gemini (MakerSuite), and custom OpenAI-compatible endpoints.
  • Modular Design: Features a modular request injection pipeline and a maintainable Host Kernel layer for clean separation of concerns.
  • Developer Experience: Includes strict type checking (pnpm run check) and a FastTools utility for debugging and deployment.
  • Frontend Integration: Employs a unified frontend bootstrapping pipeline for seamless integration of the SillyTavern frontend.

Maintenance & Community

No specific details regarding maintainers, community channels (e.g., Discord, Slack), sponsorships, or partnerships are provided in the README.

Licensing & Compatibility

  • License: AGPL-3.0.
  • Compatibility: The AGPL-3.0 license is a strong copyleft license, potentially imposing restrictions on linking with closed-source software or commercial use without adhering to its terms.

Limitations & Caveats

Windows portable builds necessitate that users ensure the WebView2 runtime is independently available. The project appears to be under active development, indicated by its focus on development commands and build processes.

Health Check
Last Commit

1 day ago

Responsiveness

Inactive

Pull Requests (30d)
19
Issues (30d)
23
Star History
237 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.