Skip to content

ferblape/http-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

http-check

http-check is a small HTTP status checker written in Crystal, which notifies any unexpected HTTP status using https://pushover.net/

Installation

1 - Compile the source code: crystal build src/cli.cr -o bin/http-checker

2 - Set both HTTP_CHECKER_TOKEN and HTTP_CHECKER_USER environment variables with the token of your application and your user token.

3 - Maybe you want to enable the binary in cron.

Usage

Create a file with the list of domains and expected HTTP status code (as an example, we provide the sites.yml file).

Just call $ bin/http-checker sites.yml

Contributing

  1. Fork it ( https://github.com/ferblape/http-check/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Thanks

Thank you @porras, specially for his Curl replacement crul from which I've been inspired.

Contributors

  • ferblape Fernando Blat - creator, maintainer

About

Super simple HTTP status checker with push notifications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published