Skip to content

The lambda functions that scrape websites and upload their screenshots/headlines to Front Pages

Notifications You must be signed in to change notification settings

FrontPages/scraper

Repository files navigation

Deployment

This repo uses Serverless Framework for deployment.

Prerequisites

You must have a .env file in the root directory of the repo with the following environment variables set:

  • BUCKET_NAME: The name of the S3 bucket to store screenshots in.
  • FRONT_PAGES_API_KEY: The API key used to post snapshots to Front Pages.
  • FRONT_PAGES_BASE_URL (optional): The base URL for Front Pages API requests. If not provided, http://front-pages-sandbox.herokuapp.com will be used by default.

This file will be used by serverless-dotenv-plugin to publish these variables to production on deploy.

About

The lambda functions that scrape websites and upload their screenshots/headlines to Front Pages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published