andremog / SiteSeer-Website-Changes-Tracker

My bot to track changes in websites.

Home Page:https://t.me/siteseer_bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SiteSeer

My bot to track changes in websites. Deployed at t.me/siteseer_bot .

Usecases

For students

  • Track exam form website
  • Track student result website

For devs

  • Track pull requests page
  • Update when an issue gets updated

Commands

/start to get list of commands /watch {sitename} to track a website /unsub {sitename} to unsubscribe from a website /list to get list of websites

Contributors

Components of the Bot

  1. The actual bot, which accepts regex and gives output.
  2. The site change checker, which converts the HTML of the site to a checksum and compares with prev checksum.
  3. A cronjob which runs the site change function every 15 minutes.

Getting Started

1. Pre-requisites :

  1. Have a Mongo Database hosted locally or online.
  2. Have node & npm installed, check npm -v to check your version.
  3. Create a .env file containing based on this guide : Link

2. Running the code :

  1. Clone this repository.
  2. cd into it and run npm i.
  3. Run npm start to start the server.

Tasklist

  • Compare a screenshot of the website instead of complete HTML
  • Use JSSoup instead ?
  • Send image with change notification, so user doesn't have to open site
  • Split code into multiple files, abstract mongo, telegram

About

My bot to track changes in websites.

https://t.me/siteseer_bot


Languages

Language:JavaScript 100.0%