Skip to content
/ wisa Public

Who Is Still Alive: A broken link checker

License

Notifications You must be signed in to change notification settings

1jz/wisa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WISA

Who Is Still Alive: a broken link checker

Introduction

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.

Installation

Manual

git clone https://github.com/1jz/wisa.git
cd wisa
go install

Go

go get github.com/1jz/wisa

Usage

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]

Features

  • Uses go routines to check for dead/broken links
  • Uses HEAD requests for optimization
  • 200-299 status codes are considered a PASS
  • 403 emits a WARN
  • 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.

About

Who Is Still Alive: A broken link checker

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages