Thanks to @cda for pointing me at Lychee. I wanted a tool for checking whether l...
David Chisnall (*Now with 50% more sarcasm!*) @david_chisnall@infosec.exchange
Thanks to @cda
for pointing me at Lychee. I wanted a tool for checking whether links in documentation were stale. It does everything I wanted:
- Recursively scans a directory of files.
- Parses Markdown and a few other things
- Lets me exclude paths I don't want to check.
- Lets me ignore some link targets that don't exist but will exist after a Markdown file is consumed by another tool.
- Runs very quickly (averages about 100 links checked per second, does the HTTP requests asynchronously so it isn't bottlenecked by head-of-line blocking).
- Has a GitHub Action that makes it easy to run automatically.
It also has a bunch of features I don't need right now, but which would be useful in other contexts.
Probably useful to other folks too!