browsershot
Convert HTML to an image, PDF or string (by spatie)
chrome-aws-lambda-layer
58 MB Google Chrome to fit inside AWS Lambda Layer compressed with Brotli (by shelfio)
Our great sponsors
browsershot | chrome-aws-lambda-layer | |
---|---|---|
12 | 5 | |
4,676 | 592 | |
1.2% | 2.0% | |
8.2 | 7.7 | |
13 days ago | 23 days ago | |
PHP | Shell | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
browsershot
Posts with mentions or reviews of browsershot.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-17.
-
My decade long, carefully maintained collection of 700+ handy web dev & design bookmarks. Delve in to my toolkit!
Sure! PHP makes it really simple. I use https://github.com/spatie/browsershot that just makes its way through a JSON feed of the links on a cronjob. I host a lot of stuff on a single VPS so its super flexible.
- Seeking recommendation for image generation in PHP
-
[Showoff Saturday] 10+ years of collecting web dev/design resources in one easy to discover web dev toolkit 🧰 (link in comments)
I used https://github.com/spatie/browsershot along with the WP REST API on a cronjob. I actually used it for social preview images too! https://twitter.com/addy_codes. Each link has a hidden page that builds the social preview in HTML then the screenshot tool screenshots it for me.
-
Any libraries out there that make building a document/template builder for the end user a possibility? Any suggestions for alternatives?
We have an application that generates shipping documentation in PDF formats based on data pulled from our ERP software. I wrote this application myself and uses templates defined in CSS and then use this package to generate the PDF: https://github.com/spatie/browsershot
-
Options for server-end HTML to PDF?
I've recently switched from wkhtmltopdf to https://github.com/spatie/browsershot.
-
Best way to create a pdfs (Recommend a library)
I highly recommend using Chrome in headless mode using this package.
-
How to make screenshots in Laravel with Browsershot
Browsershot is a software by Spatie that converts a webpage into an image or PDF by utilising a headless instance of Chrome. In this post, you will learn how to install it in your Laravel application and use it.
-
10 Laravel packages that might save your day
An alternative and a more popular solution to this is of course spatie/browsershot which does the same thing but using headless Chrome. I used to use Snappy years ago, but now I use Browsershot.
- Convert a webpage to an image or pdf using headless Chrome
-
Vapor custom Docker image + Browsershot
Has anyone managed to make Browsershot (https://github.com/spatie/browsershot) work on Laravel Vapor with docker ?
chrome-aws-lambda-layer
Posts with mentions or reviews of chrome-aws-lambda-layer.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-23.
- Lambdas vs EC2
-
Create PDF documents with AWS Lambda + S3 with NodeJS and Puppeteer
This repository hosts a Community Lambda Layer so we can use it directly on our function. At this time the latest version is 24
-
chrome binary not found aws lambda
Have you installed a Chrome / Chromium binary as a Lambda layer (e.g. this layer)? Chrome isn't included by default.
-
Vapor custom Docker image + Browsershot
FROM laravelphp/vapor:php74 RUN apk update && apk add --no-cache curl unzip WORKDIR /opt RUN curl -sSL https://github.com/shelfio/chrome-aws-lambda-layer/raw/master/chrome_aws_lambda.zip --output chrome_aws_lambda.zip RUN unzip chrome_aws_lambda.zip -d /opt RUN rm chrome_aws_lambda.zip RUN curl -sSL https://github.com/lambci/node-custom-lambda/raw/master/v12.x/layer.zip --output node-custom-lambda.zip RUN unzip node-custom-lambda.zip -d /opt/node-custom-lambda RUN cp -avr /opt/node-custom-lambda/bin /opt/bin RUN rm node-custom-lambda.zip && rm -rf node-custom-lambda WORKDIR / COPY . /var/task
-
Using AWS Lambda and Slack to find Xbox Series X stock, so you don't have to
Puppeteer automates Chromium browsers (headless and non-headless), but can Chromium run in a Lambda function? Not without some great work from the community to create a Chrome build for the AWS Lambda runtime. There’s also a Lambda layer solution for this too, although I haven’t tried this approach yet. Another great feature of this package is that it runs headless when running in Lambda and non-headless when running locally - so it’s frictionless to develop, test and run your scripts.
What are some alternatives?
When comparing browsershot and chrome-aws-lambda-layer you can also consider the following projects:
Dompdf - HTML to PDF converter for PHP
ghostscript-lambda-layer - Ghostscript AWS Lambda layer
headless-chromium-php - Instrument headless chrome/chromium instances from PHP
chromium - Chromium (x86-64) for Serverless Platforms
laravel-snappy - Laravel Snappy PDF
chrome-aws-lambda - Chromium Binary for AWS Lambda and Google Cloud Functions
pagedjs - Display paginated content in the browser and generate print books using web technology
serverless-pdf-generator
mPDF - PHP library generating PDF files from UTF-8 encoded HTML
puppeteer-login-demo
snappdf - Convert webpages or HTML into the PDF file using Chromium-powered browsers.
lambda-surf - Automate surfing the web with AWS Lambda and Slack.
browsershot vs Dompdf
chrome-aws-lambda-layer vs ghostscript-lambda-layer
browsershot vs headless-chromium-php
chrome-aws-lambda-layer vs chromium
browsershot vs laravel-snappy
chrome-aws-lambda-layer vs chrome-aws-lambda
browsershot vs pagedjs
chrome-aws-lambda-layer vs serverless-pdf-generator
browsershot vs mPDF
chrome-aws-lambda-layer vs puppeteer-login-demo
browsershot vs snappdf
chrome-aws-lambda-layer vs lambda-surf