Post

A Simple Python Tkinter-based Ollama GUI with no external dependencies

Ollama-GUI

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.

ollama-gui-1 2 0

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

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

Run

Choose any way you like:

source code

1
python ollama_gui.py

using pip

1
2
pip install ollama-gui
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

This post is licensed under CC BY 4.0 by the author.

Trending Tags