HowToBeAProgrammer icon indicating copy to clipboard operation
HowToBeAProgrammer copied to clipboard

Epub Download?

Open Eddie-Hartman opened this issue 3 years ago • 3 comments

How do I actually get the epub version to download? The gitbook link requires an account AND a phone number. Is that the only option?

Eddie-Hartman avatar Aug 30 '21 02:08 Eddie-Hartman

I agree that an option for downloading and/or making the epub without creating an account would be nice. What I ended up doing was using Pandoc to create the epub myself.

Inside the directory for the language you want, run:

pandoc --metadata title='How To Be A Programmer' -o HowToBeAProgrammer.epub $(find -name '*.md' | sort)

It's a bit gnarly because sort puts the READMEs after the chapters, but it's good enough for me.

nickkelley42 avatar Sep 04 '21 17:09 nickkelley42

Hey! Yeah GitBook has changed it's format and unfortunately the links are broken. Ideally I'd like to get an ePub/PDF version bundled with the markdown files. I'd love some help getting this sorted as my time is limited..!

On Mon, 30 Aug 2021 at 03:20, Elton (Eddie) Hartman < @.***> wrote:

How do I actually get the epub version to download? The gitbook link requires an account AND a phone number. Is that the only option?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/braydie/HowToBeAProgrammer/issues/127, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMTCQCVNGIQ3B3C3BKW723T7LTGTANCNFSM5DA5BGXA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

braydie avatar Sep 05 '21 09:09 braydie

I can make a PR with a cleaned-up version of the command I used to generate the epub. My only reservation is my epub/PDF knowledge is pretty limited; the links in the ebook that I've made are broken, and I'm not sure of a clean way to fix the links without breaking the nice structure that exists in the GitHub repository.

nickkelley42 avatar Sep 05 '21 15:09 nickkelley42