Repository navigation
Installation
With Rust installed (1.89 or newer):
cargo install sitevet-cliOr a prebuilt binary. macOS and Linux:
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/Abdulkader-Safi/sitevet/releases/latest/download/sitevet-cli-installer.sh | shWindows (PowerShell):
irm https://github.com/Abdulkader-Safi/sitevet/releases/latest/download/sitevet-cli-installer.ps1 | iexBinaries for macOS (arm64, x86_64), Linux (arm64, x86_64, static musl) and Windows (x86_64) are also on the releases page.
Check it worked:
sitevet --versionThe CLI comes with the browser stage and run history built in.
cargo add sitevet
cargo add tokio --features macros,rt-multi-threadThe crate has three optional features, all off by default:
| Feature | Adds | Pulls in |
|---|---|---|
browser |
Rendered checks in a local Chrome: axe-core accessibility, Core Web Vitals, timings, render_crawl
|
chromiumoxide |
history |
The History run store |
rusqlite (bundled SQLite), zstd, directories |
media |
Reserved for the image size audit (planned) | nothing yet |
cargo add sitevet --features browser,historyWithout features the library makes no browser or database dependency part of your build.
--browser (CLI) or browser = true (library, with the browser feature) uses the Chrome or Chromium already installed on the machine. sitevet looks in the usual install places. Point it somewhere else with --chrome-path, the chrome_path option or the SITEVET_CHROME environment variable.
No Chrome? A PageSpeed Insights API key (SITEVET_PSI_KEY) fills the same accessibility and Core Web Vitals checks for the first 5 pages (psi_max_pages). See Checks and scoring.
sitevet is MIT licensed. Source, issues and releases: github.com/Abdulkader-Safi/sitevet.
Getting started
CLI
Library
Reference