π Bootstrap your Puppeteer function within seconds
Basic starter kit for Puppeteer on AWS Lambda
Yarn to install npm packages:
npm install -g yarn
# 1. Clone the project
git clone https://github.com/danilobrinu/aws-lambda-puppeteer-bootstrap.git
# 2. Navigate to the new project
cd aws-lambda-puppeteer-bootstrap
# 3. Install npm packages
yarn install
# 4. Code and upload to AWS Lambda
# zip the content of the dir and upload to AWS Lambda
Note: If the zip size is more than 10mb you need upload the zip to s3 and use the link in your AWS Lambda
File name γγγγγγγγγγγγγγ | Description γγγγγγγγ |
---|---|
βββ .editoconfig |
Use this file to configure your editor |
βββ .gitignore |
User this file to configure ignore files by git |
βββ .prettierc |
Use this file to configure the prettier formatter |
βββ index.js |
The template for your AWS Lambda function |
βββ package.json |
The npm package list |
βββ README.md |
The documentation |
βββ yarn.lock |
The yarn lock file |
Your feedback is very helpful, please share your opinion and thoughts! If you have any questions or want to contribute yourself.