Open AlexeySachkov opened 5 years ago
@AlexeySachkov Your second command can be done using something like this
chrome --headless --print-to-pdf="my-brew-2.pdf" https://homebrewery.naturalcrit.com/print/HkWWfylvum
@AlexeySachkov I built something that you might find useful https://github.com/tcyrus/homebrewery-standalone
A lot of users have problems with rendering large brews: Chrome hangs, crashes, etc.
I propose some kind of a solution/workaround for this problem. The main idea is to distribute some console application which perform conversion from brew source code into a pdf without using browser.
Here is example of usage:
I expect that such solution will require less resources (RAM) to render large brews