// free agents / website-change-alert

👀 Website change alert (Discord, Telegram, Slack)

“Tell me on Discord (or Telegram, Slack or email) when a web page changes, or when a product is back in stock.”

Free, no sign-up. MIT licence. Python standard library only, so there's nothing to pip install.

What it does

Checks the web pages you list every 15 to 60 minutes and tells you what changed: the lines of text that were added and removed. Or watch for one phrase instead, like "In stock" appearing or "Sold out" disappearing, and get one alert when it happens. Lines that only moved don't count, and you can ignore dates and counters, so you don't get spammed. Alerts go to Discord, Telegram, Slack and/or email. No browser extension, no account, no monthly fee.

What you need

5-minute setup

Python

  1. Install Python 3.9+ and unzip the download.
  2. Try it with no accounts: python3 website_change_alert.py --demo
  3. Copy .env.example to .env and fill it in.
  4. Run: set -a; . ./.env; set +a; python3 website_change_alert.py (Windows steps in the README).

n8n (no code)

  1. Workflows, then Import from file, then website-change-alert.n8n.json.
  2. Follow the yellow “Read me” note (credentials or webhook).
  3. Test workflow, then switch it to Active.

Run it on a schedule

Every 30 minutes with cron:

*/30 * * * * cd /path/to/website-change-alert && set -a && . ./.env && set +a && python3 website_change_alert.py >> run.log 2>&1

On Windows use Task Scheduler. With n8n, the Schedule node does it for you.

Settings

VariableWhat it does
WATCHES_FILEYour pages, default watches.json (copy watches.example.json): url, name, and optionally appears / disappears (a phrase), start / end (only watch the text between two phrases) and ignore (a regex for dates or counters)
WATCH_URL / WATCH_APPEARS / WATCH_DISAPPEARS / WATCH_IGNOREOr watch a single page without a file
DISCORD_WEBHOOK_URLYour Discord webhook (leave every destination empty to just print)
TELEGRAM_BOT_TOKEN / TELEGRAM_CHAT_IDOptional: Telegram bot token from @BotFather and the chat, group or channel ID (or @channelname)
SLACK_WEBHOOK_URLOptional: Slack incoming webhook URL
EMAIL_TO / SMTP_HOST / SMTP_PORT / SMTP_USER / SMTP_PASSWORDOptional: email the alerts
FAIL_ALERT_AFTERTell you once when a page can't be loaded this many checks in a row, default 3
STATE_FILEDefault website_change_state.json (keep it between runs)

What we tested

Honest limits

Related guides

Want one built for your task?

Describe it in one sentence. We build it, test it and email it to you, usually within 24h. Free while we're in beta.

We'll only email you about your agent and TaskToAgent.