Skip to content

CLI quick start

Abdulkader Safi edited this page Nov 23, 2026 · 2 revisions

CLI quick start

Your first audit

sitevet audit https://example.com --out report.html

sitevet crawls up to 100 pages, at most 5 clicks deep, and writes one self-contained HTML file. Open it in any browser; it needs no network.

The report opens on the Pages view: categories on the left, pages in the middle with the worst score first, and the selected page's findings on the right. Press / to search pages by path or title. Press c for categories. Clicking a category hides every finding outside it. The top bar holds the other views (Overview, Site-wide, Changes) and a theme switch, which follows your system setting until you click it. No JavaScript? The views and the page list still work.

Progress goes to stderr while it runs (shortened here):

sitevet 0.6.0  https://example.com
up to 100 pages, depth 5
crawling...
crawled 5 pages, running 490 checks
1/5  https://example.com/  76/100  WARN
2/5  https://example.com/about  72/100  WARN
...
Score  71/100  WARN
  content                92  PASS  0 fail, 6 warn
  core-seo               53  WARN  11 fail, 26 warn
  ...

Report formats

The report goes to stdout, or to --out. The format follows the file extension unless --format says otherwise:

sitevet audit https://example.com --out report.md          # Markdown
sitevet audit https://example.com --format json > r.json   # JSON on stdout
sitevet audit https://example.com --format html --out r     # HTML, no extension

The JSON follows the published JSON Schema.

Common runs

# A quick look at 15 pages
sitevet audit https://example.com --max-pages 15 --out quick.html

# Accessibility and Core Web Vitals in your installed Chrome
sitevet audit https://example.com --browser --out report.html

# Only some categories
sitevet audit https://example.com --only security,links --out sec.html

# A slow, polite crawl: 1 request at a time, 500 ms apart
sitevet audit https://example.com --concurrency 1 --delay-ms 500 --out report.html

# A JavaScript-heavy site whose links only appear after scripts run
sitevet audit https://example.com --browser --render-crawl --out report.html

The other commands

Command Does
sitevet audit <url> Audits a site and writes a report
sitevet rules Lists every rule. --category security filters, --format md or json changes the output
sitevet init Writes a sitevet.toml with every setting at its default (--force overwrites)
sitevet history Lists saved runs, newest first
sitevet show <id> Renders a saved run again, without crawling
sitevet diff <a> <b> Compares two saved runs

--plain turns off colour on any command. --verbose (or -v) prints debug logs to stderr; SITEVET_LOG=sitevet=debug sets a custom filter.

Next: CLI configuration for every flag, CLI history and baselines, CLI in CI.

Clone this wiki locally