Skip to content

title Change Detection

Change Detection is used to monitor websites and send notifications for when the websites have changed. I typically use this to be notified of when a new release of an OS image is released.

🛠 Installation

Default Port: 5000

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/changedetection.sh)"
bash -c "$(wget -qLO - https://github.com/asylumexp/Proxmox/raw/main/ct/changedetection.sh)"

âš™ Config

apt install apprise

Test

apprise -vv -t 'my title' -b 'my notification body' 'mailto://email:[email protected]'

Notification URL List

mailto://email:[email protected]

Traefik

homelab/pve/traefik/conf.d/changedetection.yaml
---
http:
 #region routers 
  routers:
    changedetection:
      entryPoints:
        - "websecure"
      rule: "Host(`cd.l.nicholaswilde.io`)"
      middlewares:
        - default-headers@file
        - https-redirectscheme@file
      tls: {}
      service: changedetection

#endregion
#region services
  services:
    changedetection:
      loadBalancer:
        servers:
          - url: "http://192.168.2.83:5000"
        passHostHeader: true
#endregion

🚀 Upgrade

(
  echo 'bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/changedetection.sh)"' | tee -a ~/.bash_aliases && \
  source ~/.bashrc && \
  update
)

Task List

task: Available tasks for this project:
* backup:        Backup ChangeDetection
* decrypt:       Decrypt scan.db using SOPS
* deps:          Install dependencies
* encrypt:       Encrypt scan.db using SOPS
* export:        Export the task list
* init:          Init app
* mklinks:       Make symlinks
* restart:       Restart ChangeDetection service
* start:         Start ChangeDetection service
* stop:          Stop changedetection service
* update:        Update ChangeDetection

🔗 References