πŸ”¬ Check Something as a Service.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
cmd
errors
http/availability
makes
vendor
.gitattributes
.gitignore
.goreleaser.yml
.scrutinizer.yml
.travis.yml
Gopkg.lock
Gopkg.toml
LICENSE
Makefile
README.md
build.go
main.go
main_test.go
pkg_test.go

README.md

πŸ”¬ check Tweet

Analytics Check Something as a Service.

Patreon Build Status Code Coverage Code Quality Research License

Roadmap

  • v1: MVP
  • v2: check redirects
  • v3: check repositories
  • v4: check packages

Usage

Quick start

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://...
#     β”œβ”€β”€β”€...

Specification

CLI

$ check --help
Usage:
  check [command]

Available Commands:
  completion  Print Bash or Zsh completion
  help        Help about any command
  urls        Check all internal URLs on availability
  version     Show application version

Flags:
  -h, --help   help for check

Use "check [command] --help" for more information about a command.

Bash and Zsh completions

You can find completion files here or build your own using these commands

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

Installation

Brew

$ brew install kamilsk/tap/check

Binary

$ export REQ_VER=1.0.0  # all available versions are on https://github.com/kamilsk/check/releases
$ export REQ_OS=Linux   # macOS and Windows are also available
$ export REQ_ARCH=64bit # 32bit is also available
$ # wget -q -O check.tar.gz
$ curl -sL -o check.tar.gz \
       https://github.com/kamilsk/check/releases/download/"${REQ_VER}/check_${REQ_VER}_${REQ_OS}-${REQ_ARCH}".tar.gz
$ tar xf check.tar.gz -C "${GOPATH}"/bin/ && rm check.tar.gz

From source code

$ egg github.com/kamilsk/check@^1.0.0 -- make test install
$ # or use mirror
$ egg bitbucket.org/kamilsk/check@^1.0.0 -- make test install

egg1 is an extended go get.

1 The project is still in prototyping. ↩


@kamilsk @octolab

made with ❀️ by OctoLab