Hacker News new | ask | show | jobs
by yvoschaap 1313 days ago
I tried something similar like this to render thumbnail of websites (at a very small file-size). E.g. https://twitter.com/yvoschaap/status/1446397003316047872
3 comments

How small are you getting them? I'm straight up screenshotting websites (e.g. https://search.marginalia.nu/screenshot/245804). Seem to come in at on average 17 Kb, based on a sample size of 550K screenshots.
That's pretty cool! How do you go about removing the details? Is it done in JavaScript before the screenshot is taken, or by post-processing the SVG?
Isn't this something like archive.ph is doing? Snapshotting and screenshotting websites. I'm referring both to you and the op.
https://archive.ph/1NNZr

That looks like a Web Archive (WARC) and a PNG screen shot. I think you can make a screenshot with CasperJS. The WARC can be created by wget.

Yea you are right about PNG but wrong about WARC. Archive.ph doesn't use WARC.
What does it use, if you know?

Source?

Thanks.
That is super neat! Did you end up having any users/customers?