This commit is contained in:
Simon Vieille 2022-08-01 22:14:47 +02:00
commit d65d23ce17
Signed by: deblan
GPG Key ID: 579388D585F70417
2 changed files with 32 additions and 0 deletions

5
Dockerfile Normal file
View File

@ -0,0 +1,5 @@
FROM node:16
RUN npm install -g broken-link-checker
ENTRYPOINT ["/usr/local/bin/broken-link-checker"]

27
README.md Normal file
View File

@ -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 `<a href>`
* Supports redirects, absolute URLs, relative URLs and `<base>`
* 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
```