Skip to content

Latest commit

Β 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🏰 TavernKeep

The Zero-Config 1-Click Self-Hosted Stack & Management Dashboard for SillyTavern & Local LLMs

License Build Status Python Docker FastAPI

⚑ Quick Start β€’ ✨ Features β€’ πŸ—οΈ Architecture β€’ πŸŽ›οΈ Dashboard & API β€’ βš–οΈ Why TavernKeep?


🌟 Why TavernKeep?

Setting up SillyTavern locally with Ollama, SSL reverse proxies, extension management, and model pulling usually requires technical knowledge of Node.js, CLI commands, network routing, and manual backup scripts.

TavernKeep bundles everything into a single containerized stack with a modern glassmorphic control panel.

βš–οΈ Comparison

Feature Manual Setup TavernKeep Stack
Installation Time 30-60 mins < 1 minute
Model Downloader UI CLI only 1-Click Web UI
Data Backup / Restore Manual copy Instant .zip Export/Import
Reverse Proxy & HTTPS Manual Nginx / Caddy Pre-configured Caddy
System Resource Gauges System Monitor Integrated Dashboard
Privacy & Cloud Cost $0 (if local) $0 (100% Local & Offline)

✨ Features

  • πŸš€ 1-Click Launch: Spuns up SillyTavern UI, Ollama LLM Engine, Caddy Reverse Proxy, and TavernKeep Sidecar with a single command.
  • πŸ€– LLM Model Manager: Download any GGUF or Ollama model (e.g. llama3:8b, mistral:7b, phi3:mini) directly from your browser.
  • πŸ“¦ One-Click Backup & Restore: Safeguard your character cards, chat history, custom prompts, and settings with zip archives.
  • πŸ“Š Real-Time System Metrics: Live hardware monitors for CPU, RAM, and Disk space utilization.
  • πŸ“± Mobile-First Glassmorphic UI: Modern, lightweight control panel accessible from desktop or mobile devices.

πŸ—οΈ Architecture

graph TD
    Client["πŸ’» Web Browser / Mobile"] -->|Port 80 / HTTP| Caddy["πŸ”’ Caddy Reverse Proxy"]
    Caddy -->|/ | SillyTavern["🎭 SillyTavern UI (Port 8000)"]
    Caddy -->|/api/* & /manager/*| TavernKeep["🏰 TavernKeep Sidecar API (Port 5000)"]
    TavernKeep -->|Model Management| Ollama["πŸ€– Ollama LLM Engine (Port 11434)"]
    TavernKeep -->|Backup / Restore| DataVol["πŸ’Ύ SillyTavern Data Volume"]
Loading

⚑ Quick Start

Prerequisites

Make sure Docker Desktop is installed and running.

1. Clone the Repository

git clone https://github.com/rcisar77-stack/tavernkeep.git
cd tavernkeep

2. Launch Stack

πŸͺŸ Windows (PowerShell):

.\scripts\install.ps1

🐧 Linux / 🍎 macOS (Terminal):

chmod +x scripts/install.sh
./scripts/install.sh

🌐 Access Endpoints

Once launched, access your services at:

Component URL Description
🎭 SillyTavern Web UI http://localhost:8000 Main character chat interface
🏰 TavernKeep Dashboard http://localhost:5000/manager/ Control panel for models & backups
πŸ”’ Caddy Gateway http://localhost:80 Unified HTTPS reverse proxy

πŸŽ›οΈ Dashboard & API Endpoints

TavernKeep exposes a high-performance FastAPI REST interface:

  • GET /api/system/health - Health check status of all services
  • GET /api/system/stats - Live CPU, Memory, and Disk usage metrics
  • GET /api/models - List installed Ollama models
  • POST /api/models/pull - Trigger background model download
  • DELETE /api/models/{model_name} - Remove local model
  • GET /api/backups - List available zip archives
  • POST /api/backups - Create new timestamped backup
  • POST /api/backups/{filename}/restore - Restore SillyTavern state

Interactive Swagger API docs are available at http://localhost:5000/docs.


πŸ§ͺ Automated Testing

TavernKeep maintains a 100% passing test suite powered by pytest:

# Setup virtual environment
python -m venv venv
.\venv\Scripts\python -m pip install -r tavernkeep/requirements.txt

# Run unit & integration test suite
.\venv\Scripts\python -m pytest tavernkeep/tests -v

πŸ“œ License

This project is licensed under the Source-Available & Anti-SaaS License (v1.0).

  • Free for personal, internal, and business self-hosted deployment.
  • Prohibited: Commercial hosting or reselling as a managed cloud service (SaaS) without prior written consent and commercial licensing from the author.

See LICENSE for complete terms.

About

🏰 Ultra-fast, zero-config 1-click self-hosted launcher, Docker stack & manager UI for SillyTavern + local LLMs (Ollama).

Topics

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages