Open source · Free npm package

Website monitoring
for developers

Playwright-based checks with retries, screenshots, alerts, and HTML reports. Zero config to get started.

Up and running in minutes

One config file. Two commands. Your sites are being watched.
# Install
npm install -D @alosha/monitor

# monitor.config.ts
export default {
  checks: [
    { name: 'Homepage', url: 'https://yoursite.com', interval: '5m' },
    { name: 'API',      url: 'https://api.yoursite.com/health', interval: '1m' },
  ],
  notify: { slack: { webhookUrl: process.env.SLACK_WEBHOOK_URL } }
}

# Run once
npx monitor run

# Or watch continuously
npx monitor watch

Everything you need to ship with confidence

Built for developers who want monitoring handled and out of the way.
  • Real browser checks
    Uses Playwright under the hood — catches JS errors, redirects, and anything a headless Chrome would catch.
  • Automatic retries
    Configurable retry attempts before marking a check as failed. No false alarms from flaky networks.
  • Screenshots on failure
    Automatically saves a full-page screenshot whenever a check fails. Know exactly what went wrong.
  • Multi-channel alerts
    Email, Slack, Discord, or any webhook. Get notified where your team already lives.
  • Built-in scheduler
    Run `monitor watch` and each check fires on its own interval — no cron, no external scheduler needed.
  • HTML reports
    Auto-generated report after every run. Open it in your browser, share it with your team.

Start monitoring in minutes

Install the package, define your checks, run monitor watch. That's it.