SkillAgentSearch skills...

Kompari

Image Diff for snapshot testing

Install / Use

/learn @linebender/Kompari
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<p align="center"> <img src='docs/logo.png' width='128'> </p>

Kompari

Kompari is a tool for reporting image differences. It is intended for use in snapshot testing. It can be used as a stand-alone CLI tool or as a Rust crate.

<img src='docs/screenshot.png' width='100%'>

CLI

Local build

$ cargo build --release

Usage

Create static HTML report:

$ cargo run --release report <left/image_dir> <right/image_dir>

Start HTTP server for interactive test blessing:

$ cargo run --release review <left/image_dir> <right/image_dir>

Minimum supported Rust Version (MSRV)

This version of Kompari has been verified to compile with Rust 1.85 and later.

Future versions of Kompari might increase the Rust version requirement. It will not be treated as a breaking change and as such can even happen with small patch releases.

<details> <summary>Click here if compiling fails.</summary>

As time has passed, some of Kompari's dependencies could have released versions with a higher Rust requirement. If you encounter a compilation issue due to a dependency and don't want to upgrade your Rust toolchain, then you could downgrade the dependency.

# Use the problematic dependency's name and version
cargo update -p package_name --precise 0.1.1
</details>

License

Licensed under either of

at your option.

View on GitHub
GitHub Stars52
CategoryDevelopment
Updated3d ago
Forks4

Languages

Rust

Security Score

95/100

Audited on Apr 2, 2026

No findings