# liche [![Circle CI](https://img.shields.io/circleci/project/github/raviqqe/liche.svg?style=flat-square)](https://circleci.com/gh/raviqqe/liche) [![Codecov](https://img.shields.io/codecov/c/github/raviqqe/liche.svg?style=flat-square)](https://codecov.io/gh/raviqqe/liche) [![Go Report Card](https://goreportcard.com/badge/github.com/raviqqe/liche?style=flat-square)](https://goreportcard.com/report/github.com/raviqqe/liche) [![License](https://img.shields.io/github/license/raviqqe/liche.svg?style=flat-square)](LICENSE) [![asciicast](https://asciinema.org/a/148134.png)](https://asciinema.org/a/148134) `liche` is a command to check links' connectivity in Markdown and HTML files. It checks all `a` and `img` tags in specified files. ## Installation ```sh go get -u github.com/raviqqe/liche ``` ## Usage ```sh > liche --help Link checker for Markdown and HTML Usage: liche [-c ] [-r] [-t ] [-v] ... Options: -c, --concurrency Set max number of concurrent HTTP requests. [default: 32] -r, --recursive Search Markdown and HTML files recursively -t, --timeout Set timeout for HTTP requests in seconds. Disabled by default. -v, --verbose Be verbose. ``` ## Examples ```sh > liche file.md > liche file1.md file2.md > liche file.html > liche file1.html file2.html > liche -r directory # Search all Markdown and HTML files recursively. ``` ## Supported properties - HTML tags: `a`, `img` - HTML attributes: `href`, `src` - URL schemes: `http`, `https` ## License [MIT](LICENSE)