4 ms·
Are you open to contributions? I would love if there was a non-chromium alternative to wkhtmltopdf!
by quibono 1y ago
Are you open to contributions? I would love if there was a non-chromium alternative to wkhtmltopdf!
- 5- 1y agolike https://www.princexml.com/ https://www.princexml.com/ ?
- edoceo 1y agoYea, Prince is awesome. Not FOSS tho. I make some GPL or MIT licensed software and wish there was something as good a Prince with more open license.
- flexagoon 1y agowkhtmltopdf is not chromium though? "Wk" literally stands for WebKit. There's also https://weasyprint.org/ https://weasyprint.org/ which doesn't use any browser engine, but rather a custom renderer. And both of those (and Prince) can be used as a backend by Pandoc (https://pandoc.org/ https://pandoc.org/)
- quibono 1y agoYou're right, I think merged a few things together when writing the comment. What I meant is that (if you ignore PrinceXML and focus on FOSS) you're down to 3 options: - wkhtmltopdf - weasyprint - (headless) chromium with puppeteer et al. The first one I found to be unreliable, the second one is super slow and the third can be annoying to work with.