Fast, async, stream-based link checker written in Rust. Finds broken URLs and mail addresses inside Markdown, HTML, reStructuredText, websites and more!
Find a file
2020-08-08 00:09:10 +02:00
assets Add logging and proper URL parsing 2020-08-07 19:00:21 +02:00
fixtures Add logging and proper URL parsing 2020-08-07 19:00:21 +02:00
src Only request unique URLs 2020-08-08 00:09:10 +02:00
.gitignore Extract from hello-rust/show repository 2020-08-05 00:32:37 +02:00
Cargo.lock Clean up error handling and configure reqwests 2020-08-08 00:06:17 +02:00
Cargo.toml Clean up error handling and configure reqwests 2020-08-08 00:06:17 +02:00
README.md check normal link first and only if it fails use Github api 2020-08-05 01:44:16 +02:00

lychee

...because who says I can't write yet another link checker.

What?

This thing was created from Hello Rust Episode 10. It's a link checker that treats Github links specially by using a GITHUB_TOKEN to avoid getting blocked by the bot protection.

How?

cargo install lychee

Set an environment variable with your token like so GITHUB_TOKEN=xxxx.

Run it inside a repository with a README.md or specify a different Markdown file with

lychee --input <yourfile.md>

Thanks

...to my Github sponsors and Patreon sponsors for supporting these projects. If you want to help out as well, go here.