My bot to track changes in websites. Deployed at t.me/siteseer_bot .
For students
- Track exam form website
- Track student result website
For devs
- Track pull requests page
- Update when an issue gets updated
/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
- The actual bot, which accepts regex and gives output.
- The site change checker, which converts the HTML of the site to a checksum and compares with prev checksum.
- A cronjob which runs the site change function every 15 minutes.
- Have a Mongo Database hosted locally or online.
- Have node & npm installed, check
npm -v
to check your version. - Create a
.env
file containing based on this guide : Link
- Clone this repository.
cd
into it and runnpm i
.- Run
npm start
to start the server.
- 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