/workout-screenshotter

:muscle: :muscle: :muscle:

Primary LanguageJavaScriptMIT LicenseMIT

workout-screenshotter

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).

Uses

Requirements

  • Node 8
  • environment.yml file containing keys/secrets for APIs (see environment-sample.yml)

Running Locally

    npm install chrome-launcher
    sls invoke local --function screenshot