No description
Find a file
2026-03-03 15:41:29 +01:00
src tests for existing flow 2026-03-03 15:41:29 +01:00
.gitignore init 2025-08-26 23:15:28 +02:00
Cargo.toml tests for existing flow 2026-03-03 15:41:29 +01:00
README.md fix start_streaming_task conversation Vec, remove dead code, plumbing for extensions 2026-03-03 13:43:10 +01:00

Minimal Ollama Gtk-4 client

A minimal, native GTK4 desktop client for Ollama with real-time streaming and markdown support.

Installation

Dependencies

Ubuntu/Debian

sudo apt install libgtk-4-dev build-essential

Fedora

sudo dnf install gtk4-devel gcc

Arch Linux

sudo pacman -S gtk4 base-devel

Configuration

Configuration file is automatically created at:

  • Linux: ~/.config/ollama-chat-gtk4/config.toml
  • Windows: %APPDATA%\ollama-chat-gtk4\config.toml
  • macOS: ~/Library/Application Support/ollama-chat-gtk4/config.toml

Building

# Release build
cargo build --release
# or
cargo install --path . --root ~/.local

Configuration Options

[ui]
window_font_size = 16
chat_font_size = 18
input_font_size = 16
code_font_family = "BlexMono Nerd Font Mono"

[colors]
chat_background = "#ffffff"
code_background = "#f5f5f5"
window_background = "#fafafa"
primary_text = "#333333"
code_text = "#d63384"
link_text = "#0066cc"
think_text = "#6666cc"
send_button = "#007bff"
stop_button = "#dc3545"

[ollama]
url = "http://localhost:11434"
timeout_seconds = 120

[streaming]
batch_size = 20
batch_timeout_ms = 100

Building

# Release build
cargo build --release
# or
cargo install --path . --root ~/.local

MIT licence