Skip to main content

Gamr

Git-aware Agent Monitor & Review — a TUI for reviewing AI agent work with live watching, fuzzy search, and diff preview.

Features

  • Live file watching — tree updates automatically when files change (watchdog + polling fallback)
  • Git integration — pure Python via Dulwich, no git binary required
    • File status indicators (Modified, Added, Deleted, Untracked, Staged)
    • Deleted files shown with strikethrough styling
    • Three diff modes: full file diff, gutter markers, unified diff (d/D to cycle)
    • Blame data (last author, last modified) loaded in background
    • Bulk blame via single log walk with tree diffing (fast on large repos)
    • Respects .gitignore rules
  • Three view modes — tree, flat filenames, flat relative paths (v to cycle)
  • Column sorting — click any column header to sort asc/desc/none
  • Fuzzy search — fzf-like filename filtering with RapidFuzz
  • Git status filteringg to toggle showing only modified files
  • Syntax-highlighted preview — Monokai theme, scrollable, line numbers
  • Copy file references — double-click or drag lines to copy path:line to clipboard
  • Full file diff — syntax highlighting with inline +/- markers and colored backgrounds
  • Diff overview bar — 1-column change map with 4 density modes (o to cycle: line, quadrant, sextant, braille)
  • Gradient colors — size, modification time, and git blame time columns colored by relative magnitude
  • File icons — loads from ~/.config/lsd/icons.yaml if present
  • Resizable split pane — drag the divider between tree and preview
  • Desktop-style navigation — ←/→ to collapse/expand folders, ← on file collapses parent
  • State persistence — view mode, columns, collapsed dirs, selection, filters saved between sessions
  • Preferences file~/.config/gamr/preferences.toml for user defaults (e.g., diff mode cycle)
  • Graceful degradation — works on non-git directories (hides git UI)

Install

Requires Python 3.11+.

uv sync
uv run gamr [path]

Keybindings

Key Action
/ Navigate files
j/k Navigate files (tree) or scroll (preview)
Expand directory
Collapse directory (or parent if on file)
space Toggle expand/collapse (tree) or page down (preview)
v Cycle view mode (tree → flat name → flat path)
d Cycle diff mode (full → gutter → unified)
D Cycle diff mode reverse
J/n Jump to next diff hunk (preview)
K/N Jump to previous diff hunk (preview)
o Cycle diff overview style
g Toggle git modified filter
f Toggle follow mode (auto-select last changed file)
ctrl+f Focus search input
b Toggle blame columns (last author, git time)
17 Toggle individual columns
O Open file in default app (macOS)
tab Switch focus between tree and preview
ctrl+p Command palette (spaced paths, gradient toggle)
q Quit (saves state)

Column headers are clickable to sort (ascending → descending → none).

Architecture

src/gamr/
├── app.py                  # Textual app, keybindings, orchestration
├── commands.py             # Command palette provider
├── models.py               # FileEntry, GitStatus, DiffMode, etc.
├── state.py                # Persistent state management
├── preferences.py          # User preferences (~/.config/gamr/preferences.toml)
├── gamr.tcss               # Stylesheet
├── services/
│   ├── diff_parser.py      # Unified diff parsing into DiffData
│   ├── file_scanner.py     # Watchdog + polling fallback + git state watcher
│   ├── file_index.py       # Merges scanner + git into FileEntry list
│   ├── git_provider.py     # GitProvider ABC + Dulwich implementation
│   ├── filter.py           # Fuzzy and status filtering
│   └── icons.py            # lsd icons.yaml loader
└── widgets/
    ├── file_tree_table.py  # DataTable with tree semantics
    ├── tree_data.py        # Tree building and sorting logic
    ├── toolbar.py          # Toolbar (logo + search input)
    ├── preview_pane.py     # Syntax highlighting + diff view
    └── split.py            # Resizable horizontal split

Dependencies

Tests

uv run pytest

Documentation

Download files

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

Source Distribution

gamr-0.1.13.tar.gz (196.9 kB view details)

Uploaded Source

Built Distribution

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

gamr-0.1.13-py3-none-any.whl (50.0 kB view details)

Uploaded Python 3

File details

Details for the file gamr-0.1.13.tar.gz.

File metadata

  • Download URL: gamr-0.1.13.tar.gz
  • Upload date:
  • Size: 196.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for gamr-0.1.13.tar.gz
Algorithm Hash digest
SHA256 bdb00a5548ec8afc285b5b2cfe1fd817961a7614163247ce3ff41ac8a1504c05
MD5 58396198791c26d0844c2eb8175764f8
BLAKE2b-256 bc66be4de64f3bc5a190f5d2cf129c506fb70434d220d863a1d01e03029b03f9

See more details on using hashes here.

File details

Details for the file gamr-0.1.13-py3-none-any.whl.

File metadata

  • Download URL: gamr-0.1.13-py3-none-any.whl
  • Upload date:
  • Size: 50.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for gamr-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 aeb49b49dbc72282d4164e0aae1d7164e07385627430241f7f1eb128112cdfd2
MD5 17246272a26acf3165a466625e4ac768
BLAKE2b-256 bd8ab01067ea6ab566f9e73954c0e6306330b38b2e61180d045bb458a2ba6435

See more details on using hashes here.

Release history Release notifications | RSS feed

0.4.0

2 files

0.3.0

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

This release

0.1.13 This release

2 files

0.1.12

2 files

0.1.11

2 files

0.1.10

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page