Check links liveleness in text files
Really useful for static site generators like jekyll, hugo or hexa, as a last minute check before publishing a website. Easy and fast.
go get github.com/dpecos/golinks
go install github.com/dpecos/golinks
$ golinks -h
Usage of golinks:
-domain string
Domain to use for relative links
-only-ko
Show only failed URLs
-path string
Path with MD files to check (default ".")
-workers int
Number of workers (default 10)
Cheking links from files in a directory
golinks -domain https://danielpecos.com
Cheking links from a single file
golinks -path linux.md -domain https://danielpecos.com
Cheking links from files in a directory but only show failed links
golinks -only-ko -domain https://danielpecos.com
Daniel Pecos Martinez