Skip to content

ALERTua/open_webui_knowledge_sync

Repository files navigation

Stand With Ukraine Made in Ukraine Stand With Ukraine Russian Warship Go Fuck Yourself

Open WebUI Knowledge Sync

A Python CLI tool for synchronizing local files with Open WebUI knowledge bases.

Repository: https://github.com/ALERTua/open_webui_knowledge_sync

Features

  • One-time sync of files and/or directories with Open WebUI knowledge bases
  • Real-time file watching and automatic synchronization
  • Command-line interface for easy integration

Requirements

  • Open WebUI instance
  • uv

Installation

git clone https://github.com/ALERTua/open_webui_knowledge_sync.git
cd open_webui_knowledge_sync
uv sync

Settings

You can save the effort of providing the CLI with the Open WebUI URL and Token for each execution by creating an .env file from .env.example and filling it with the environment variables. Or you can just fill those in your system.

Command-line Tools

This package provides two main command-line tools:

  • owui_sync: One-time synchronization of files and directories
  • owui_watch: Continuous monitoring and synchronization of files

For detailed usage instructions, see:

Caveats

  • Do not forget to raise the context length of your prompt!

About

Python CLI tool for synchronizing local files with Open WebUI knowledge bases.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •