kamilsk / check

πŸ”¬ Tool to check something.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ”¬ 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

About

πŸ”¬ Tool to check something.

License:MIT License


Languages

Language:Go 82.5%Language:Makefile 11.8%Language:Shell 5.7%