init
This commit is contained in:
commit
d65d23ce17
|
@ -0,0 +1,5 @@
|
||||||
|
FROM node:16
|
||||||
|
|
||||||
|
RUN npm install -g broken-link-checker
|
||||||
|
|
||||||
|
ENTRYPOINT ["/usr/local/bin/broken-link-checker"]
|
|
@ -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
|
||||||
|
```
|
Loading…
Reference in New Issue