Vibeleaderboard
Index / tool
Visit github.com
Category
Developer Tools
Rank
No. 1426Tools index

Previous survey · No. 1390 ·

Pricing
Open Source
Type
TOOL
Use case
Coding
Interfaces
CLI
GitHub
62 stars
Latest release
v0.1.11
Date

About

A terminal workspace written in Zig for reviewing Git changes, browsing source files and exploring history. It offers unified or side-by-side diffs, Vim-style navigation, repository and branch switching, and staging, committing and syncing of changes. It keeps the repository, file path, commits and comparison basis visible so you know what context you are viewing.

At a glance

GitFrame puts worktree changes, source browsing, commit history and branch comparisons in one terminal interface. It is worth trying if you keep switching between Git commands to review your own changes and want to stay oriented to the same file or branch.

Good fit

Terminal-first developers reviewing and staging changes in local Git worktrees.

Consider something else when

Skip it if you need pull-request comments, interactive rebase or native Windows support.

Start here

Open a scratch worktree with one staged and one unstaged change. Inspect both in Changes, then open Compare and select your base branch to see what the committed branch introduces.

Cost and requirements

MIT-licensed. Requires Git 2.45.1 or later and an interactive terminal. The prebuilt binaries target Apple Silicon on macOS 15 or later and x86-64 Linux with kernel 5.15 and glibc 2.35 or later.

Limits to know

Compare shows committed changes since the selected base and HEAD diverged. Use Changes for uncommitted edits. Push and pull act on the repository remote, so check the target shown before confirming.

Suggest an improvement
Read the source review

What it does

GitFrame is a keyboard-driven program you run inside a Git checkout. It has four screens you switch between with the number keys: pending edits you can stage file by file or hunk by hunk and then commit, a file browser over the whole source tree, a commit log where you can pick a single commit or a span of them, and a branch comparison measured from where the two branches split. It relies on the Git already installed on your machine for every operation and refuses to start if that Git is older than 2.45.1.

Why it's ranked here

A deliberately narrow tool with careful edges around anything destructive. Discard works only on unstaged tracked changes and asks first. Amend asks because it rewrites history. Push shows the destination branch and remote before it runs, and pull is fast-forward only and will not stash your work behind your back. It is MIT licensed, installs as a prebuilt binary through Homebrew or mise, and lists what it will not do up front. The cost is reach: binaries cover Apple Silicon Macs and x86_64 Linux, and Windows is out of scope.

What's good

Configuration is strict in a useful way. A misspelled section or key, a duplicated setting, or a refresh interval outside 1 to 60 seconds stops startup with a named error instead of being quietly ignored. Custom key bindings are checked against each other and against the movement keys, so two actions cannot land on one key by accident. Copying a selection from the file browser can carry the repository, path and line numbers along with the code, which is what you want when pasting into an issue or a prompt. Credentials never touch its config; remote operations reuse your existing Git login setup.

Tradeoffs

Platform support is tight: prebuilt binaries need macOS 15 or newer on Apple Silicon, or x86_64 Linux with kernel 5.15 and glibc 2.35 or newer. Building from source needs Zig 0.16.0 or newer. The project says plainly it is not an editor, offers no interactive rebase or commit graph, and does not talk to GitHub or any other hosting service, so pull request discussion still happens in a browser. Reviewed-file marks last only for the session and the line-wrap choice resets on restart. The version number is still in the 0.1 series.

How to use it well

Best for someone who already works in a terminal and wants a calm place to read their own diff before committing: stage hunk by hunk, mark files as reviewed, hide the reviewed ones, then commit and push without leaving the screen. It also opens a saved patch file or a commit range read-only, which suits checking a coding agent's output or a colleague's branch locally. Set your VISUAL or EDITOR variable so the open-in-editor key lands in the editor you use. It does not cover merge conflict resolution, history rewriting beyond amend, or hosted review threads.

Technical notes+

src/main.zig runs git --version at startup, parses it as a semantic version, and exits before any UI if it is below 2.45.1; the terminal is started with the legacy keyboard protocol so IME and language toggles stay in the terminal layer. src/config.zig reads an optional TOML file from a gitframe directory under XDG_CONFIG_HOME (falling back to ~/.config), capped at 64 KiB, with sections editor, theme, keymap, remote and reload; unknown sections or keys, duplicate reload keys and intervals outside 1..60 are hard errors, and the remote section deliberately accepts no keys. Recent repositories persist as JSON under XDG_STATE_HOME. src/keymap.zig defines 41 public actions; fetch ships with no default key, and validateConfig rejects bindings on reserved keys (h, j, k, l, n, p, q, a, Tab, Enter, arrows) and duplicate bindings other than the shared y copy actions. src/app/git_ops.zig resolves push, pull and fetch targets only from a fresh branch-status snapshot for the active repo root: push returns pull_first when behind, refuses with nothing ahead, and with no upstream defaults to origin in set-upstream mode. src/diff/parser.zig uses hunk line counts as file boundaries for plain patches without diff --git headers, decodes C-quoted paths, and keeps CR bytes in hunk bodies. build.zig.zon pins Chasen and Chasen UI by commit and declares flow-syntax as an on-demand dependency for optional Tree-sitter highlighting.

Observed

License
MIT
Language
Zig (minimum Zig 0.16.0 to build)
Install
Homebrew tap, mise from GitHub Releases, or source build
Prebuilt platforms
macOS 15+ on Apple Silicon; Linux x86_64 with kernel 5.15+ and glibc 2.35+
Windows
Not supported, listed as a design boundary
Runtime requirement
Git 2.45.1 or newer on PATH, checked at startup
Interface
Interactive terminal UI; command-line flags for a patch file, a commit range, auto-reload and transitions
Configuration
Optional TOML file, 64 KiB cap, unknown keys rejected
Syntax highlighting
Tree-sitter via flow-syntax, can be left out at build time
Hosting integration
None; the README rules out a provider-specific hosting client
Tests
Dedicated test modules sit alongside the source in the repository tree

Read from README.md, build.zig.zon, docs/guide.md, LICENSE, src/main.zig, src/app.zig, src/keymap.zig, src/app/git_ops.zig, src/diff/parser.zig, src/config.zig.

Similar tools

Browse all tools →

Tags

gittuicode-reviewgit-diffzigterminal

Comments (0)

No comments yet

Editorially curated, with community endorsements as a secondary signal. Corrections welcome.