Skip to content
Projets

À propos

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.

IA et apprentissage automatique

Comment ces chiffres sont mesurés

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

Progression mesurée des étoiles

in 24h
Historique en cours
in 7 days
Historique en cours
in 15 days
Historique en cours
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

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.

Explorer des projets similaires

Chargement…