All Projects → JuanmaMenendez → website-change-monitor

JuanmaMenendez / website-change-monitor

Licence: MIT License
Monitor a website and get email and Slack notifications when specific changes are detected

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to website-change-monitor

Workbase Server
Slack alternative, email integrated, build with Meteor
Stars: ✭ 284 (+173.08%)
Mutual labels:  slack, email
simple-slack-notify
Slack notification action that just works
Stars: ✭ 23 (-77.88%)
Mutual labels:  slack, notification
Notifme Sdk
A Node.js library to send all kinds of transactional notifications.
Stars: ✭ 1,854 (+1682.69%)
Mutual labels:  email, notification
Amazon Alert
Track prices on Amazon and receive email alerts for price drops
Stars: ✭ 290 (+178.85%)
Mutual labels:  email, notification
Fredy
❤️ Fredy - [F]ind [R]eal [E]states [D]amn Eas[y] - Let the robot do the work...
Stars: ✭ 29 (-72.12%)
Mutual labels:  slack, notification
Glass Isc Dhcp
Glass - ISC DHCP Server Interface
Stars: ✭ 486 (+367.31%)
Mutual labels:  slack, email
Alertmanager
Prometheus Alertmanager
Stars: ✭ 4,574 (+4298.08%)
Mutual labels:  slack, email
Ravenx
Notification dispatch library for Elixir applications
Stars: ✭ 100 (-3.85%)
Mutual labels:  slack, email
Yii2 Slack Log
Pretty Slack log target for Yii 2
Stars: ✭ 24 (-76.92%)
Mutual labels:  slack, notification
Notify
A dead simple Go library for sending notifications to various messaging services.
Stars: ✭ 727 (+599.04%)
Mutual labels:  slack, email
Waveboxapp
Wavebox Classic has been updated to Wavebox 10. Learn more Wavebox.io
Stars: ✭ 1,198 (+1051.92%)
Mutual labels:  slack, email
pr-reviews-reminder-action
A GitHub Action to send Slack/Teams notification for Pull Request that are waiting for reviewers.
Stars: ✭ 18 (-82.69%)
Mutual labels:  slack, notification
smf-spf
It's a lightweight, fast and reliable Sendmail milter that implements the Sender Policy Framework
Stars: ✭ 12 (-88.46%)
Mutual labels:  email
gSlack
Get Slack notifications from Google Cloud Platform
Stars: ✭ 69 (-33.65%)
Mutual labels:  slack
slack.cr
Slack Real Time Messaging API in Crystal
Stars: ✭ 17 (-83.65%)
Mutual labels:  slack
notify
📮 a micro-library to simplifies a simple communication between activity, fragment, services
Stars: ✭ 20 (-80.77%)
Mutual labels:  notification
python-slack-discovery-sdk
This project aims to make using Slack's Discovery APIs easier.
Stars: ✭ 18 (-82.69%)
Mutual labels:  slack
react-slack-renderer
A custom Slack renderer for React! <3
Stars: ✭ 32 (-69.23%)
Mutual labels:  slack
Copper
Copper mail : comprehensive email solution which can be readily deployed without complex configurations.
Stars: ✭ 12 (-88.46%)
Mutual labels:  email
vue-notification-bell
Vue.js notification bell component.
Stars: ✭ 64 (-38.46%)
Mutual labels:  notification

Website Change Monitor

Website Change Monitor

A small web app written in Node.js to monitor specific changes on a web page


Features

  • Support any public web page

  • Track specific parts (text, markup, css class, img, etc..)

  • Custom tracking frequency (seconds, minutes, hours, days)

  • Email alert notification (with SendGrid)

  • Slack alert notification

  • Daily email to confirm that the app is working

  • Front page (just to check that the system is working and to ping it if necessary (Useful for Heroku)


How it works

The App request the urlToCheck every checkingFrequency and if any of the elementsToSearchFor are detected, a notification is sent to your Slack channel and all the emailsToAlert list.


Installation

  1. Clone this repo git clone https://github.com/JuanmaMenendez/website-change-monitor.git

  2. Inside the "website-change-monitor" folder, run the command npm install

  3. In server.js, edit the "Main configuration variables"

    urlToCheck = "http://urlyouwant.com/tocheck";
    elementsToSearchFor = ['Text you want to watch for', 'imageYouWantToCheckItsExistence.png'];
    checkingFrequency = 5 * 60000;  //5 minutes
    
  4. Slack Integration

    4.1 Activate the WebHooks in your WorkSpace and get the corresponding 'WebHook URL'

    4.2 In server.js, set the 'WebHook URL' in SLACK_WEBHOOK_URL = 'https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX';

  5. SendGrid Email Integration

    5.1 Create a SendGrid Free Account

    5.2 Create and get an API KEY with Full Access

    5.3 In server.js, set the 'API KEYS' in SENDGRID_APY_KEY = 'AA.AAAA_AAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';

    5.4 In server.js, set the sender email in the emailFrom variable. Code: emailFrom = "[email protected]";

    Now, to avoid falling into the "SPAM" folder there are two options:

    a) Configure SendGrid to white list your sender email.

    Go to https://app.sendgrid.com/settings/mail_settings > Address Whitelist > Edit > Add your email address (Eg: [email protected]) > Switch to ON

    Note: For a less chance to fall in the SPAM folder, use an email address that you own and one of these methods to validate it.

    b) Put any email address in the emailFrom variable and add it to the white list in the receiver email client.

    5.5 In server.js, set the emailsToAlert array. Code: emailsToAlert = ["[email protected]", "[email protected]"];


Usage

  1. node server.js

Extras

  • To update the "Working OK" email notification frequency, you can change the variable checkingNumberBeforeWorkingOKEmail. By default it is set to 1440 (the number of minutes a day has)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].