linky
is a simple link-checker for websites. Given a start URL which returns HTML it will recursively fetch all referenced URLs and check if they return a valid result. It does not leave the domain it was started on, so it is suitable for testing a complete website without leaving to external sites.
If you have a current (>=1.19) go installation you can simply do:
go install github.com/xperimental/linky@latest
Binary release can be found on the Releases page.
There's also a Docker image ghcr.io/xperimental/linky
.
Usage: linky [options] URL
Options:
-i, --ignore-referrer Ignore referrer when checking for duplicate URLs.
-q, --quiet Only show errors.
-v, --verbose Show all requests including skipped.