← All tools

vetcoders/prview-rs

Popularity 70 Updated Development & Build

High-signal PR review CLI: cross-language checks, artifact packs, SARIF findings, merge gates

githubauto-collected

Installation

A directly usable install command is not verified yet. Check the project documentation or releases.

<p align="center" <img src="assets/branding/readme-banner.png" alt="prview — surfaces the signal before merge" width="760" </p

<p align="center" <emsurfaces the signal before merge</em </p

<p align="center" <codepull request</code · <coderust cli</code · <codediff intelligence</code </p

<p align="center" <a href="https://github.com/vetcoders/prview-rs/actions/workflows/ci.yml"<img src="https://github.com/vetcoders/prview-rs/actions/workflows/ci.yml/badge.svg" alt="CI"</a <a href="https://crates.io/crates/prview"<img src="https://img.shields.io/crates/v/prview.svg" alt="crates.io"</a <a href="LICENSE"<img src="https://img.shields.io/badge/License-BUSL--1.1-blue.svg" alt="License: BUSL-1.1"</a </p

---

prview reads a pull request the way a good reviewer does: it separates signal from noise. It compares a branch against one or more bases, runs language-aware checks, computes structural heuristics, and emits both human- and machine-readable review packs — so you see the risk before you merge, not after.

No dashboards to babysit. No "powerful insights." Just the things that would block the merge, surfaced early.

1 failed check · test changes matched for 3/4 source files · 1 public API change

Why prview

  • One human review entry point — dashboard.html guides you through changes, check results, failure evidence and provenance, with an offline reader for the underlying artifacts.
  • Signal, not noise — high-signal review pack: PRREVIEW.md, compact failure summaries, source-to-test matching, breaking changes.
  • Merge decision support — policy-aware MERGEGATE.json/.md and optional per-finding INLINEFINDINGS.sarif.
  • Multi-language — JavaScript/TypeScript, Rust, Python, or mixed repos.
  • Fast — native Rust binary, parallel checks, git2 for git operations.
  • Structural heuristics — Loctree candidates with files, symbols and source locations across Rust/JS/TS/Python; inspect the evidence before concluding that code is unused or duplicated.
  • Made for agents — a compact AIINDEX.md entry point plus a native MCP server.
  • Shell completions — bash, zsh, fish, elvish, powershell.

Install

Quickest — download the latest checksum-verified release binary into ~/.local/bin (no sudo):

curl -fsSL https://raw.githubusercontent.com/vetcoders/prview-rs/main/install.sh | sh

The installer is fail-closed: it installs an official binary whose checksum, macOS signature and notarization, and build provenance all verify — or it installs nothing and exits non-zero. It has no source-build fallback and never runs cargo on your machine.

From crates.io:

cargo install prview --locked --force

--force overwrites any older prview in place, so upgrades are seamless; it is harmless on a clean machine.