Skip to content

About

100% offline, 0 MB VRAM desktop AI text-to-speech reader & chapter-marked audiobook studio (Win/macOS/Linux)

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

LocalVoice Logo

🎙️ LocalVoice — 100% Offline, 0 MB VRAM AI Text-to-Speech & Audiobook Studio

🇬🇧 English (Active) · 🇹🇷 Türkçe README · 💻 Compatibility Matrix · 🤝 Contributing · 🛡️ Security · 📜 Changelog

Turn PDFs, EPUBs, Markdown, HTML articles, and clipboard text into natural offline speech or chapter-marked .m4b / .mp3 / .wav audiobooks — 100% CPU (0 MB VRAM), zero subscriptions, strict Air-Gapped privacy mode, SQLite WAL + FTS5 library, Sleep Timer, SHA-256 Auto-Updater, and Studio 2.0 PyQt6 UI for Windows x64, macOS Apple Silicon, and Linux.

Official Website Windows Download macOS Download Linux Download GitHub Releases

CI Release Python PyQt6 ONNX VRAM License: MIT


✨ Why LocalVoice? · 🖥️ Interface · 🏗️ Architecture · ⚖️ Comparison · 🚀 Download & Install · ⌨️ Shortcuts · 📊 Benchmarks


✨ Why LocalVoice? (What's New in v1.0.0)

LocalVoice is a privacy-first, open-source desktop alternative to Speechify, ElevenReader, and NaturalReader — built for readers, researchers, students, and engineers who want natural speech and chapter-marked audiobooks without cloud uploads or monthly subscriptions.

📄 Multi-Format Document Engine
Open .pdf, .epub, .md, .html, and .txt files (or drag-and-drop / read clipboard with Ctrl+Shift+V) with automatic chapter detection, PDF hyphenation repair, and abbreviation-aware sentence splitting.
🗣️ Unified 0 MB VRAM TTS Pipeline
Supports Piper ONNX (including native Turkish & English neural voices), Kokoro ONNX (82M neural English), and zero-download Native OS PCM fallback (macOS say, Windows SAPI, Linux eSpeak-NG) with look-ahead sentence prefetching and a live 32-band FFT spectrum.
🎧 One-Click Audiobook Studio (.m4b / .mp3 / .wav)
Convert all or selected chapters into chapter-marked .m4b audiobooks (embedded FFMETADATA1 timestamps for Apple Books & VLC), universal .mp3 podcasts, or lossless .wav.
📚 SQLite WAL + FTS5 Library & Sleep Timer
Automatically bookmarks your exact sentence progress, supports Turkish diacritic-insensitive FTS5 search (calisiyor finds çalışıyor), exports your library to JSON, and includes a built-in Sleep Timer (15–60 min).
🔤 Custom Pronunciation Dictionary
Define word-boundary spoken overrides for acronyms, brand names, and technical terms (ONNX, SQLite, PyQt6, FFmpeg) with ~9.4 µs expansion latency.
🛡️ Strict Air-Gapped Lock & SHA-256 Updater
Air-Gapped mode is enabled by default — guaranteeing 0 external HTTP requests until you explicitly opt in to download a voice model or verify a signed/checksummed GitHub Release update.

🖥️ Studio 2.0 Interface

LocalVoice Studio 2.0 — Reader Stage
📸 View More Screens (Audiobook Exporter · Settings, Auto-Updater & Hardware Telemetry)

Tab 2 — Chapter-Marked Audiobook Exporter (.m4b / .mp3 / .wav)

LocalVoice Studio 2.0 — Audiobook Exporter

Tab 5 — Settings, Launch at Login, SHA-256 Auto-Updater & Hardware Telemetry

LocalVoice Studio 2.0 — Settings and Telemetry

🏗️ Offline Pipeline Architecture

flowchart LR
    DOC["📄 Document / Clipboard<br/>(PDF · EPUB · MD · HTML · TXT)"] --> PARSE["✂️ Chapter & Sentence Engine<br/>(PDF Hyphen Repair · Abbreviations)"]
    PARSE --> PRON["🔤 Pronunciation Rules<br/>(Word-Boundary Overrides · 9.4 µs)"]
    PARSE --> DB["🗄️ SQLite WAL + FTS5<br/>(Auto-Bookmark · Turkish Search)"]
    PRON --> TTS["🗣️ 0 MB VRAM TTS Pipeline<br/>(Piper ONNX · Kokoro ONNX · Native OS)"]
    TTS --> PRE["⚡ Look-Ahead Prefetch Queue<br/>(Zero Gap Between Sentences)"]
    PRE --> PLAY["🔊 Live Audio + 32-Band FFT<br/>(sounddevice · Sleep Timer)"]
    TTS --> EXP["🎧 Audiobook Studio<br/>(.m4b FFMETADATA1 · .mp3 · .wav)"]
Loading

⚖️ How It Compares

Feature 🎙️ LocalVoice v1.0.0 Speechify ElevenReader NaturalReader
100% Air-Gapped Offline Yes (Air-Gapped Lock on by default) No (Cloud) No (Cloud) Partial (Paid)
Pricing & License 100% Free & Open Source (MIT) ~$139 / year $11–$22 / mo $10–$19 / mo
Platforms Windows x64 · macOS M1–M4 · Linux Web / iOS / Mac iOS / Android Web / Win / Mac
GPU / VRAM Overhead 0 MB VRAM (100% CPU ONNX) Cloud Cloud Cloud / Local
Chapter-Marked .m4b Audiobooks Built-in (FFMETADATA1) No No Paid tier
PDF / EPUB / MD / HTML + FTS5 Library Built-in (SQLite WAL) Limited Limited Limited
Custom Pronunciation Dictionary Built-in (Unlimited) Paid Limited Paid

🚀 Download & Installation

Windows (x64 — Windows 10 / 11)

macOS (Apple Silicon M1–M4)

  • Native DMG (Recommended): Download LocalVoice-macOS.dmg (LocalVoice-v1.0.0-macOS-arm64.dmg) from the official website or GitHub Releases and drag LocalVoice.app into Applications.
  • Homebrew Cask: Formula ready under packaging/homebrew/localvoice.rb.
  • First-launch tip: If macOS Gatekeeper blocks an unsigned open-source build, run:
    xattr -cr "/Applications/LocalVoice.app"
  • Optional FFmpeg for .m4b / .mp3 export: brew install ffmpeg

Linux (x86_64)

  • Portable Bundle: Download LocalVoice-Linux.tar.gz (LocalVoice-v1.0.0-Linux-x86_64.tar.gz) from the official website or GitHub Releases, extract, and run ./LocalVoice/LocalVoice.
  • Recommended System Packages:
    sudo apt install libportaudio2 ffmpeg espeak-ng

Run From Source (Developers)

git clone https://github.com/Andacbasaran/LocalVoice.git
cd LocalVoice
./scripts/start.sh          # macOS / Linux (or scripts\baslat.bat on Windows)
# Optional neural ONNX engines:
pip install kokoro-onnx piper-tts

⌨️ Keyboard Shortcuts

Shortcut Action
Space Play / Pause
Alt + Right / Alt + Left Next / Previous sentence
Ctrl + O Open document (PDF / EPUB / MD / HTML / TXT)
Ctrl + Shift + V Read clipboard immediately

📊 Performance Benchmarks

Measured locally via QT_QPA_PLATFORM=offscreen python scripts/benchmark.py (see benchmark_results.json):

LocalVoice Performance Benchmark Chart
Pipeline Stage Measured Latency Notes
Pronunciation Dictionary Expansion 9.4 µs (0.0094 ms) Word-boundary acronym & custom term overrides
Multi-Chapter Document Parse & Split 0.46 ms PDF hyphenation repair + abbreviation-safe splitter
SQLite WAL + FTS5 Search (1,200 docs) 1.65 ms Turkish diacritic-insensitive query (calisiyor → çalışıyor)
Audiobook PCM Stitch & WAV Export 1.64 ms Multi-chapter 22.05 kHz lossless PCM output
GPU / VRAM Usage 0 MB 100% CPU execution — safe alongside games & IDEs

📜 License

Released under the MIT License. Built by Andaç Başaran.

About

100% offline, 0 MB VRAM desktop AI text-to-speech reader & chapter-marked audiobook studio (Win/macOS/Linux)

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages