Skip to content
This repository has been archived by the owner on Feb 23, 2022. It is now read-only.

A lambda function designed to be linked to an API Gateway instance that returns a screenshot when given a URL.

Notifications You must be signed in to change notification settings

bluehost/lambda-bluehost-screenshot-service

Repository files navigation

AWS Lambda - Bluehost Screenshot Service

Deploy to Lambda

An AWS Lambda function designed to return a screenshot for a given URL.

Usage

Visit https://d7j9v3snm8.execute-api.us-west-2.amazonaws.com/v1?url=:url where :url is an encoded URL.

For example:

https://d7j9v3snm8.execute-api.us-west-2.amazonaws.com/v1?url=https%3A%2F%2Fwww.bluehost.com

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:

About

A lambda function designed to be linked to an API Gateway instance that returns a screenshot when given a URL.

Topics

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages