Fast Link Checker for Markdown and HTML in Go
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Yota Toyama 546bd16aba Move isHTMLFile function 8 years ago
.circleci Initialize command code and test 8 years ago
examples Add recursive option 8 years ago
.gitignore Initialize command code and test 8 years ago
Gemfile Initialize command code and test 8 years ago
Gemfile.lock Initialize command code and test 8 years ago
LICENSE Initial commit 8 years ago
README.md Put connectivity 8 years ago
arguments.go Add recursive option 8 years ago
extensions.go Move isHTMLFile function 8 years ago
extensions_test.go Move isHTMLFile function 8 years ago
file_checker.go Move isHTMLFile function 8 years ago
file_checker_test.go Support relative paths 8 years ago
file_result.go Fix misuse of else if 8 years ago
main.go Add recursive option 8 years ago
rakefile.rb s/linkcheck/liche/g 8 years ago
semaphore.go Create semaphore object 8 years ago
semaphore_test.go Create semaphore object 8 years ago
url_checker.go Support relative paths 8 years ago
url_result.go Capitalize first letters of error messages 8 years ago
utils.go Add recursive option 8 years ago
utils_test.go Add recursive option 8 years ago

README.md

liche

Circle CI Go Report Card License

asciicast

liche is a command to check links' connectivity in Markdown and HTML files. It checks all a and img tags in specified files.

Installation

go get -u github.com/raviqqe/liche

Usage

> liche --help
Link checker for Markdown and HTML

Usage:
	liche [-c <num-requests>] [-t <timeout>] [-v] <filenames>...

Options:
	-c, --concurrency <num-requests>  Set max number of concurrent HTTP requests. [default: 32]
	-t, --timeout <timeout>  Set timeout for HTTP requests in seconds. Disabled by default.
	-v, --verbose  Be verbose.

Markdown

> liche file.md
> liche file1.md file2.md

HTML

> liche file.html
> liche file1.html file2.html

Supported properties

  • HTML tags: a, img
  • HTML attributes: href, src
  • URL schemes: http, https

License

MIT