Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

ebook2audiobook

Latest version: v26.11.30

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
PyPI package Publisher: drew.thomasson100
20,695 Stars
1,766 Forks
9 Versions
1.4K Downloads
Python Repo language

Scan summary

ebook2audiobook was last scanned on 29 Nov 2026 at version 26.11.30. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 9 versions; the latest 4 were published within 7 days (23–29 Nov 2026).
  • Findings: No rules fired in version 26.11.30.
  • Downloads: 1,410 downloads.

Versions

9 versions published
Versions and the rules that fired in each
VersionPublishedStatus
26.11.30 LATEST 29 Nov 2026 No rules fired
26.11.25 24 Nov 2026 No rules fired
26.11.24 23 Nov 2026 No rules fired
26.11.23 23 Nov 2026 Not shown
26.11.22 22 Nov 2026 Not shown

No rules fired in 26.11.30

Findings

Findings for v26.11.30. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 26.11.30; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

📚 ebook2audiobook (E2A)

CPU/GPU Converter from E-Book to audiobook with chapters and metadata using advanced TTS engines and much more. Supports voice cloning and 1696 languages!

[!IMPORTANT] This tool is intended for use with non-DRM, legally acquired eBooks only. The authors are not responsible for any misuse of this software or any resulting legal consequences. Use this tool responsibly and in accordance with all applicable laws.

Discord

Thanks to support ebook2audiobook developers!
Run locally

Quick Start Docker Build Download

Run Remotely

Hugging Face Kaggle

GUI Interface

demo_web_gui

Demos

New Default Voice Demo

https://github.com/user-attachments/assets/750035dc-e355-46f1-9286-05c1d9e88cea

ASMR Voice

https://github.com/user-attachments/assets/68eee9a1-6f71-4903-aacd-47397e47e422

Rainy Day Voice

https://github.com/user-attachments/assets/d25034d9-c77f-43a9-8f14-0d167172b080

Scarlett Voice

https://github.com/user-attachments/assets/b12009ee-ec0d-45ce-a1ef-b3a52b9f8693

David Attenborough Voice

https://github.com/user-attachments/assets/81c4baad-117e-4db5-ac86-efc2b7fea921

Example

Example

README.md

Table of Contents

  • ebook2audiobook

  • Features

  • GUI Interface

  • Demos

  • Supported Languages

  • Minimum Requirements

  • Usage

    • Run Locally
      • Launching Gradio Web Interface
      • Install with pip / pipx
      • Basic Headless Usage
      • Headless Custom XTTS Model Usage
      • Help command output
    • Run Remotely
    • Docker
      • Steps to Run
  • Tools

    • Preload models for offline installs
    • Translate ebooks out of e2a
    • Check an audiobook for hallucinations
  • Cloned Voices

  • Fine Tuned TTS models

    • Collection of Fine-Tuned TTS Models
    • Train TTS Model
  • Supported eBook Formats

  • Output Formats

  • Revert to older Version

  • Common Issues

  • Contributing

  • Special Thanks

  • Table of Contents

Features

  • 🔧 TTS Engines supported: XTTSv2, Bark, Fairseq, VITS, Tacotron2, Tortoise, GlowTTS, YourTTS, Piper, Zonos2, Zonos3, GPT-SoVITS, OmniVoice, Breeze TTS, Chatterbox, Confucius4 TTS, CosyVoice3, Dots TTS, DramaBox, FireRed Audio, FireRedTTS3, Fish Audio, Higgs Audio TTS, Index TTS2, Irodori TTS, Kokoro TTS, KugelAudio, M5-TTS, Magpie TTS, Maya1, MioTTS, Moss TTS Local, Moss TTS Nano, NeuTTS, Pocket TTS, Qwen3 TTS, Supertonic, Tiny Voca, VibeVoice, VoxCPM2, VoxMel TTS, Voxtral TTS, F5-TTS, Orpheus-TTS, ChatTTS, Spark-TTS, OpenVoice, MeloTTS, ZipVoice (LuxTTS), KittenTTS
  • 📚 Convert multiple file formats: .epub, .mobi, .azw3, .fb2, .lrf, .rb, .snb, .tcr, .pdf, .txt, .rtf, .doc, .docx, .html, .odt, .azw, .tiff, .tif, .png, .jpg, .jpeg, .bmp, .zip
  • 💻 TextArea to convert directly a short text in audio
  • 🔍 OCR scanning for files with text pages as images
  • 🔊 High-quality text-to-speech from near realtime to near real voice
  • 🗣️ Optional voice cloning using your own voice file
  • 🌐 Supports 1696 languages (supported languages list)
  • 💻 Low-resource friendly — runs on 2 GB RAM / 1 GB VRAM (minimum)
  • 🎵 Audiobook output formats: mono or stereo aac, flac, mp3, m4b, m4a, mp4, mov, ogg, wav, webm
  • 🧠 SML tags supported — fine-grained control of breaks, pauses, voice switching and more (see below)
  • 🧩 Optional custom model using your own trained model (XTTSv2, VITS, FAIRSEQ, PIPER, others on request)
  • 🎛️ Fine-tuned preset models trained by the E2A Team (Contact us if you need additional fine-tuned models, or if you’d like to share yours to the official preset list)

Hardware Requirements

  • 2GB RAM min, 8GB recommended.
  • 1GB VRAM min, 4GB recommended.
  • Virtualization enabled if running on windows (Docker only).
  • CPU, XPU (intel, AMD, ARM)*.
  • CUDA, ROCm, JETSON
  • MPS (Apple Silicon CPU)

* Modern TTS engines are very slow on CPU, so use lower quality TTS like YourTTS, Tacotron2 etc..

Supported Languages

+1696 languages here

Supported eBook Formats

  • .epub, .pdf, .mobi, .txt, .html, .rtf, .chm, .lit, .pdb, .fb2, .odt, .cbr, .cbz, .prc, .lrf, .pml, .snb, .cbc, .rb, .tcr
  • Best results: .epub or .mobi for automatic chapter detection

Output and process Formats

  • .m4b, .m4a, .mp4, .webm, .mov, .mp3, .flac, .wav, .ogg, .aac
  • Process format can be changed in lib/conf.py

SML tags available

  • [break] — silence (random range 0.3–0.6 sec.)
  • [pause] — silence (random range 1.0–1.6 sec.)
  • [pause:N] — fixed pause (N sec.)
  • [voice:/path/to/voice/file]...[/voice] — switch voice from default or selected voice from GUI/CLI
  • [emotion:sadness]...[/emotion] — Zonos2 and Zonos3 only: emotion for a passage (happiness, sadness, disgust, fear, surprise, anger, other, neutral; Zonos3 also calm, confused) or a mix like [emotion:sadness=0.7,neutral=0.3]; other engines ignore it

Check our other repo dedicated to add SML automatically in your ebook -> E2A-SML

[!IMPORTANT] Before to post an install or bug issue search carefully to the opened and closed issues TAB to be sure your issue does not exist already.

[!NOTE] EPUB format lacks any standard structure like what is a chapter, paragraph, preface etc. So you should first remove manually any text you don't want to be converted in audio.

Instructions
  1. Clone repo

    git clone https://github.com/DrewThomasson/ebook2audiobook.git
    cd ebook2audiobook
  2. Install / Run ebook2audiobook:

    • Linux/MacOS

      ./ebook2audiobook.command

      Note for MacOS users: homebrew is installed to install missing programs.

    • Mac Launcher\ Double click Mac Ebook2Audiobook Launcher.command

    • Windows

      ebook2audiobook.cmd

      or Double click ebook2audiobook.cmd

      Note for Windows users: scoop is installed to install missing programs without administrator privileges.

  3. Open the Web App: Click the URL provided in the terminal to access the web app and convert eBooks. http://localhost:7860/

  4. For Public Link: ./ebook2audiobook.command --share (Linux/MacOS) ebook2audiobook.cmd --share (Windows) python app.py --share (all OS, only once installed and with the python of its python_env folder)

[!IMPORTANT] If the script is stopped and run again, you need to refresh your gradio GUI interface to let the web page reconnect to the new connection socket.

Install with pip / pipx

Another way to install and launch ebook2audiobook, without cloning the repo: pip installs the ebook2audiobook command (all OS, any python 3.8+). The cloned repo with its launchers above keeps working the same way.

  1. Install the command from PyPI

    pipx install ebook2audiobook

    or with uv

    uv tool install ebook2audiobook

    or with pip

    pip install ebook2audiobook

    For the latest code not released yet, use git+https://github.com/DrewThomasson/ebook2audiobook.git in place of ebook2audiobook.

  2. Install / Run ebook2audiobook, with the same options as the launchers:

    ebook2audiobook
    ebook2audiobook --headless --ebook <path_to_ebook_file> --voice <path_to_voice_file> --language <language_code>

    If the command is not found (pip's scripts folder is not in your PATH): python -m ebook2audiobook

  • The first start copies ebook2audiobook to ~/ebook2audiobook (%USERPROFILE%\ebook2audiobook on Windows) and installs it there with its launcher, exactly like ./ebook2audiobook.command or ebook2audiobook.cmd would do.
  • To use another folder, set E2A_HOME before the first start and keep it set for the next ones (i.e. export E2A_HOME=/data/ebook2audiobook on Linux/MacOS, setx E2A_HOME D:\ebook2audiobook then a new terminal on Windows). Keep its path short: 98 characters at most on Linux/MacOS, 179 on Windows, see Common Issues.
  • That folder is a regular ebook2audiobook folder: ./ebook2audiobook.command (./e2a.sh) and ebook2audiobook.cmd (e2a.cmd) work in it too.
  • If that folder already holds a cloned or downloaded ebook2audiobook, it is started as it is and pip never changes it.
  • Relative paths given to --ebook, --ebooks_dir, --voice, --voice_map, --custom_model and --output_dir are read from the folder where you type the command.
  • No need to deactivate your venv or conda env: ebook2audiobook always runs in its own python_env.
  • Docker: ebook2audiobook --script_mode build_docker (optionally with --docker_mode compose or --docker_mode podman) builds the image from that folder. Run the docker run / docker compose commands it prints from that folder too: their ./ebooks, ./audiobooks... mounts and the compose files are relative to it. The image takes the same options, with paths inside the container (/app/...), see Docker.
  • Update: pipx upgrade ebook2audiobook, uv tool upgrade ebook2audiobook or pip install -U ebook2audiobook. The next start updates the app files and keeps python_env, models, voices, audiobooks and anything you added to the folder.
  • Uninstall: pip uninstall, pipx uninstall or uv tool uninstall alone only remove the command: the folder and its gigabytes of models stay. Uninstall ebook2audiobook with the command itself first:
    1. Move your audiobooks out of the folder's audiobooks subfolder: everything in the folder is deleted.
    2. ebook2audiobook --uninstall It runs the uninstaller of the folder, which asks you to confirm then removes the shortcuts, the programs it installed (listed in .installed) and the folder content, then it deletes the folder.
    3. Run the command it prints last to remove ebook2audiobook itself, which depends on how you installed it: pipx uninstall ebook2audiobook, uv tool uninstall ebook2audiobook or pip uninstall ebook2audiobook.
    4. If you built Docker images: docker rmi athomasson2/ebook2audiobook:<tag> and docker volume rm e2a_venvs (with Podman: podman rmi localhost/athomasson2/ebook2audiobook:<tag> and podman volume rm e2a_venvs).
Basic Usage
  • Linux/MacOS:

    ./ebook2audiobook.command --headless --ebook <path_to_ebook_file> --voice <path_to_voice_file> --language <language_code>
  • Windows

    ebook2audiobook.cmd --headless --ebook <path_to_ebook_file> --voice <path_to_voice_file> --language <language_code>
  • pip / pipx install (all OS)

    ebook2audiobook --headless --ebook <path_to_ebook_file> --voice <path_to_voice_file> --language <language_code>
  • [--ebook]: Path to your eBook file

  • [--voice]: Voice cloning file path (optional)

  • [--language]: Language code in ISO-639-3 (i.e.: ita for italian, eng for english, deu for german...). Default language is eng and --language is optional for default language set in ./lib/lang.py. The ISO-639-1 2 letters codes are also supported.

Example of Custom Model Zip Upload

(must be a .zip file containing the mandatory model files. Example for XTTSv2: config.json, model.pth, vocab.json and ref.wav)

  • Linux/MacOS

    ./ebook2audiobook.command --headless --ebook <ebook_file_path> --language <language> --custom_model <custom_model_path>
  • Windows

    ebook2audiobook.cmd --headless --ebook <ebook_file_path> --language <language> --custom_model <custom_model_path>

    Note: the ref.wav of your custom model is always the voice selected for the conversion

  • \: Path to model_name.zip file, which must contain (according to the tts engine) all the mandatory files (see ./lib/models.py).

For Detailed Guide with list of all Parameters to use
  • Linux/MacOS
    ./ebook2audiobook.command --help
  • Windows
    ebook2audiobook.cmd --help
  • pip / pipx install (all OS)
    ebook2audiobook --help
  • Or for all OS
```python
 app.py --help
```

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases ebook2audiobook

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Frame 2085668439 (1)
Group 1261154229