How to read "Mastering Bitcoin" and "Mastering Ethereum" for free

By Dullo | Another Blog | 5 Jul 2021

The two books "Mastering Bitcoin" and "Mastering Ethereum" by Andreas M. Antonopoulos are one of the best resources in the cryptoverse. If you are interested in the tech, you should definitely read them. The neat part is that both of those books are free to read under the CC BY-SA 4.0 license. This means, that anyone can read or change the material and even copy it in any other format. 

I was really happy, when i found the GitHub repositories. You can start reading these books in your browser on your laptop or phone. However,  I wanted to read them on my ebook reader, because it gives me a better reading experience. Thus, I searched for some other format besides the .asciidoc files, but there weren't any. That's when I began trying to convert the files to .epub with Powershell. It took some time to find a good way and to debug some formatting issues. In the end, I was successful and found a way to convert these books to either .epub or .pdf.

I am happy to share my Powershell function with you.

At first, there are some prerequisites. You need the tools asciidoctor, asciidoctor-epub3 and asciidoctor-pdf for it to run. On Windows, you can install them with chocolatey

After you got them, you can just copy the powershell function into the Powershell Console or ISE and run it. Now you can just call the function with your preffered parameters, like this: 

New-BookFromAsciiDoc ETH pdf

This will create a pdf of "Mastering Ethereum" in your current directory. The first Parameter is either ETH or BTC and defines the book, which you want to convert. The second parameter defines the format and can be either pdf or epub. So you are free to change between these parameters as you wish. 

The function downloads the whole Github repo, unpacks it and creates the file in your directory, where you started Powershell. After that, it removes the archive and the unzipped repo, so there is nothing left execpt your book. 

The repository for the Ethereumbook is the official repo, as mentioned at the beginning of my post. For the Bitcoinbook, I had to fork the official repository and do some changes, because the convertion was running into errors and they needed to be fixed.

I hope that you found this post useful and that you are motivated to educate yourself with these freebies.

How do you rate this article?


Another Blog
Another Blog

This is just another blog

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.