logoalt Hacker News

jacob_reziyesterday at 2:01 PM4 repliesview on HN

Any place to download as a PDF? I think this might be a timely resource


Replies

sebastiennightyesterday at 5:38 PM

So... the book is released under a Creative Commons license that does not authorize sharing derived works...

BUT...

If you use this tool I just vibe-coded with our good friend Claude: https://onetake-ai.github.io/html-ebooks/

And point it at the repository: https://github.com/yan7109/yan7109.github.io/tree/main/ma-bo...

It will give you an ePub with all the chapters, including a bit of styling etc.

The code is MIT licensed, so do with it as you wish.

show 1 reply
mrskitchyesterday at 6:40 PM

I enjoyed reading the first few chapters, but wanted a PDF as well. I run browserless.io, so threw a quick script together to PDF-ify this. Gist is here: https://gist.github.com/joelgriffith/0e6a2a774317e845206ca8d....

You can pretty much just create a free plan and run this in our debugger, which will compile the chapters and return PDF. Pretty fun little challenge.

zhyan7109yesterday at 7:40 PM

Good feedback, I’ll add one later tonight

krater23yesterday at 2:15 PM

just download with curl as html

show 2 replies