Skip to content
Projects

About

A local LLM chat client for macOS built with Qt 6 and llama.cpp: streaming Markdown, KV-cache reuse, multimodal input, multi-session management and model downloads.

AI & Machine Learning

How these counts are measured

What you can do

  • Streaming Markdown chat: token-by-token output with theme-aware code blocks, tables, quotes and task lists
  • KV reuse for long chats; automatic omission of older messages when the context fills up, or one-click compression into a summary
  • Multimodal image Q&A after loading an mmproj projector (up to 4 images)
  • Multi-session management: new / switch / rename / delete, auto-saved and restored on launch; export to Markdown or JSON

Measured star growth

in 24h
Collecting history
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

qllama · Qt + llama.cpp Local LLM Chat Client

A local LLM chat client built with Qt 6 Widgets (macOS / Apple Silicon) that talks directly to the llama.cpp 0.9.0 C API. Metal accelerated, streaming and fully offline.

Features

  • Streaming Markdown chat: token-by-token output with theme-aware code blocks, tables, quotes and task lists
  • KV reuse for long chats; automatic omission of older messages when the context fills up, or one-click compression into a summary
  • Multimodal image Q&A after loading an mmproj projector (up to 4 images)
  • Multi-session management: new / switch / rename / delete, auto-saved and restored on launch; export to Markdown or JSON
  • Hugging Face model manager: search and download GGUF files (automatic fallback to a mirror)
  • Three themes (light / dark / pink) and live Chinese / English switching
  • Status-bar system monitor and file logging; ./pack.sh builds a DMG, with GitHub Actions automation

Screenshots

Chat in the dark theme

Basic settings Advanced settings
Settings dialog in basic mode Settings dialog in advanced mode

Model manager

Requirements

  • macOS / Apple Silicon (Metal; macOS only for now)
  • Qt 6 (Widgets / Network) ≥ 6.5, plus qtsvg (Homebrew qt qtsvg)
  • llama.cpp 0.9.0 (including tools/mtmd), with build/bin/*.dylib built first
  • CMake ≥ 3.21 and Ninja

Build & Run

# Build llama.cpp first (anywhere)
cd <llama.cpp source dir> && cmake -B build && cmake --build build

# Build and run qllama
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release \
      -DLLAMA_CPP_DIR=<llama.cpp source dir>
cmake --build build
open build/qllama.app

Usage

  1. Pick a GGUF model and click "Load Model", or download one from Hugging Face via "Manage Models";
  2. Adjust sampling, context, theme, language and projector settings in "Settings" (some changes require a model reload);
  3. Enter sends, Shift+Enter inserts a newline; stop generation at any time; add up to 4 images;
  4. Use the session list on the left to create / switch / rename / export (Markdown or JSON) / delete conversations. Chats are saved automatically and restored on restart.

Packaging

./pack.sh builds, deploys dependencies, signs and produces dist/qllama-<version>-<arch>.dmg; use --no-build / --no-verify to skip the build or launch check. Pushing a v* tag makes GitHub Actions build and publish the DMG. The bundle is ad-hoc signed: if Gatekeeper blocks the first launch, allow it under System Settings → Privacy & Security.

Tests & Data

  • ctest --test-dir build --output-on-failure: model-free core tests; build/qllama_smoke is a headless smoke test
  • Logs: ~/Library/Logs/qllama/qllama.log
  • Sessions: ~/Library/Application Support/qllama/qllama/sessions/

Known Limitations

  • macOS only (Metal dependency);
  • Markdown is a lightweight subset: no image syntax or syntax highlighting;
  • On 8 GB machines, keep the context of gemma-3-4b (Q4_K_M) at 16384 or below.

Explore related projects

Loading…