A user-friendly application wrapper for Open-WebUI with persistent settings and native OS integration.
-
Super Easy Start:
- Double-click
run.bat
- The application will set everything up automatically
- Double-click
-
Want a Desktop Shortcut?
- Right-click
create_shortcut.ps1
- Choose "Run with PowerShell"
- A desktop icon will be created for easy access
- Right-click
-
Easy Start:
- Open the folder in Finder
- Right-click
run.sh
and select "Open With" β "Terminal" - Click "Open" if you see a security warning
- The app will start automatically
-
Desktop Shortcut:
- Open Terminal in the folder
- Run:
chmod +x create_shortcut.sh && ./create_shortcut.sh
- A clickable desktop icon will be created
-
Quick Start:
- Right-click in the folder and select "Open in Terminal"
- Run:
chmod +x run.sh && ./run.sh
- The app will launch automatically
-
Desktop Shortcut:
- Open Terminal and run:
chmod +x create_shortcut.sh && ./create_shortcut.sh
- A desktop shortcut will be created
- Open Terminal and run:
When you start the app, it:
- Checks if Python is installed (installs it if needed)
- Sets up a virtual environment (isolated workspace for dependencies)
- Installs all required packages
- Starts the WebUI server
- Opens the application window
- One-click startup
- Remembers window size and position
- Automatic server management
- Cross-platform support (Windows, Mac, Linux)
- Native OS integration
- Clear error messages for troubleshooting
- Internet connection for first-time setup
- Git (for cloning the repository)
- Python 3.11 prefered (installer will guide you if missing)
- Ollama installed and running
pip install --upgrade open-webui
webui/
βββ main.py # Main application code
βββ config.py # Settings management
βββ server_manager.py # Server control
βββ ui_manager.py # Window management
βββ run.bat # Windows launcher
βββ run.sh # Mac/Linux launcher
βββ create_shortcut.ps1 # Windows shortcut creator
βββ create_shortcut.sh # Mac/Linux shortcut creator
βββ requirements.txt # Python dependencies
βββ test/ # Unit tests
-
Native Integration:
- Windows: Batch and PowerShell scripts
- Mac/Linux: Bash scripts with OS detection
- Automatic desktop integration
-
Modern Features:
- Async server management
- Type-safe configuration
- Comprehensive logging
- Error recovery
- Clone the repository:
git clone https://github.com/coff33ninja/webui cd webui
- Create a virtual environment:
python -m venv venv
- Activate the environment and install dependencies:
# Windows venv\Scripts\activate # Mac/Linux source venv/bin/activate pip install -r requirements.txt
- Run tests:
pytest
- Windows:
%USERPROFILE%\.webui\webui.log
- Mac/Linux:
~/.webui/webui.log
Q: The app won't start, what should I do? A: Ensure Python is installed. The launcher will guide you if it's missing.
Q: Where are my settings saved?
A: In your home directory under .webui_config.json
Q: How do I update the app? A: Pull the latest version and restart the app β it will update automatically.
- Check the log file for detailed errors
- Ensure Ollama is running
- Try running the launcher script again
- Open an issue if you need further assistance
One of the primary motivations behind this wrapper is to maximize the computational resources available on your machine. Traditional browser-based interfaces, while familiar, tend to consume a significant amount of RAM and CPU powerβresources that could otherwise be dedicated to running AI models or processing data. This wrapper is designed to offload as much of that overhead as possible by minimizing the reliance on a full browser window. Instead, it leverages native OS integration and lightweight scripting to launch and manage the interface in a more resource-friendly manner. In essence, your system allocates more power to the core functions of Open WebUIβwithout modifying any of its core functionalityβdelivering a smoother and more efficient user experience.
For users who prefer to use a browser or need remote access, Open WebUI remains fully accessible. By default, it binds to 0.0.0.0:8080, so you can connect using your computer name, domain name, or IP address. This ensures that whether youβre accessing the interface locally or remotely, you can enjoy the benefits of the original Open WebUI without compromise.
Iβm always tinkeringβconstantly adding features and refining the wrapper based on every little idea that comes to mind. As I study and experiment along the way, you might occasionally notice duplicate fixes or iterative updates. Rest assured, this process is all about learning and enhancing the user experience without changing the core functionality of Open WebUI. Your patience and feedback are greatly appreciated as the wrapper evolves!
MIT License