Hacker News new | ask | show | jobs
by bharani_m 3216 days ago
Really nice work.

I've had a great experience working with Headless Chrome to convert webpages to PDF for my side project EmailThis (https://www.emailthis.me).

It uses Puppeteer by Chrome DevTools team - https://github.com/GoogleChrome/puppeteer.

3 comments

Appreciate it. EmailThis lookes very cool! I have considered using Puppeteer for pdf-bot, it came out right after I finished it :-)
Cool project! I think I am going to start regularly making use of it. Does it email you a PDF attachment, or does it just send an email with the contents of the article within it? When I attempted to use it I did not see a pdf attachment. Regardless/either way, really cool project.
Thanks, if it is unable to extract useful content from a page, EmailThis will save it as PDF as send it as an attachmentment.

If you try saving a any discussion website (HN, Stackoverflow, Reddit), you will get the PDF.

Just a heads up -- your site emailthis.me is down.
Sorry about the brief downtime. It's back up now.