Audiobook converter using Python, PyPDF2 and gTTS.
This is a command line program converts PDF files to an audiobook using google Text-to-speech api.
Project is created with:
- Python version: 3.10.6
- gTTS version: 2.3.0
To clone and run this application, you'll need Git installed on your computer.
From your command line run:
# Clone this repository
$ git clone https://github.com/lasanthamudalige/convert-pdf-to-audiobook.git
# Go into the repository
$ cd convert-pdf-to-audiobook/
# To install all dependencies
$ pip install -r requirements.txt
To run this project in Linux/Unix:
$ python3 main.py pdf_file_name
To run this project in Windows:
$ python main.py pdf_file_name
This project is open source and available under the MIT License.