Skip to content

dcycle/docker-broken-link-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dcycle Docker Broken Link Checker

CircleCI

Check for broken links with Link Checker.

For example:

docker run --rm dcycle/broken-link-checker:3 --help
docker run --rm dcycle/broken-link-checker:3 http://example.com > ~/Desktop/result.csv

Checking against a site running on a docker container:

docker run --rm --link my_container_name:site dcycle/broken-link-checker:3 http://site

You will now have access to the csv file of broken links at ~/Desktop/result.csv.

What are the differences between this project and the official Docker image?

The project has a Dockerfile, and there is an official project on the Docker hub.

  • The project's Docker does not seem to work, as it gives an error about Python 2 being end of life. See this pull request on the linkchecker project.
  • This project is automatically rebuilt using the latest version weekly; the project's Dockerfile has not been updated since Summer 2019.
  • This project automatically outputs as CSV.

See this project on the Docker Hub.

Handy Google Sheets utility to view a report

You can make a copy of this handy Google Sheets, then:

  • in the "raw" tab, import the result (output) of this utility. Note, you must replace the current sheet AND use a custom delimiter ";"
  • the "report" tab will show your data in the columns "Page which contains a link", "Link text", "Link target", "Issue".

About

Check broken links in a Docker container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published