Ancestors

Written by Marco Roth on 2025-01-07 at 14:56

What are people using now that wkhtmltopdf is deprecated?

Is there a maintained fork or a good drop-in replacement?

=> More informations about this toot | More toots from marcoroth@ruby.social

Toot

Written by Marco Roth on 2025-01-07 at 15:05

I've been using Ferrum using the pdf method, but I was more looking for a CLI-based utility that doesn't need to open a browser.

Maybe the answer is just that there isn't a real drop-in replacement because it will never be as accurate as opening a browser.

=> More informations about this toot | More toots from marcoroth@ruby.social

Descendants

Written by alexanderadam on 2025-01-07 at 16:21

@marcoroth please ping me once you found something.

PS: I thought that the base, wkhtml, was deprecated ages ago anyway?

=> More informations about this toot | More toots from alexanderadam@ruby.social

Written by Marco Roth on 2025-01-07 at 18:56

@alexanderadam yeah it was deprecated back in 2023.

=> More informations about this toot | More toots from marcoroth@ruby.social

Written by PointlessOne :loading: on 2025-01-07 at 21:44

@alexanderadam @marcoroth So… it depends on what you’re trying to achieve.

If you want to preserve an arbitrary web page as close to browser as possible you probably should use a browser.

If you’re trying to produce high quality PDFs from HTML you probably should go with Weasyprint (open source), AH Formatter, or PDFReactor.

If you want to generate PDFs from Ruby you should go for HexaPDF or Prawn.

=> More informations about this toot | More toots from pointlessone@status.pointless.one

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113787686827080526
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
288.559474 milliseconds
Gemini-to-HTML Time
0.77619 milliseconds

This content has been proxied by September (ba2dc).