A Python CLI tool for synchronizing local files with Open WebUI knowledge bases.
Repository: https://github.com/ALERTua/open_webui_knowledge_sync
- 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
 
- Open WebUI instance
 - uv
 
git clone https://github.com/ALERTua/open_webui_knowledge_sync.git
cd open_webui_knowledge_sync
uv syncYou 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.
This package provides two main command-line tools:
owui_sync: One-time synchronization of files and directoriesowui_watch: Continuous monitoring and synchronization of files
For detailed usage instructions, see:
- Do not forget to raise the context length of your prompt!