serverless-jetpack
chrome-aws-lambda
Our great sponsors
serverless-jetpack | chrome-aws-lambda | |
---|---|---|
2 | 12 | |
273 | 3,135 | |
0.4% | - | |
3.1 | 0.0 | |
11 months ago | 10 months ago | |
JavaScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
serverless-jetpack
-
Deploy a NestJS API to AWS Lambda with Serverless Framework
Notice the serverless-jetpack plugin - it takes care of packaging our app very efficiently for Serverless. There are other plugins for this, but I've discovered this one recently and it's a lot faster than others I've used so far. Read more about it on its official github page.
-
How we keep our Serverless deploy times short and avoid headaches
Serverless Jetpack
chrome-aws-lambda
-
Lambdas vs EC2
Lambda would be my choice for this. You could even stay within the free tier depending how often you run this process. You can orchestrate puppeteer UI flows in lambda using this package https://github.com/alixaxel/chrome-aws-lambda My team does this and it works great.
-
Building a PDF Generator using AWS Lambda
git clone --depth=1 https://github.com/alixaxel/chrome-aws-lambda.git && \ cd chrome-aws-lambda && \ make chrome_aws_lambda.zip
- Best way to scrape header + image from articles on scale?
- Ask HN: What are the best tools for web scraping in 2022?
- Is it possible to use functions requiring a GPU in a serverless google cloud function?
-
Dynamic Open Graph images with Next.js
When requesting the API route, the Next.js serverless function will actually spin up a web browser on the server (a headless instance of Chromium, using chrome-aws-lambda). Next, a webpage will be generated with HTML we can define ourselves. This HTML will be used to construct the image. That means that as a developer we can generate images using HTML and CSS, technologies we are already familiar with!
-
How we keep our Serverless deploy times short and avoid headaches
This plugin is used for all our AWS Lambda deployments, using a wide range of Node modules, some with more quirks than others. We use it together with Lambda Layer Sharp and Chrome AWS Lambda.
-
How to create a chrome profile programmatically in aws lambda?
I was able to successfully to run chrome with puppeteer in AWS Lambda for a similar use case. I used an "optimized" version of chrome packaged as an AWS Lambda Layer.
-
Create PDF documents with AWS Lambda + S3 with NodeJS and Puppeteer
git clone --depth=1 https://github.com/alixaxel/chrome-aws-lambda.git && \ cd chrome-aws-lambda && \ make chrome_aws_lambda.zip
-
chrome binary not found aws lambda
Simplest method use ]Puppeteer](https://blog.risingstack.com/pdf-from-html-node-js-puppeteer/) with chrome-aws-lambda.
What are some alternatives?
serverless-webpack - Serverless plugin to bundle your lambdas with Webpack
terraform-aws-next-js - Terraform module for building and deploying Next.js apps to AWS. Supports SSR (Lambda), Static (S3) and API (Lambda) pages.
lambda-layer-sharp - An AWS Lambda Layer for the Sharp node module. Automatically published on updates.
puppeteer - Node.js API for Chrome
webpack-node-externals - Easily exclude node modules in Webpack
chrome-aws-lambda-layer - 58 MB Google Chrome to fit inside AWS Lambda Layer compressed with Brotli
Nest - A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀
serverless-express - Run Express and other Node.js frameworks on AWS Serverless technologies such as Lambda, API Gateway, Lambda@Edge, and more.
serverless-plugin-tree-shake - Shake the dependency tree and only package files needed
serverless-graphql - Serverless GraphQL Examples for AWS AppSync and Apollo