This is Serverless project for screenshotting my favorite fitness page for the daily workout. It runs headless Chrome in Lambda, logs into the site, takes a screenshot, archives it, and sends me a push notification. Currently configured via cron to run every day at 12:00PM (PST).
- Headless Chrome via serverless-chrome
- Workout Archiving via Dropbox
- Push Notifications via Pushover
- Node 8
environment.yml
file containing keys/secrets for APIs (seeenvironment-sample.yml
)
npm install chrome-launcher
sls invoke local --function screenshot