https://github.com/dpecos/golinks
Check links liveleness in text files
https://github.com/dpecos/golinks
hexa hugo jekyll markdown static-site-generator
Last synced: 3 months ago
JSON representation
Check links liveleness in text files
- Host: GitHub
- URL: https://github.com/dpecos/golinks
- Owner: dpecos
- License: apache-2.0
- Created: 2018-01-18T21:17:23.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-21T08:59:24.000Z (over 7 years ago)
- Last Synced: 2024-12-27T16:45:40.432Z (5 months ago)
- Topics: hexa, hugo, jekyll, markdown, static-site-generator
- Language: Go
- Homepage:
- Size: 204 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/dpecos/golinks)
[](https://goreportcard.com/report/github.com/dpecos/golinks)# 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 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

# Author
Daniel Pecos Martinez
* https://danielpecos.com
* https://github.com/dpecos
* https://twitter.com/danielpecos