Skip to content

dpecos/golinks

Repository files navigation

Build Status Go Report Card

golinks

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.

Installation

go get github.com/dpecos/golinks
go install github.com/dpecos/golinks

Usage

$ 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)

Example

Cheking links from files in a directory

golinks -domain https://danielpecos.com

Cheking links from files in a directory

Cheking links from a single file

golinks -path linux.md -domain https://danielpecos.com

Cheking links from a single file

Cheking links from files in a directory but only show failed links

golinks -only-ko -domain https://danielpecos.com

Cheking links from files in a directory but only show failed links

Author

Daniel Pecos Martinez

Releases

No releases published

Packages

No packages published

Languages