/restat

shop health

Primary LanguageJavaScriptBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Restat

Monitors status of a github-enabled shop.

USAGE

First, you'll need to know your github username and token (only important for private repos, but I don't differentiate). You can find the token at github.com/account under "API Token".

Then, check your dependencies, expand the CGI script, and install it, by running:

make GHUSER=<github username> GHTOKEN=<github api token>

If this tells you to install things, install them. You'll likely need root in order to install things to your cgi-bin directory

Otherwise, if everything works as planned, and your webserver can run CGI scripts, you'll be fine. Just serve this directory from your webserver, and load index.html in your browser.

Optionally, provide CGIBIN=<alternate directory> to change where the CGI script is placed. Just make sure your webserver will run perl scripts in that directory.

TODO

  • multiple repos
  • push updates
  • better (smaller) ui
  • figure out basic auth correctly so we don't dep on curl

BUGS

Plenty, I'm sure.

AUTHORS

COPYING

BSD 3-clause