Script designed to continuously monitor changes in the HTML of a website and notify you by email if any changes are detected. With a monitoring frequency of 10 minutes, "Spotter" uses web scraping techniques to compare the current HTML with a previous version and determine if there have been any significant changes.
If a change in the HTML is detected, "Spotter" automatically sends an email to the specified recipient to inform them about the change. This is especially useful for those who need to keep constant track of a website and want to receive an immediate notification when any changes in content occur.
1. Clone the project
git clone https://github.com/SkrrBoy/Spotter
2. Install dependencies
npm i
Change .env
EMAIL_USER = pedro@gmail.com
EMAIL_PASS = (Google Aplication Password not normal passwod)
TOKEN = Discord token, only if you want to use it.
Change GMAIL // FROM // TO (/src/utils.js)
from: "example@gmail.com",
to: "example@gmail.com",
Enter the website in the url const (utils.js)
const url = "";
Run
node index.js
(Optional) Run in background
npm install pm2 -g
pm2 start index.js
More info > https://pm2.keymetrics.io/docs/usage/quick-start/
- [✔] Discord Integration
- Change the main options without having to edit the files directly
- Select the CONCRETE element to be analyzed. At the moment it analyzes all the html
- Push notification alerts on mobile phones (Switch)
The purpose of this GitHub repository is solely for personal learning and growth. I have no intention of presenting this project as a replacement or competition to any other existing projects or software. The code and documentation contained within this repository are provided as-is, with no guarantees or warranties of any kind.
While I welcome any contributions, feedback, or suggestions, please understand that this project is not intended to be a fully developed or comprehensive solution. It is simply a platform for me to store and share my learning progress.
Thank you for your understanding and cooperation.