I would really love to have such an app that could notify me when something changes on a the teacher's website.
That's something I used to say regularly during University, while waiting for a teacher to post up test results and stuff like that. So, two ears later, in my last year there, as an experiment, I crafted this simple application that, given a website (page), notifies you of each change on that website. Too bad I did not got to use it so much.
It's built with Electron for Windows and it's capable of running diffs on the page you provide and show you only what's changed, using native notifications.
npm start
to run the application (it uses bootstrapper.js as startup, which loads the application first transpiling using babel)- The code is organized as follows:
- The directories
style, js, img
and the fileindex.html
are all the required stuff for the front-end; boottrapper.js, main.js
and everything insidescripts
directory is the backend
- The directories
- JavaScript (ES2015 with Babel)
- Node.JS (v4)
- Electron (v1.4)
- babel-register (v6.3) and babel-preset-es2015(v6.3)
for transforming ES2015 code into Node compatible code (Node wasn't supporting this back then)
- eslint (v3) and eslint-config-es2015(v1)
for code parsing / validation
- electron (v1.4)
embedding Node.JS Applications into a nice WebView and run them on Windows (this case) platform
- materialize
Frontend framework
- jQuery (v3.1)
DOM handling & extras
- lodash (v4.16)
Array & Object handling
- sweetalert (v1.1)
beautiful alerts for users
- Node.js (v4)
you know what it is
- zombie (v5.0)
headless browser, for virtual navigation to websites
- diff (v3.0)
for getting just the differences between different page eversions
- node-notifier (v4.6)
for displaying native (Windows) notifications
- Start the application, after downloading it from here, from
change-notifier.exe
file - Insert, in the big input from the main screeen, the address of the web page you want to check
- Specify the interval (in seconds) in which you want the check to repeat itself.
- Toggle the switch to make everything running. Then you are done, you can minimize it, the application will check the address you specified at the given interval and will notify you if something changes (and what changes).
PS: If your computer has notifications turned off, then - ofc - notifications will not pop-up.
- Hardware: Laptop/PC
- Operating System: Windows
- RAM: 1 GB
- CPU: any decent one
Released under MIT License