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 i
inside the project directory; - Rename the
.env.example
file to.env
; - Setup an SNS Topic on your AWS account and assign its ARN to the
SNS_TOPIC_ARN
variable on the.env
file; - Assing the list of login:password pairs of the students you wanna track to the
STUDENTS
variable on the.env
file; - Run
sls deploy
to deploy your lambda function; - Optionally, you can change the schedule in the
serverless.yml
file by modifying the cron expression.