Build Your Own Audio-Book Player in 3 Minutes!
Tech DIY for the Curious: Project 1
I was never a huge fan of audio-books really. I’m a ’90s child, and have grown up reading hard-bounds and paperbacks of Harry Potter, Crime and Punishment, and Millenium series! Only after I recently received a free three-month trial of Audible did I explore this peculiar way of print media consumption.
However, Audible can only play those books that are present in its library. And trust me, I couldn’t find some books that I wanted. Also, if there were some freebie books that I had downloaded from conference/webinar websites, I couldn’t really find a way to listen to them.
So I decided to build one on my own.
Show Me The Code
For those who are looking at the code, you can find it here : https://github.com/kavithacd/ConviPlay
Step 1: PDF->TXT
I had to first start with converting my document into a flat file. I chose to create a PDF to TXT conversion because most of my books are in the PDF format.