WISA

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2020 License: MIT Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL