Skip to content

AWS Lambda Chrome Headless screenshots

License

Notifications You must be signed in to change notification settings

meedan/narcissus

Repository files navigation

Narcissus

Maintainability Test Coverage Build Status

Run Headless-Chrome by Puppeteer on AWS Lambda to take screenshots.

Configuration

Copy src/config.js.example to src/config.js and adjust the configurations.

Running locally

Just run npm run local, or make run to run in a Docker image.

Running on AWS Lambda

Use Serverless by running npm run deploy.

Running tests

Just run npm run test or make test to run in a Docker image.

TODO

  • Compress images