News for hackers. Stuff that matters.
Re:Show HN: I built a community for women entrepreneurs and ... by ralusek on Thursday January 23, 2020 @01:56PM (#22130521)
I like the image previews/thumbnails that appear in the threads from the actual site. I assume you're rendering/screenshotting the site for mobile/desktop in order to generate the previews.

Is there a particular tool you're using/that you'd recommend? Headless Chrome, PhantomJS, NightmareJS? Do you just wait an arbitrary amount of time to assume the necessary visuals have loaded/rendered, or is there a feedback mechanism to indicate when it's ready to be captured?

Re:Show HN: I built a community for women entrepreneurs and ... by mariedm on Thursday January 23, 2020 @04:12PM (#22132122)
Thank you, I'm using webshot-node (which relies on PhantomJS) but I might actually change. It doesn't always work well. There are different options (like waiting for the website to respond, or waiting for a specific amount of time), but even by tweaking those parameters it's not always reliable. I might give a try to capture-website soon.
Re:Show HN: I built a community for women entrepreneurs and ... by ralusek on Saturday January 25, 2020 @01:16PM (#22147640)
Will check those out, thanks.