Who Is Still Alive: a broken link checker
This is my release 0.1 project for DPS909 my open source development class. It is a command-line tool for finding and reporting dead links in a file.
git clone https://github.com/1jz/wisa.git
cd wisa
go install
go get github.com/1jz/wisa
type wisa --help
for usage or:
wisa -f [file]
for verbose output (error logs)
wisa -f [file] -v
for ignoring certain URLs
wisa -i [ignore file] -f [file]
- Uses go routines to check for dead/broken links
- Uses
HEAD
requests for optimization 200-299
status codes are considered aPASS
403
emits aWARN
- All other codes are considered
DEAD
- Uses flags for passing filename and for verbose output
- Coloured text using gookit/color
- Provide a second file to ignore certain urls
TODO:
refactor the entire project as it fails to follow go concepts.