joshbeard/Link Validator
Check for broken links (4xx, 5xx) on a website using sitemap or crawling
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| sitemap-url | URL to sitemap.xml to check links from | no | — |
| base-url | Base URL to crawl for links (used if sitemap-url not provided) | no | — |
| max-depth | Maximum crawl depth when using base-url | no | 3 |
| timeout | Request timeout in seconds | no | 30 |
| user-agent | User agent string for requests | no | Link-Validator/1.0 |
| exclude-patterns | Comma-separated list of URL patterns to exclude (regex supported) | no | — |
| fail-on-error | Whether to fail the action if broken links are found | no | true |
| max-concurrent | Maximum number of concurrent requests | no | 10 |
| verbose | Show detailed output for each link checked | no | false |
Outputs
| name | description |
|---|---|
| broken-links-count | Number of broken links found |
| broken-links | JSON array of broken links with details |
| total-links-checked | Total number of links checked |