r/coolgithubprojects • u/Njakuzure • 2h ago
Lanner: a GTK 4 / libadwaita app for monitoring local AI coding agent usage, cost, and response speed
github.comI just tagged v0.1.0 of Lanner, a native GTK 4 and libadwaita desktop app written in Rust that reads local logs from AI coding agents (Claude Code, Codex, Antigravity, Grok Build, Pi) and visualizes spend, token breakdown, session timelines, and model speed/latency.
Repo: https://github.com/Konakonai/lanner
Flatpak bundle (GNOME 49 runtime, ~2.6 MB): https://github.com/Konakonai/lanner/releases/latest
A few GNOME / technical details:
- Built directly on libadwaita's semantic colors (`@window_bg_color`, `@card_bg_color`, `--accent-color`), so it follows system light/dark and accent themes cleanly without hardcoding a custom stylesheet over it.
- Custom Cairo/Pango charts for the session timeline, stacked history bars, 53-week heatmap, and per-model TTFT / tok/s distributions.
- Live file watching (`notify`) + incremental SQLite parse cache (`~/.cache/lanner`) so restarts only parse changed files.
- Strict read-only Flatpak sandbox: no `--filesystem=home`, only `:ro` binds for the specific agent log directories plus network access for fetching public pricing from models.dev / OpenRouter.
Planning to submit to Flathub once any early 0.1.x rough edges are ironed out. Would love any HIG or UI feedback from folks here!