ollama-gui  by chyok

Lightweight GUI for local LLM interaction

Created 1 year ago
259 stars

Top 97.7% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

This project offers a minimalist, single-file Tkinter-based GUI for the Ollama large language model service. It targets users seeking a straightforward, dependency-free visual interface for interacting with Ollama, simplifying model management and conversation handling.

How It Works

The GUI is implemented entirely in Python using the standard Tkinter library, eliminating external Python package dependencies. It connects to a running Ollama instance to fetch model lists, manage downloads, initiate conversations, and display generated text. The single-file design and reliance on built-in libraries ensure rapid setup and broad compatibility.

Quick Start & Requirements

  • Installation:
    • Source: python ollama_gui.py
    • Pip: pip install ollama-gui
    • Binary: Pre-compiled binaries available for Windows, Mac (Apple Silicon), and Linux.
  • Prerequisites: An Ollama service must be installed and running. Tkinter is typically bundled with Python; ensure it's available (e.g., sudo apt-get install python3-tk on Ubuntu, brew install python-tk on macOS, or check Python installer options on Windows).
  • Links: Ollama setup: Ollama, Ollama Github.

Highlighted Details

  • Single-file Python project with zero external dependencies.
  • Automatic detection and listing of Ollama models.
  • Support for customizable Ollama host configurations.
  • Features model management (download/delete) and conversation history (save/load, editable).
  • Includes a menu bar, right-click context menus, and the ability to stop generation.
  • Enhanced UI with bubble dialog themes.

Maintenance & Community

No specific details regarding maintainers, community channels (e.g., Discord, Slack), or project roadmap are provided in the README.

Licensing & Compatibility

Licensed under the MIT License. This license is permissive and generally allows for commercial use and integration into closed-source projects.

Limitations & Caveats

  • Mac Sonoma Tcl/Tk Issue: Users on macOS Sonoma may experience GUI unresponsiveness if using Tcl/Tk versions older than 8.6.13. Updating Python to 3.11.7+ or 3.12+ is recommended.
  • Tkinter Availability: An ImportError: No module named 'Tkinter' may occur if Tkinter is not installed with the Python environment, necessitating manual installation.
Health Check
Last Commit

4 months ago

Responsiveness

Inactive

Pull Requests (30d)
1
Issues (30d)
0
Star History
10 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems") and Yaowei Zheng Yaowei Zheng(Author of LLaMA-Factory).

AstrBot by AstrBotDevs

2.4%
30k
LLM chatbot/framework for multiple platforms
Created 3 years ago
Updated 20 hours ago
Feedback? Help us improve.