A native git diff viewer with an on-demand LLM explanation pane, covering a single file, all tracked changes, or any past commit. You stay in the review loop; the model just gets you there faster.
Diff tools show what changed. Magik Diff adds a right-hand pane that explains why it matters, and only when you ask for it — never automatically, never per hunk. Review and judgment stay yours; the model shortens the path to them. The tool is strictly read-only: it never stages, commits, or checks anything out.
Each file's diff renders as unified (+/- inline) or split (old file on the left, new on the right, changes tinted). The Unified/Split toggle sits next to the file name and persists across files.
| Keys | Action |
|---|---|
Ctrl/Cmd + M |
Open LLM config |
Ctrl/Cmd + B |
Show/hide the Changes/History pane |
Ctrl/Cmd + + / - |
Zoom in / out |
Ctrl/Cmd + 0 |
Reset zoom |
F11 |
Toggle zen mode |
Esc |
Close open menu |
Built-in checks appear as buttons beside Explain. Each one runs against any diff or commit as an independent LLM call with its own prompt, and shows its results in a scrollable panel.
language-consistency— Flags identifiers that are not English, or that mix two languages in one symbolhardcoded-secrets— Flags keys, tokens, passwords and other credentials that the change adds as literal values
mdiff launch the GUI
mdiff --version, -v show version
mdiff --help, -h show this helpA native desktop binary built with Wails (Go backend, React frontend). It must be compiled on the target OS.
./build-win.ps1Builds build/bin/mdiff.exe.
./build-linux.shBuilds build/bin/mdiff (amd64, webkit2_41).
No build script yet; use Wails directly:
wails build- Go >= 1.25
- Wails CLI
- Node.js (for the frontend build, invoked automatically by Wails)
- An OpenAI-compatible HTTP endpoint for the explain feature (any provider, no SDK lock-in)
MIT © koder0x
