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

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…


This content originally appeared on DEV Community and was authored by chyok

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-1-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

  • 🎨 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.

Run

Choose any way you like:

source code

python ollama_gui.py

using pip

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 content originally appeared on DEV Community and was authored by chyok


Print Share Comment Cite Upload Translate Updates
APA

chyok | Sciencx (2024-07-14T06:08:35+00:00) A Simple Python Tkinter-based Ollama GUI with no external dependencies. Retrieved from https://www.scien.cx/2024/07/14/a-simple-python-tkinter-based-ollama-gui-with-no-external-dependencies/

MLA
" » A Simple Python Tkinter-based Ollama GUI with no external dependencies." chyok | Sciencx - Sunday July 14, 2024, https://www.scien.cx/2024/07/14/a-simple-python-tkinter-based-ollama-gui-with-no-external-dependencies/
HARVARD
chyok | Sciencx Sunday July 14, 2024 » A Simple Python Tkinter-based Ollama GUI with no external dependencies., viewed ,<https://www.scien.cx/2024/07/14/a-simple-python-tkinter-based-ollama-gui-with-no-external-dependencies/>
VANCOUVER
chyok | Sciencx - » A Simple Python Tkinter-based Ollama GUI with no external dependencies. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/07/14/a-simple-python-tkinter-based-ollama-gui-with-no-external-dependencies/
CHICAGO
" » A Simple Python Tkinter-based Ollama GUI with no external dependencies." chyok | Sciencx - Accessed . https://www.scien.cx/2024/07/14/a-simple-python-tkinter-based-ollama-gui-with-no-external-dependencies/
IEEE
" » A Simple Python Tkinter-based Ollama GUI with no external dependencies." chyok | Sciencx [Online]. Available: https://www.scien.cx/2024/07/14/a-simple-python-tkinter-based-ollama-gui-with-no-external-dependencies/. [Accessed: ]
rf:citation
» A Simple Python Tkinter-based Ollama GUI with no external dependencies | chyok | Sciencx | https://www.scien.cx/2024/07/14/a-simple-python-tkinter-based-ollama-gui-with-no-external-dependencies/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.