chyok
Posted on July 14, 2024
Hello everyone, I would like to share with you ollama-gui - a lightweight, Tkinter-based python GUI for the Ollama.
Overview
The project is very simple, with no other dependencies, and can be run in a single file.
It can serve as a first GUI page for beginners, without the need for Docker, VM or other dependencies, just Python (if not using the binary).
Features
- 📁 One file project.
- 📦 No external dependencies, only tkinter which is usually bundled.
- 🔍 Auto check ollama model list.
- 🌐 Customizable ollama host support.
- 💬 Multiple conversations.
- 📋 Menu bar and right-click menu.
- 🗂️ Model Management: Download and Delete Models
- 🎨 UI Enhancement: Bubble dialog theme
- 📝 Editable Conversation History
Run
Choose any way you like:
source code
python ollama_gui.py
using pip
pip install ollama-gui
ollama-gui # or python -m ollama_gui
binary file
I have provided some Windows, Mac, and Linux binaries for convenient direct use, could be downloaded from the GitHub release page.
Motivation
While looking for a UI interface for Ollama to experiment with large models locally, I found that many had heavy installation dependencies. Since I don't have particularly high requirements for the interface and UI, I decided to write an extremely minimalist UI using Python.
The project home is at https://github.com/chyok/ollama-gui
I would be most appreciative if anyone were interested, and also be tremendously grateful for any feedback or suggestions that anyone may have to offer.
Thanks,
chyok
Posted on July 14, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.