Get started

One froog account works everywhere: Revere, its dashboard at dash.revere.sh, the froog CLI and the API. Signing in the first time makes it. Everything here can also be done on the dashboard.

Install the CLI

$ curl -fsSL https://revere.sh/install | sh

On macOS and Linux (and WSL). The installer checks the CLI's SHA-256 and puts it in ~/.local/bin. On Windows 10 or later, in PowerShell: irm https://revere.sh/install.ps1 | iex.

Sign in

$ froog login        # approve this computer in the browser

Sign in with Google, GitHub or a 6-digit code by email; each is a way into the same account. On a machine without a browser, pipe in an API key instead: echo "$FROOG_API_KEY" | froog login, or set FROOG_API_KEY.

Watch something

$ froog revere add https://your.site                  # checked every 5 minutes, free
$ froog revere contact add https://ntfy.sh/your-topic  # alerts on your phone too
$ froog revere page create acme --title Acme --monitor your.site=Website
$ froog revere ls

Down and up alerts go to your account's email from the first monitor. The status page is at https://status.froogusercontent.com/acme until you give it your own domain.

API keys

Scripts, deploy pipelines and agents use an API key. Create one on the dashboard's API keys page or with the CLI; it's shown once.

$ froog api-key create deploys --actions revere.read,revere.write --ttl 90d   # incidents, pausing monitors
$ froog api-key create uptime-board --actions revere.read                     # monitors and their history

revere.read lists monitors, their checks and outages, status pages, incidents and subscribers; revere.write creates, changes and deletes them. Keys expire after 90 days unless you choose otherwise (--ttl, up to 365 days, or never). More on keys and scopes. A heartbeat's own URL needs no key: the URL is the secret.

The API

Revere's API name is https://api.revere.sh/v1: the same API, and the same account, as https://api.froog.tech/v1. Send the key as a bearer token; JSON in and out.

$ curl -s https://api.revere.sh/v1/revere/monitors?history=true -H "Authorization: Bearer $FROOG_API_KEY"
$ curl -s https://api.revere.sh/v1/revere/pages/acme/incidents -H "Authorization: Bearer $FROOG_API_KEY" \
    -H "Content-Type: application/json" -d '{"title": "Slow logins", "impact": "minor"}'

Errors are {"error": {"code", "message", "request_id"}}. Rate limits, retries and every endpoint: froog's API reference and openapi.json.