Skip to main content

Ollama-GUI

GitHub License PyPI - Version PyPI - Python Version

A very simple ollama GUI, implemented using the built-in Python Tkinter library, with no additional dependencies. Provide you with the simplest possible visual Ollama interface.

ollama-gui-1 2 0

🚀 Features

v1.1.0

  • 📁 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.
  • 🛑 Stop generating at any time.

v1.2.0

  • 🗂️ Model Management: Download and Delete Models.
  • 🎨 UI Enhancement: Bubble dialog theme.
  • 📝 Editable Conversation History.

v1.2.2

  • 💾 Save and Load Conversation History.

v1.3.1

  • 💭 Show the thinking of reasoning models, folded after the answer starts.
  • ⚠️ Show the error message returned by Ollama.
  • 🔄 Support the latest Ollama API.
  • 🧵 More stable UI, all widgets are updated in the main thread.

📎 Before Start

We need to set up Ollama service first.

Please refer to:

⚙️ Run

Choose any way you like:

Note: If you are using a Mac and the system version is Sonoma, please refer to the Q&A at the bottom.

source code

python ollama_gui.py

using pip

pip install ollama-gui
ollama-gui

binary file

Platform Download Link
Windows Download
Mac (Apple Silicon) Download
Linux Download

📋 Q&A

I'm using a Mac, why does the application sometimes not respond when I click on it?

The issue affects macOS Sonoma users running applications that use Tcl/Tk versions 8.6.12 or older, including various Python versions.
When the mouse cursor is inside the Tkinter window during startup, GUI elements become unresponsive to clicks.

Solution:
Update to Tcl/Tk version 8.6.13 or newer, which fixes this problem.

For Python users, this can be done by:
Using Python 3.11.7 or later, which bundles the fixed Tcl/Tk version.
Using Python 3.12 or later, which already includes the fix.
https://www.python.org/downloads/macos/

For other Python versions, installing Tcl/Tk 8.6.13+ separately (e.g., via Homebrew) and ensuring Python uses this version.

Here is the issue: https://github.com/python/cpython/issues/110218


ImportError: No module named 'Tkinter'

This probably happens because the Tk library is not installed.

For Ubuntu or other distros with Apt:

sudo apt-get install python3-tk

For Fedora:

sudo dnf install python3-tkinter

For macOS:

brew install python-tk

For Windows:

make sure to check in the Python install the optional feature "tcl/tk and IDLE".

Refer to: https://stackoverflow.com/questions/25905540/importerror-no-module-named-tkinter

License

This project is licensed under the MIT License.

Metadata

Release files for ollama-gui 1.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ollama-gui 1.3.1
File Size Uploaded Provenance Actions
ollama_gui-1.3.1.tar.gz 18.5 kB Without provenance Details for ollama_gui-1.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ollama-gui 1.3.1
File Interpreter ABI Platform Actions
ollama_gui-1.3.1-py3-none-any.whl Python 3 none any Details for ollama_gui-1.3.1-py3-none-any.whl

Total release size: 30.3 kB

Release files / ollama_gui-1.3.1.tar.gz

Download URL ollama_gui-1.3.1.tar.gz
Size 18.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8a39f791f81289740dc18c3106a8a21fb98dde5587b7a5a3fa2fa6dea5d66757
BLAKE2b-256 checksum
How to use checksums
631648c2eab2de3549b7bf7062e2c32b472cd15efa99262a9cff179c14d49d78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / ollama_gui-1.3.1-py3-none-any.whl

Download URL ollama_gui-1.3.1-py3-none-any.whl
Size 11.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d1a54d499b5fd3a2dfe1d6067c28297d017574670545ce2efc9fd48b47ceae9
BLAKE2b-256 checksum
How to use checksums
a9f9646245dade3597b1ad3c9458049d8ac23bdae8a86f9650f74ec617b20998
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for ollama-gui 1.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page