sireg
Browse documentation

Catch broken routes
before you ship.

Check routes from your live sitemap against a local build, preview, or staging site.

Run it locally

Start your site, then run this in a terminal with Node.js 20 or newer.

CLI command
npx --yes sireg@1.1.0 check \
  --sitemap 'https://example.com/sitemap.xml' \
  --origin 'http://127.0.0.1:8000' \
  --expect-status 200
How to serve a local build

From your terminal to CI

  1. Try the CLI locally

    Serve your local build and run the command above. Start with a small random sample to confirm you’re checking the right site.

  2. Define a test suite

    Decide which routes must pass every run and where sampling is enough. Commit the config and choose a report for investigating failures.

  3. Run the suite before merge

    Run your saved suite against a preview deployment or a site built in CI.