项目作者: meedan

项目描述 :
AWS Lambda Chrome Headless screenshots
高级语言: JavaScript
项目地址: git://github.com/meedan/narcissus.git
创建时间: 2020-04-28T13:57:39Z
项目社区:https://github.com/meedan/narcissus

开源协议:MIT License

下载


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