Book to MP3 converter. Convert e-books (FB2, EPUB, TXT) to MP3 audiobooks using various Text-to-Speech technologies.
10
stars
90
commits
TypeScript
primary language
Jul 8, 2026
updated
Convert e-books (FB2, EPUB, TXT) to MP3 audiobooks using various Text-to-Speech technologies.
Speed: Fast | Quality: Good | Offline
Lightweight offline engine based on Windows SAPI with minimal installation size (~15 MB per voice). Provides instant speech generation with very low CPU usage, making it perfect for converting large books quickly.
Download: RHVoice releases
Speed: Fast | Quality: Good | Offline
Neural TTS engine powered by ONNX Runtime. Offers excellent voice quality with fast generation — processes text 10-50x faster than real-time on most CPUs.
US voices: Amy, Kathleen, Kristin, HFC Female, LJSpeech (Female) • Arctic, Bryce, Danny, HFC Male, Joe, John, Kusal, L2Arctic, Lessac, LibriTTS, Norman, Reza Ibrahim, Ryan, Sam (Male)
GB voices: Alba, Cori, Jenny Dioco, Southern English Female (Female) • Alan, Aru, Northern English Male, Semaine, VCTK (Male)
Download models: Piper Voices
Speed: Medium | Quality: Excellent | Offline
Advanced neural TTS engine built on PyTorch. Delivers natural, expressive speech with excellent prosody.
Models download automatically on first use (~100-200 MB).
Speed: Slow | Quality: Premium | Offline
State-of-the-art multilingual model with 14 built-in speaker voices. Produces the most natural-sounding speech among local engines with exceptional emotional range and prosody.
Female: Claribel Dervla, Daisy Studious, Gracie Wise, Tammie Ema, Alison Dietlinde, Ana Florence, Annmarie Nele, Asya Anara
Male: Andrew Chipper, Badr Odhiambo, Dionisio Schuyler, Royston Min, Viktor Eka, Abrahan Mack
Supports 17 languages including Russian, English, Spanish, French, German, Italian, Portuguese, Polish, Turkish, Dutch, Czech, Arabic, Chinese, Japanese, Hungarian, Korean, and Hindi.
Speed: Slow | Quality: Experimental | Offline
Suno Bark Small is a generative text-to-audio model for expressive short-form speech. It supports Russian and English speaker presets and can produce pauses, laughter, sighs and other non-verbal sounds. Bark is best treated as experimental for audiobooks because it can deviate from the exact source text more than conventional TTS models.
Model downloads during Bark setup. GPU acceleration is supported through CUDA or DirectML when available, with CPU fallback for DirectML generation issues.
Speed: Fast | Quality: Premium | Online
Premium cloud-based TTS with cutting-edge AI voice synthesis. Offers studio-quality output with remarkable naturalness.
Setup:
.env file:ELEVENLABS_API_KEY=your_api_key_here
git clone <repo-url>
cd voicecraft
npm install
Run the universal setup script:
# Via npm (recommended)
npm run setup
# Or directly via PowerShell
powershell .\scripts\setup-all.ps1
This will install:
Download and install from RHVoice releases. Voices will be automatically detected after installation.
Download voices from Piper releases and extract to:
tts_resources/piper/voices/
Structure:
tts_resources/
piper/
voices/
ru_RU/
denis/
medium/
ru_RU-denis-medium.onnx
ru_RU-denis-medium.onnx.json
en_US/
lessac/
medium/
en_US-lessac-medium.onnx
en_US-lessac-medium.onnx.json
Models download automatically on first use (~100-200 MB).
# Install only Silero
npm run setup:silero
Model downloads automatically on first use (~2 GB). Requires Python 3.9+ and GPU recommended for faster generation.
Model downloads during setup. Requires Python 3.9+ and GPU recommended for faster generation. Use shorter previews first because Bark is generative and may not follow long text exactly.
Add your API key to .env file:
ELEVENLABS_API_KEY=your_api_key_here
npm run dev
npm run build
npm run package
voicecraft/
├── electron/ # Electron main process
│ ├── main.ts # Main process entry point
│ ├── preload.ts # IPC bridge (preload script)
│ ├── main/
│ │ ├── window.ts # Window management
│ │ └── handlers/ # IPC handlers
│ └── services/
│ ├── parser.ts # Book parsing
│ ├── setup/ # Dependency installation
│ └── tts/ # TTS services
├── src/ # React frontend
│ ├── App.tsx # Main component
│ ├── i18n/ # Internationalization (EN/RU)
│ ├── components/ # UI components
│ ├── hooks/ # React hooks
│ ├── fsm/ # State machine
│ └── utils/ # Utility functions
├── tts_resources/ # TTS resources
│ ├── piper/ # Piper TTS
│ ├── silero/ # Silero TTS
│ ├── coqui/ # Coqui XTTS-v2
│ ├── ffmpeg/ # FFmpeg for conversion
│ └── tts_server.py # Python TTS server
├── scripts/
│ ├── setup-all.ps1 # Universal setup
│ ├── setup-silero.ps1 # Setup only Silero
│ └── release.cjs # Release automation
└── .env # Environment variables (API keys)
| Provider | Speed | Quality | Model Size | Type | Recommendation |
|---|---|---|---|---|---|
| RHVoice | Fast | Good | ~15 MB | CPU | Quick processing |
| Piper | Fast | Good | ~50 MB | CPU | Balanced option |
| Silero | Medium | Excellent | ~100-200 MB | CPU/GPU | Natural Russian voices |
| Coqui | Slow | Premium | ~2 GB | CPU/GPU | Best offline quality |
| Bark Small | Slow | Experimental | ~4.8 GB | CPU/GPU | Expressive short passages |
| ElevenLabs | Fast | Premium | Cloud | API | Best overall quality |
Silero and Coqui support hardware acceleration for faster speech generation:
| Accelerator | Supported GPUs | PyTorch Size | Speed Boost |
|---|---|---|---|
| CUDA | NVIDIA (GTX 10xx+, RTX series) | ~2.3 GB | 3-10x |
| DirectML | AMD Radeon on Windows | ~250 MB | 2-5x |
| CPU | Any | ~150-200 MB | Baseline |
CUDA is available for Silero, Coqui and Bark. DirectML is available for Coqui XTTS-v2 and Bark Small.
During initial setup: When installing Silero, Coqui or Bark, select your preferred accelerator (CUDA, DirectML, or CPU). DirectML appears for Coqui and Bark when an AMD Radeon GPU is detected.
Change accelerator later: Go to Settings → TTS Setup → click "Reinstall" button next to Silero or Coqui to change the accelerator
For NVIDIA CUDA:
nvidia-smiFor AMD DirectML:
The application automatically detects available GPUs:
.onnx and .onnx.json files must be in same foldertts_resources/coqui/venv existstts_resources/bark-*/python/python.exe and generate.py exist.env filenpm run setuptts_resources/ffmpeg/ffmpeg.exe existsMIT
90 commits
TypeScript
94.5%
PowerShell
2.6%
Book to MP3 converter. Convert e-books (FB2, EPUB, TXT) to MP3 audiobooks using various Text-to-Speech technologies.
10
stars
90
commits
TypeScript
primary language
Jul 8, 2026
updated
Convert e-books (FB2, EPUB, TXT) to MP3 audiobooks using various Text-to-Speech technologies.
Speed: Fast | Quality: Good | Offline
Lightweight offline engine based on Windows SAPI with minimal installation size (~15 MB per voice). Provides instant speech generation with very low CPU usage, making it perfect for converting large books quickly.
Download: RHVoice releases
Speed: Fast | Quality: Good | Offline
Neural TTS engine powered by ONNX Runtime. Offers excellent voice quality with fast generation — processes text 10-50x faster than real-time on most CPUs.
US voices: Amy, Kathleen, Kristin, HFC Female, LJSpeech (Female) • Arctic, Bryce, Danny, HFC Male, Joe, John, Kusal, L2Arctic, Lessac, LibriTTS, Norman, Reza Ibrahim, Ryan, Sam (Male)
GB voices: Alba, Cori, Jenny Dioco, Southern English Female (Female) • Alan, Aru, Northern English Male, Semaine, VCTK (Male)
Download models: Piper Voices
Speed: Medium | Quality: Excellent | Offline
Advanced neural TTS engine built on PyTorch. Delivers natural, expressive speech with excellent prosody.
Models download automatically on first use (~100-200 MB).
Speed: Slow | Quality: Premium | Offline
State-of-the-art multilingual model with 14 built-in speaker voices. Produces the most natural-sounding speech among local engines with exceptional emotional range and prosody.
Female: Claribel Dervla, Daisy Studious, Gracie Wise, Tammie Ema, Alison Dietlinde, Ana Florence, Annmarie Nele, Asya Anara
Male: Andrew Chipper, Badr Odhiambo, Dionisio Schuyler, Royston Min, Viktor Eka, Abrahan Mack
Supports 17 languages including Russian, English, Spanish, French, German, Italian, Portuguese, Polish, Turkish, Dutch, Czech, Arabic, Chinese, Japanese, Hungarian, Korean, and Hindi.
Speed: Slow | Quality: Experimental | Offline
Suno Bark Small is a generative text-to-audio model for expressive short-form speech. It supports Russian and English speaker presets and can produce pauses, laughter, sighs and other non-verbal sounds. Bark is best treated as experimental for audiobooks because it can deviate from the exact source text more than conventional TTS models.
Model downloads during Bark setup. GPU acceleration is supported through CUDA or DirectML when available, with CPU fallback for DirectML generation issues.
Speed: Fast | Quality: Premium | Online
Premium cloud-based TTS with cutting-edge AI voice synthesis. Offers studio-quality output with remarkable naturalness.
Setup:
.env file:ELEVENLABS_API_KEY=your_api_key_here
git clone <repo-url>
cd voicecraft
npm install
Run the universal setup script:
# Via npm (recommended)
npm run setup
# Or directly via PowerShell
powershell .\scripts\setup-all.ps1
This will install:
Download and install from RHVoice releases. Voices will be automatically detected after installation.
Download voices from Piper releases and extract to:
tts_resources/piper/voices/
Structure:
tts_resources/
piper/
voices/
ru_RU/
denis/
medium/
ru_RU-denis-medium.onnx
ru_RU-denis-medium.onnx.json
en_US/
lessac/
medium/
en_US-lessac-medium.onnx
en_US-lessac-medium.onnx.json
Models download automatically on first use (~100-200 MB).
# Install only Silero
npm run setup:silero
Model downloads automatically on first use (~2 GB). Requires Python 3.9+ and GPU recommended for faster generation.
Model downloads during setup. Requires Python 3.9+ and GPU recommended for faster generation. Use shorter previews first because Bark is generative and may not follow long text exactly.
Add your API key to .env file:
ELEVENLABS_API_KEY=your_api_key_here
npm run dev
npm run build
npm run package
voicecraft/
├── electron/ # Electron main process
│ ├── main.ts # Main process entry point
│ ├── preload.ts # IPC bridge (preload script)
│ ├── main/
│ │ ├── window.ts # Window management
│ │ └── handlers/ # IPC handlers
│ └── services/
│ ├── parser.ts # Book parsing
│ ├── setup/ # Dependency installation
│ └── tts/ # TTS services
├── src/ # React frontend
│ ├── App.tsx # Main component
│ ├── i18n/ # Internationalization (EN/RU)
│ ├── components/ # UI components
│ ├── hooks/ # React hooks
│ ├── fsm/ # State machine
│ └── utils/ # Utility functions
├── tts_resources/ # TTS resources
│ ├── piper/ # Piper TTS
│ ├── silero/ # Silero TTS
│ ├── coqui/ # Coqui XTTS-v2
│ ├── ffmpeg/ # FFmpeg for conversion
│ └── tts_server.py # Python TTS server
├── scripts/
│ ├── setup-all.ps1 # Universal setup
│ ├── setup-silero.ps1 # Setup only Silero
│ └── release.cjs # Release automation
└── .env # Environment variables (API keys)
| Provider | Speed | Quality | Model Size | Type | Recommendation |
|---|---|---|---|---|---|
| RHVoice | Fast | Good | ~15 MB | CPU | Quick processing |
| Piper | Fast | Good | ~50 MB | CPU | Balanced option |
| Silero | Medium | Excellent | ~100-200 MB | CPU/GPU | Natural Russian voices |
| Coqui | Slow | Premium | ~2 GB | CPU/GPU | Best offline quality |
| Bark Small | Slow | Experimental | ~4.8 GB | CPU/GPU | Expressive short passages |
| ElevenLabs | Fast | Premium | Cloud | API | Best overall quality |
Silero and Coqui support hardware acceleration for faster speech generation:
| Accelerator | Supported GPUs | PyTorch Size | Speed Boost |
|---|---|---|---|
| CUDA | NVIDIA (GTX 10xx+, RTX series) | ~2.3 GB | 3-10x |
| DirectML | AMD Radeon on Windows | ~250 MB | 2-5x |
| CPU | Any | ~150-200 MB | Baseline |
CUDA is available for Silero, Coqui and Bark. DirectML is available for Coqui XTTS-v2 and Bark Small.
During initial setup: When installing Silero, Coqui or Bark, select your preferred accelerator (CUDA, DirectML, or CPU). DirectML appears for Coqui and Bark when an AMD Radeon GPU is detected.
Change accelerator later: Go to Settings → TTS Setup → click "Reinstall" button next to Silero or Coqui to change the accelerator
For NVIDIA CUDA:
nvidia-smiFor AMD DirectML:
The application automatically detects available GPUs:
.onnx and .onnx.json files must be in same foldertts_resources/coqui/venv existstts_resources/bark-*/python/python.exe and generate.py exist.env filenpm run setuptts_resources/ffmpeg/ffmpeg.exe existsMIT
90 commits
TypeScript
94.5%
PowerShell
2.6%