Unified aedocw backends
This commit is contained in:
@@ -2,6 +2,35 @@
|
||||
|
||||
Python project to gather several projects that convert EPUB files to audiobooks (M4B files, mostly), with different TTS backends.
|
||||
|
||||
# TL;DR
|
||||
|
||||
## Setup
|
||||
```sh
|
||||
git clone https://git.silveirarosa.com/renatoxsr/epub-tts
|
||||
cd .\epub-tts\
|
||||
pyenv local 3.11
|
||||
python3 -m venv .venv
|
||||
git submodule update --init --recursive
|
||||
```
|
||||
|
||||
## Install on Windows
|
||||
```pwsh
|
||||
.\.venv\Scripts\python.exe -m pip install -e '.[dev]'
|
||||
.\.venv\Scripts\download-epub-minimal.exe
|
||||
.\.venv\Scripts\download-moby-dick.exe
|
||||
.\.venv\Scripts\download-moby-dick-media-overlays.exe
|
||||
.\.venv\Scripts\epub-tts.exe -i .\.tmp-samples\minimal.epub -o .\.tmp-m4b\minimal.m4b -b epub2tts-edge
|
||||
```
|
||||
|
||||
## Install on POSIX
|
||||
```sh
|
||||
.\.venv\bin\python -m pip install -e '.[dev]'
|
||||
.\.venv\bin\download-epub-minimal
|
||||
.\.venv\bin\download-moby-dick
|
||||
.\.venv\bin\download-moby-dick-media-overlays
|
||||
.\.venv\bin\epub-tts -i ./.tmp-samples/minimal.epub -o ./.tmp-m4b/minimal.m4b -b epub2tts-edge
|
||||
```
|
||||
|
||||
# Requirements
|
||||
|
||||
Recent Python (>=3.11), pip (>=22.3), some sort of virtula environment recommended (such as the builtin venv package), and a Rust compatible platform (avoid embedded systems which do not have pre-built binaries for the compiled requirements, e.g., Android's Termux try to build everything from sources and fails miserably when doing so).
|
||||
|
||||
Reference in New Issue
Block a user