commit d65d23ce178b68356d537134fbd45a3114d17053 Author: Simon Vieille Date: Mon Aug 1 22:14:47 2022 +0200 init diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..60d2202 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM node:16 + +RUN npm install -g broken-link-checker + +ENTRYPOINT ["/usr/local/bin/broken-link-checker"] diff --git a/README.md b/README.md new file mode 100644 index 0000000..e143a4f --- /dev/null +++ b/README.md @@ -0,0 +1,27 @@ +# broken-link-checker + +Docker image to run [broken-link-checker](https://www.npmjs.com/package/broken-link-checker). +Find broken links, missing images, etc in your HTML. + +## Features: + +* Stream-parses local and remote HTML pages +* Concurrently checks multiple links +* Supports various HTML elements/attributes, not just `` +* Supports redirects, absolute URLs, relative URLs and `` +* Honors robot exclusions +* Provides detailed information about each link (HTTP and HTML) +* URL keyword filtering with wildcards +* Pause/Resume at any time + +## How to + +``` +docker run -it deblan/node-broken-link-checker https://www.example.com -ro +``` + +To get help, run: + +``` +docker run -it deblan/node-broken-link-checker --help +```