3.2.0 • Published 6 months ago

avris-heartbeat v3.2.0

Weekly downloads
-
License
LicenseID: Licens...
Repository
gitlab
Last release
6 months ago

heartbeat

lightweight website monitoring

it:

  • checks configured URLs for an HTTP 2xx response (or applies custom validation),
  • generates static HTML status page,
  • and sends out notifications when necessary.

simple as that.

usage

mkdir heartbeat.example.com
cd heartbeat.example.com
pnpm add avris-heartbeat
node_modules/.bin/heartbeat check --init

with any command you can specify a different location than the cwd using -d /path/to/project

modify the generated heartbeat.mjs to your needs. you can keep the secrets in .env file, it will be loaded into process.env automatically.

set up cronjobs:

* * * * *        cd /path/to/project; node_modules/.bin/heartbeat check 
*/15 * * * *     cd /path/to/project; node_modules/.bin/heartbeat generate
0 1 * * *        cd /path/to/project; node_modules/.bin/heartbeat cleanup

point your web server to serve static files from the ./public directory.

3.2.0

6 months ago

3.1.2

10 months ago

3.0.3

11 months ago

3.1.1

11 months ago

3.0.2

11 months ago

3.1.0

11 months ago

3.0.1

11 months ago

3.0.0

11 months ago

3.0.0-alpha.2

11 months ago

3.0.0-alpha.1

11 months ago

3.0.0-alpha

11 months ago