api-screenshot
api-screenshot copied to clipboard
A service to add web page screenshots to your Eleventy sites.
I couldn't make this repo run by default on Netlify without downgrading Node.js versions. 14/16 didn't work, but 12 worked I suggest specifying a version so that others trying to...
via the original blog post: > Update (July 30, 2021): The other issue I noticed with using Puppeteer in a Lambda is that emoji are not available to the rendered...
I've installed this on my own domain screenshots.nicolas-hoizey.com hosted on Netlify. It works well when run in the browser: https://screenshots.nicolas-hoizey.com/https%3A%2F%2Fcloudfour.com%2Fthinks%2Fsvg-icon-stress-test%2F/large/ But I get a CORS error when I try to...
As I'm trying to use it on my own domain, I would like to use different `size` and `aspectratio` values, but would like to set them without modifying the code,...
To show in analytics when the requests are coming from the screenshot service.
An in-page anchor link would navigate to show that section in the viewport before taking the screenshot.
> // We need to return 200 here or Firefox won’t display the image > // HOWEVER a 200 means that if it times out on the first attempt it...
I found that Chinese characters cannot be displayed correctly in screenshots while using. I tried to make some modifications based on the prompts from ChatGPT (downloaded a Chinese font and...
Spawned from #13. Related to #15. Ideally we could upgrade the node runtime https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html but newer versions of puppeteer blow past the 50MB AWS Lambda limit. I haven’t tested all...
I follow [Zach's approach of using the screenshot service to generate OpenGraph images](https://www.zachleat.com/web/automatic-opengraph/), which works nicely (and is far simpler than my previous approaches). However, my OpenGraph images are pretty...