Lissy93 / web-check

🕵️‍♂️ All-in-one OSINT tool for analysing any website
https://web-check.xyz
MIT License
20.95k stars 1.56k forks source link

Screenshot API > 50MB for Vercel #86

Open kwall1 opened 4 months ago

kwall1 commented 4 months ago

Is there a better method for the screenshot for Vercel? https://gist.github.com/kettanaito/56861aff96e6debc575d522dd03e5725 The Chromium -> serverless 50MB issue on Vercel is a known issue. Perhaps there's a workaround to get that to fire off?

falcolnic commented 4 months ago

https://vercel.com/docs/image-optimization

Lissy93 commented 4 months ago

Thanks @kwall1 - I'll take another look. Generally I found Chromium to be a bit too slow when running on Vercel, but there is already a workaround for screenshots implemented. @falcolnic - those image optimization docs are about using Vercel's CDN for serving up the assets for statically generated sites.

kwall1 commented 4 months ago

Saw that on the screenshot, does that work via the API path as well?

Lissy93 commented 4 months ago

Should do, yes