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 watchEverything you need to ship with confidence
Built for developers who want monitoring handled and out of the way.
- Real browser checksUses Playwright under the hood — catches JS errors, redirects, and anything a headless Chrome would catch.
- Automatic retriesConfigurable retry attempts before marking a check as failed. No false alarms from flaky networks.
- Screenshots on failureAutomatically saves a full-page screenshot whenever a check fails. Know exactly what went wrong.
- Multi-channel alertsEmail, Slack, Discord, or any webhook. Get notified where your team already lives.
- Built-in schedulerRun `monitor watch` and each check fires on its own interval — no cron, no external scheduler needed.
- HTML reportsAuto-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.