diff --git a/pages/common/lychee.md b/pages/common/lychee.md new file mode 100644 index 000000000..494935477 --- /dev/null +++ b/pages/common/lychee.md @@ -0,0 +1,24 @@ +# lychee + +> Find broken URLs. +> More information: . + +- Scan a website for broken links: + +`lychee {{https://example.com}}` + +- Display a breakdown of error types: + +`lychee --format detailed {{https://example.com}}` + +- Limit the amount of connections to prevent DDOS protection: + +`lychee --max-concurrency {{5}} {{links.txt}}` + +- Check files in a directory structure for any broken URLs: + +`grep -r "{{pattern}}" | lychee -` + +- Display help: + +`lychee --help`