prune-open-webui

(β˜… 134)

🧹 An automizable or interactive pruning tool for Open WebUI: clean up orphaned files, old chats, inactive users, stale vector data and more!

  • .gitignore
  • COMPATIBILITY.md
  • LICENSE
  • prune.py
  • prune_cli_interactive.py
  • prune_core.py
  • prune_export.py
  • prune_imports.py
  • prune_models.py
  • prune_operations.py
  • README.md
  • requirements.txt
  • ruff.toml
  • run_prune.sh
  • standalone_prune.py
  • validate_structure.py

# Installation Guide

1. Get the code
git clone https://github.com/Classic298/prune-open-webui

Downloads the entire project code from GitHub to your computer.

cd prune-open-webui

Moves into the project folder you just downloaded.

2. Official Install Script

Easy Recommended
Prerequisites
  • Python 3 Python is required to use pip.
pip install rich # For interactive mode (optional)

Installs the package published on PyPI directly β€” no need to clone the source.

pip install rich

Installs the package published on PyPI directly β€” no need to clone the source.

βœ… After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.

Pulled directly from this repo's README.

3. Python

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
pip install -r backend/requirements.txt

Installs the Python libraries listed in requirements.txt (or similar).

pip install -r prune/requirements.txt

Installs the Python libraries listed in requirements.txt (or similar).

pip show open-webui | grep Location

Type this command into your terminal and run it.

pip install -r prune/requirements.txt # Install prune dependencies

Installs the Python libraries listed in requirements.txt (or similar).

pip install rich # For interactive mode (optional)

Installs the package published on PyPI directly β€” no need to clone the source.

βœ… If it runs without errors and prints output in the terminal, it worked.

Pulled directly from this repo's README.

// repository documentation