Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

link-auditor

link-auditor is a fast, concurrent Go command-line tool that crawls a website, finds broken links, audits SSL/TLS certificate expiration, and produces reports in table, JSON, or Markdown format.

Why this project is useful

Use link-auditor to check:

  • broken internal and external links
  • redirect chains and status codes
  • SSL/TLS certificate expiration
  • crawl results for CI/CD quality gates

Features

  • Concurrent worker-pool crawler
  • Thread-safe URL deduplication
  • Full link classification: OK, redirect, broken, skipped
  • Redirects are followed intelligently
  • SSL/TLS certificate auditing
  • Three report formats: terminal table, JSON, Markdown
  • CI/CD-friendly exit codes

Installation

Install with Go

go install github.com/stackadnan/link-auditor@latest

Build from source

git clone https://github.com/stackadnan/link-auditor.git
cd link-auditor
go build -o link-auditor .

Usage

link-auditor scan <target_url> [flags]

Example:

link-auditor scan https://example.com

Example flags

  • --concurrency - number of worker goroutines
  • --depth - recursive crawl depth
  • --timeout - request timeout per page
  • --output - table, json, or markdown
  • --export-file - path to save the report
  • --check-ssl - check SSL/TLS certificate expiration
  • --ignore-external - skip external links
  • --verbose - print debug logs

License

MIT

About

A fast, concurrent Go CLI for crawling websites to find broken links and check SSL/TLS certificate expiration, with CI/CD-friendly reports

Topics

Resources

Code of conduct

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages