Skip to main content

A GTK graphical interface for chatting with large language models (LLMs)

Project description

GTK LLM Chat

A GTK graphical interface for chatting with large language models (LLMs).

screenshot

Features

  • Simple and easy-to-use graphical interface built with GTK
  • Support for multiple conversations in independent windows
  • Integration with python-llm for chatting with various LLM models
  • Modern interface using libadwaita
  • Support for real-time streaming responses
  • Message history with automatic scrolling
  • Keyboard shortcuts (Enter to send, Shift+Enter for new line)

Installation

pipx install llm               # required by gtk-llm-chat
llm install gtk-chat

System Requirements

  • llm
  • Python 3.8 or higher
  • GTK 4.0
  • libadwaita
  • libayatana-appindicator

On Debian/Ubuntu-based systems:

sudo apt install python3-gi python3-gi-cairo gir1.2-gtk-4.0 libadwaita-1-0 libayatana-appindicator3-1

Usage

Run the application:

llm gtk-applet

or for an individual chat:

llm gtk-chat

With optional arguments:

llm gtk-chat --cid CONVERSATION_ID  # Continue a specific conversation
llm gtk-chat -s "System prompt"  # Set system prompt
llm gtk-chat -m model_name  # Select specific model
llm gtk-chat -c  # Continue last conversation

Development

To set up the development environment:

git clone https://github.com/icarito/gtk-llm-chat.git
cd gtk-llm-chat
python -m venv venv
source venv/bin/activate
pip install -e ".[dev]"

License

GPLv3 License - See LICENSE file for more details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gtk_llm_chat-2.0.3.tar.gz (322.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gtk_llm_chat-2.0.3-py3-none-any.whl (42.0 kB view details)

Uploaded Python 3

File details

Details for the file gtk_llm_chat-2.0.3.tar.gz.

File metadata

  • Download URL: gtk_llm_chat-2.0.3.tar.gz
  • Upload date:
  • Size: 322.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.2

File hashes

Hashes for gtk_llm_chat-2.0.3.tar.gz
Algorithm Hash digest
SHA256 78b6dd529fed39d7e5e3168a9cbe8a2d068ceb6f7215d946453aa18cf5fb848c
MD5 31aaafc139d46a1fd2eb79a0ac598a35
BLAKE2b-256 1d0e5f9d6f31c6391f003de7aa2c082a8a8a37911875f603d23a79578582c305

See more details on using hashes here.

File details

Details for the file gtk_llm_chat-2.0.3-py3-none-any.whl.

File metadata

  • Download URL: gtk_llm_chat-2.0.3-py3-none-any.whl
  • Upload date:
  • Size: 42.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.2

File hashes

Hashes for gtk_llm_chat-2.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 da11ea44e9158d1fa8c8c80d928ec3f4a515a4c89b620ad87ed84d57944188cd
MD5 94082cd681ab656d273fff2ac2866a9c
BLAKE2b-256 eaba33f08b9b1b386b55b96eaeb9c4e64b74c1a0b4911d55782d3b4502f14765

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page