Re:Theheadless.dev – open source Puppeteer and Playwright kn...
by rossta on Wednesday August 19, 2020 @12:15PM
(#24212074)
This is a really interesting use case! Screenshots of your book look great.
I'd just started looking into the existing tools like those you mentioned for e-book authoring and it's quickly gotten overwhelming. From what you've described, I'm interested in looking into puppeteer as an alternative workflow.
Works flawlessly, and has exactly the configuration knobs you would expect and want. Took a bit of plumbing to call into a Node.js script from my Scala build logic, but all in all ended up being like 20 lines of plumbing which was straightforward to write and understand. A welcome change after struggling with bugs in wkhtmltopdf!