Skip to content
This repository has been archived by the owner on May 11, 2022. It is now read-only.

Latest commit

 

History

History
92 lines (67 loc) · 2.84 KB

README.md

File metadata and controls

92 lines (67 loc) · 2.84 KB

🔬 check

Tool to check something.

Build Template

💡 Idea

...

Full description of the idea is available here.

🏆 Motivation

...

🤼‍♂️ How to

check urls

Fast website link checker.

$ check urls https://kamil.samigullin.info/
# [200] https://kamil.samigullin.info/
#     ├───[200] https://howilive.ru/en/
#     ├───[200] https://kamil.samigullin.info/ru/
#     ├───[301] https://m.do.co/c/b2a387de5da4 -> (Moved Permanently) -> https://...
#     ├───[302] https://kamil.samigullin.info/goto?url=https://github.com/kamilsk -> (Found) -> https://...
#     ├───[302] https://kamil.samigullin.info/goto?url=https://twitter.com/ikamilsk -> (Found) -> https://...
#     └───[302] https://kamil.samigullin.info/goto?url=https://www.linkedin.com/in/kamilsk -> (Found) -> https://...
# [200] https://kamil.samigullin.info/ru/
#     ├───[200] https://howilive.ru/
#     ├───[200] https://kamil.samigullin.info/
#     ├───[301] https://m.do.co/c/b2a387de5da4 -> (Moved Permanently) -> https://...
#     ├───[302] https://kamil.samigullin.info/goto?url=https://github.com/kamilsk -> (Found) -> https://...
#     ├───[302] https://kamil.samigullin.info/goto?url=https://twitter.com/ikamilsk -> (Found) -> https://...
#     └───[302] https://kamil.samigullin.info/goto?url=https://www.linkedin.com/in/kamilsk -> (Found) -> https://...
$ check urls https://www.octolab.org/ | grep '\[3[0-9][0-9]\]'
#     ├───[301] https://m.do.co/c/b2a387de5da4 -> (Moved Permanently) -> https://...
#     ├───...

🧩 Installation

Homebrew

$ brew install kamilsk/tap/check

Binary

$ curl -sSL https://bit.ly/install-check | sh
# or
$ wget -qO- https://bit.ly/install-check | sh

Source

# use standard go tools
$ go get -u github.com/kamilsk/check
# or use egg tool
$ egg tools add github.com/kamilsk/check

egg1 is an extended go get.

Bash and Zsh completions

$ check completion bash > /path/to/bash_completion.d/check.sh
$ check completion zsh  > /path/to/zsh-completions/_check.zsh

1 The project is still in prototyping.


made with ❤️ for everyone