From d65d23ce178b68356d537134fbd45a3114d17053 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Mon, 1 Aug 2022 22:14:47 +0200 Subject: [PATCH] init --- Dockerfile | 5 +++++ README.md | 27 +++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 Dockerfile create mode 100644 README.md 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 +```