hyperlink

A command-line tool to find broken links in your static site.

Installation and Usage

Download the latest binary and:

```bash

Check a folder of HTML

./hyperlink public/

Also validate anchors

./hyperlink public/ --check-anchors

src/ is a folder of Markdown. Show original Markdown file paths in errors

./hyperlink public/ --sources src/ ```

Or as GitHub action:

yaml - uses: untitaker/hyperlink@0.1.17 with: args: public/ --sources src/

Or build from source by installing Rust and running cargo build --release.

Options

When invoked without options, hyperlink only checks for 404s of internal links. However, it can do more.

Exit codes

Alternatives

License

Licensed under the MIT, see ./LICENSE.