Skip to content

stex/url_watcher

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

url_watcher

A very simple script / docker image to watch for changes on a web page and call a webhook on diff changes.

Currently doesn't support webhook arguments, simply performs a POST request.

Docker Usage

Simply set the page and webhook URLs as environment variables when running the docker image:

docker run -t --rm -e PAGE_URL=https://google.com -e WEBHOOK_URL=https://my.webhook.com sterexx/url_watcher

or as compose file:

version: "3"

services:
  app:
    image: sterexx/url_watcher
    tty: true
    environment:
      PAGE_URL: https://google.com
      WEBHOOK_URL: https://my.webhook.com
    restart: unless-stopped

Script Usage

Specify the page to watch and the webhook URL via environment variables:

PAGE_URL=https://google.com WEBHOOK_URL=https://my.webhook.com ./watcher.rb

About

Trigger a webhook whenever changes on a website occur

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published