wpscholar / lambda-bluehost-generate-screenshot

A Lambda function for generating a screenshot from a URL.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lambda Generate Screenshot

Deploy to Lambda

An AWS Lambda function for generating a screenshot from a URL.

Install

  • Run npm install

Local Testing

  • Run node local.js

Deployment

By default, this repository is setup to auto-deploy when a new commit is made.

However, if you wish to push changes from your local machine while testing, you can simply run the npm run deploy command.

In order for local deployments to actually work, you will need to:

Note: You will need to rerun npm install after a local deployment in order to install Chromium locally.

About

A Lambda function for generating a screenshot from a URL.


Languages

Language:JavaScript 100.0%