native · rust + egui · linux

purview.

Code review for the age of AI-written code.

The diff is an overlay, not the work.

Every review tool treats the pull request as the unit of work. But for AI-generated code, the question isn't "did the author slip up" — it's "does this fit the codebase that already exists." So purview is a codebase IDE with the diff painted on top: full files, real navigation, with Claude as a first-class participant — not a diff viewer with context bolted on.

What it does

Two-axis views

Inline ⇄ Split for layout, Summary ⇄ Full for extent. Full shows the whole file with the change overlaid in place.

Per-hunk review

Approve, reject, or comment each hunk. Progress tracking tells you what's left. Export a report or hand it to Claude.

Go to definition

Click a symbol, press F12. git grep for recall, Haiku for precision — no language server, no setup, works across C++/proto/anything.

MCP-native

Attach your terminal Claude to the review over MCP. It reads what you flagged and replies inline — the agent that wrote the PR answers for it.

Inline edits

Spot a small fix mid-review? Double-click the line, change it, written straight back to disk.

Fast on a monorepo

Virtualized rendering, lazy syntax highlighting. A 50k-line file opens in milliseconds, not seconds.

Install

# Ubuntu / Debian, amd64 (built for glibc 2.34+, works on 22.04 and newer)
sudo apt install ./purview_0.1.0-1_amd64.deb

# review any repo
purview                 # current directory
purview /path/to/repo

# attach a terminal Claude to the review
claude mcp add purview -- purview-mcp /path/to/repo

Build from source

No package for your distro, or on a different glibc? Build it yourself — you compile against your own system libraries, so there's nothing to mismatch.

# 1. Rust toolchain (if you don't have it)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# 2. Build dependencies (Ubuntu / Debian)
sudo apt install build-essential pkg-config cmake \
  libgtk-3-dev libx11-dev libxcb1-dev libxkbcommon-dev \
  libwayland-dev libgl1-mesa-dev libfontconfig1-dev

# 3. Clone, build, install both binaries
git clone https://github.com/seangibat/purview.git
cd purview
cargo build --release
install -m755 target/release/purview target/release/purview-mcp ~/.local/bin/

Review a remote repo over SSH

Code on a remote dev box, GUI on your laptop? Point purview at it over SSH — it runs git and reads files on the remote and renders locally. No mount, no copy.

purview ssh://you@server/absolute/path/to/repo
purview ssh://you@server:2222/absolute/path     # custom port

Uses your existing SSH key + an internal connection mux, so it's snappy. Everything works remotely — diff, full files, fuzzy open, inline edits (written back over SSH), and go-to-definition (grep runs on the remote, resolution runs locally).

Keyboard

Ctrl+P  fuzzy file open
j / k  changed files
n / p  hunks
a / r / c  approve / reject / comment
F12  go to definition
g  find a symbol