background-hooknotifierbackground-hooknotifier
Last update: Jul 04, 20261 minutes read

Get a notification when a webpage changes

low-code

Get a push notification the moment a webpage changes: a price, a stock status, a job listing. A tiny script plus your Hook.Notifier URL. No paid tool. Free.

To get notified when a webpage changes, run a small script on a schedule that fetches the page, compares it to the last version, and calls your Hook.Notifier URL when something is different. You get a push notification the moment it changes.

The watcher script

This fetches a page, stores a hash, and pings you when the hash changes.

#!/bin/bash
URL="https://example.com/the-page"
NEW=$(curl -s "$URL" | md5sum | cut -d' ' -f1)
OLD=$(cat /tmp/page.hash 2>/dev/null)

if [ "$NEW" != "$OLD" ] && [ -n "$OLD" ]; then
  curl -s "https://hooknotifier.com/{IDENTIFIER}/{KEY}?object=Page%20changed&body=${URL}"
fi

echo "$NEW" > /tmp/page.hash

Run it on a schedule

Check the page every ten minutes with cron.

# crontab -e
*/10 * * * * /home/me/watch-page.sh

The moment the page changes, your phone lights up.

Watching without the buzz

Some pages change often and none of it is urgent. Append &priority=low to the hook URL in the script and the changes pile up quietly in your inbox instead of pushing to your phone. You check them when you want, nothing wakes you.

hook notifier notification

First get your URL

Your Hook.Notifier URL is https://hooknotifier.com/{IDENTIFIER}/{KEY}. Create a free account to get yours, then drop it into the script.

Why it matters

A price drop, a spot opening in a class, a job going live, a competitor updating their page. These reward whoever sees them first. A watcher script plus a notification means you are first without refreshing a tab all day.

New to this? Start with how to send yourself a native push notification.