File size: 1,425 Bytes
0402eb9
 
7a698b4
0402eb9
74f2c64
0402eb9
 
 
 
 
 
 
 
74f2c64
0402eb9
 
 
 
74f2c64
aa2caa7
74f2c64
0402eb9
74f2c64
0402eb9
 
aa2caa7
 
0402eb9
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/mkutarna/audiobook_gen/blob/master/LICENSE)
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/mkutarna/audiobook_gen/Python%20application)

# Audiobook Gen

## About
Audiobook Gen converts text to audiobook format. It allows you to choose which voice you want to listen to.

- Do you want to listen to a book that isn't available on Audible?
- Have you tried an audiobook from LibriVox and found the audio quality lacking?
- Don't have time to sit and read a document, but would prefer to listen to it?

You can input various text formats (`txt`, `pdf`, `epub` - more options in development) and output a `zip` archive of audio files (`wav`). This is an open-source tool based on the [Silero text-to-speech toolkit](https://github.com/snakers4/silero-models) and uses Streamlit to deliver the application.

# Demo

## HuggingFace Space
A demonstration of this tool is hosted at HuggingFace Spaces - see [Audiobook_Gen](https://huggingface.co/spaces/mkutarna/audiobook_gen).

<img style="border:1px solid grey" src="resources/audiobook_gen.png" alt="Screenshot"/>

# Future

Here is a list features in development and planned for the future:
- `html` file import
- `mobi`, `azw` ebook input
- optional audio output formats (for better compression)
- improved audio file output handling
- Docker image for local use