linkedom
chrome-aws-lambda
Our great sponsors
linkedom | chrome-aws-lambda | |
---|---|---|
13 | 12 | |
1,480 | 3,136 | |
- | - | |
8.0 | 0.0 | |
about 1 month ago | 11 months ago | |
HTML | TypeScript | |
ISC 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.
linkedom
-
Alternative for DOMParser for background script (Service worker) in manifest v3?
linkedom is your answer
-
Task: Save Article to Markdown
linkedom - to parse HTML into a workable DOM. I used to use jsdom, but I switch for performance reasons.
-
Ask HN: What are the best tools for web scraping in 2022?
For simple scraping where the content is fairly static, or when performance is critical, I will use linkedom to process pages.
https://github.com/WebReflection/linkedom
When the content is complex or involves clicking, Playwright is probably the best tool for the job.
https://github.com/microsoft/playwright
-
The Fetch API is finally coming to Node.js
I recently started using linkedom for this and it has been an absolute joy
- LinkeDOM: A Jsdom Alternative (2021)
-
Happy-DOM: a jsdom alternative that can server side render web components
This looks great. I wonder how it compares to linkedom (repo[1], writeup[2]), which I have found to be fantastic.
[1]: https://github.com/WebReflection/linkedom
[2]: https://webreflection.medium.com/linkedom-a-jsdom-alternativ...
-
Testing Solid.js code beyond jest
linkedom, fastest, but lacks essential features
-
Using Mocha to test ClojureScript
Other things to do would be to use linkedom instead of JSDom, look into a better assertion library than assert etc.
-
Idiosyncrasies of the HTML Parser
Sounds somewhat similar to linkedom[1], which performs nicely.
[1]: https://github.com/WebReflection/linkedom
- LinkeDOM – A triple-linked lists based DOM“ [Live with Andrea Giammarchi]
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?
happy-dom - A JavaScript implementation of a web browser without its graphical user interface
terraform-aws-next-js - Terraform module for building and deploying Next.js apps to AWS. Supports SSR (Lambda), Static (S3) and API (Lambda) pages.
HTMLKit - An Objective-C framework for your everyday HTML needs.
puppeteer - Node.js API for Chrome
wpt - Test suites for Web platform specs — including WHATWG, W3C, and others
chrome-aws-lambda-layer - 58 MB Google Chrome to fit inside AWS Lambda Layer compressed with Brotli
haste-perch - Create dynamic HTML easy in the browser using declarative notation
serverless-webpack - Serverless plugin to bundle your lambdas with Webpack
vite - Next generation frontend tooling. It's fast!
lambda-layer-sharp - An AWS Lambda Layer for the Sharp node module. Automatically published on updates.
jsdom - A JavaScript implementation of various web standards, for use with Node.js
serverless-graphql - Serverless GraphQL Examples for AWS AppSync and Apollo