A very simple puppeteer script to track students progress on escolavirtual.pt and send alerts. I created this to monitor my kids progress and decided to make it public since it can be useful for other people.
- Node.js (I like to use NVM to install/manage node versions)
- Serverless Framework
- Clone this repo;
- run
npm iinside the project directory; - Rename the
.env.examplefile to.env; - Setup an SNS Topic on your AWS account and assign its ARN to the
SNS_TOPIC_ARNvariable on the.envfile; - Assing the list of login:password pairs of the students you wanna track to the
STUDENTSvariable on the.envfile; - Run
sls deployto deploy your lambda function; - Optionally, you can change the schedule in the
serverless.ymlfile by modifying the cron expression.