/audiobook_converter

creates audibook file from epub input

Primary LanguageTypeScript

About The Project

This application takes in a filepath to an epub file and a language as parameters. From this it will create a bunch of mp3 files broken down by chapter in the audiobooks folder. I wanted to make this because a bunch of books I read don't have an associated audiobook and I get more reading done if I can supplement it with audio. The app uses the google text to speech npm lib to convert the text.

Hoping this helps you out also!

(back to top)

Installation

  1. Clone the repo

    git clone https://github.com/elinero/audiobook_converter.git
    
  2. After checking out the repo run:

    npm i
    
  3. Then you can use the start script to input the file path to your epub and the desired language

    npm run start /path/to/my/epub english
    

    The app will run and place the files in the audiobooks folder in a created sub folder for the audiobook. There should be a file created per book chapter.

    There is an example epub file in the epub folder called quiz.epub. You can try the app out using this epub.

(back to top)