shravanngoswamii/HTML Link Processor

Post-process a static HTML site: add rel=nofollow/noopener/noreferrer, target=_blank, strip tracking, check links.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
site-dirPath to the generated static site directoryno__site
nofollowAdd rel="nofollow" to linksnofalse
noopenerAdd rel="noopener" to linksnofalse
noreferrerAdd rel="noreferrer" to linksnofalse
external-onlyWhen true (default), rel/target modifications only apply to external links (href starting with http:// or https://). Set to false to apply to all links. notrue
external-target-blankAdd target="_blank" to external linksnofalse
strip-tracking-paramsStrip common tracking query parameters from external URLs (utm_*, fbclid, gclid, msclkid, twclid, mc_eid, ref). nofalse
check-linksCheck external links with browser-like HTTP requests and report broken or blocked URLsnofalse
fail-on-brokenExit with error code if any broken links are found (requires check-links: true)nofalse
fail-on-blockedExit with error code if any links are blocked by remote anti-bot or auth defensesnofalse
ignore-patternsComma-separated list of regex patterns. Matching URLs are skipped during link checking. Example: "localhost,example\\.com,staging\\." no""
timeoutTimeout in milliseconds for each link-check requestno5000
concurrencyMaximum number of concurrent link-check requestsno20
user-agentUser-Agent header used for link-check requestsnoMozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36
accept-languageAccept-Language header used for link-check requestsnoen-US,en;q=0.9
retry-with-get-statusesComma-separated HTTP status codes that should retry with GET after an initial HEAD requestno401,403,405,406,999
blocked-statusesComma-separated HTTP status codes that should be classified as blocked instead of brokenno401,403,429,999
max-redirectsMaximum number of redirects to follow per external URLno5
namedescription
modified-filesNumber of HTML files that were modified
broken-linksJSON array of broken link objects { url, status } (empty array when check-links is false)
blocked-linksJSON array of blocked link objects { url, status } (empty array when check-links is false)
checked-linksTotal number of unique external links checked