← Back to Leaderboard
Ehgneng

hgneng/ekho

Local text-to-speech engine with replaceable Mandarin voices and Toisanese CLI support

View on GitHub ↗
LLM Inference EngineStack: VOICE & AUDIO →
Engineering Health (Methodology)
B+ · 73/100
Maintenance Activity
● Updated 16d ago
Latest Release
v9.0
Commercial License Check
GPL-2.0 · Copyleft Warning

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance31/35
Fork Adoption20/25
Release Cadence11/20
License Clarity11/20
DockerSelf-Hosted
Total Stars
★ 1,212
24h Growth
+0
7d Growth
+0
Forks
267

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

hgneng/ekho Star History (2020-01-12 - 2026-12-04) ALL-TIME STAR HISTORY (2020-01 – 2026-12) +738 in 2518d · avg +0/day 1.3k 812 371 2020-01-12: ★ 4742020-06-13: ★ 5422020-11-14: ★ 5972021-04-17: ★ 6722021-09-18: ★ 7352022-02-19: ★ 7902022-07-23: ★ 8402022-12-24: ★ 8892023-05-27: ★ 9472023-10-28: ★ 9982024-03-30: ★ 1,0552024-08-31: ★ 1,0862025-02-01: ★ 1,1172025-07-05: ★ 1,1532025-12-06: ★ 1,1792026-05-09: ★ 1,1972026-12-04: ★ 1,212 ★ 1.2k 2020-01 2023-06 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Ekho separates the local synthesis engine from its voice assets. The clearest execution path is the ekho CLI: it accepts text and selects a voice with -v. For Mandarin, the voice files live in the pinyin directory. After a voice swap, removing pinyin.index and pinyin.voice lets the next run regenerate both from the replacement data.

configure.ac, Makefile.am, and autogen.sh identify an Autotools build path. The tree also contains festival_agent.cpp, festival_agent.h, and speechd-api. These are useful integration leads, but they do not establish that Festival is a mandatory runtime dependency or that Ekho exposes a network service or stable extension API.

Key Capabilities & Differentiators

The demonstrated workflow is local text-to-speech with selectable voices. The Docker example selects Toisanese with -v Toisanese, and v9.0 makes baker the default Mandarin voice. Cantonese and Tibetan are project topics, but do not treat those labels as a guarantee that a particular package includes the corresponding voices. Verify each required language against the voice data you intend to deploy.

Operators can replace the Mandarin voice directory without rebuilding the executable, provided they remove the generated files and let Ekho rebuild them. There is also a path for creating custom voices, but the asset format and production requirements are not specified. Validate output format, streaming behavior, and performance before depending on any of them.

Trade-offs & Limitations

Compared with a hosted TTS API, Ekho keeps the demonstrated synthesis path local but leaves voice provisioning, host audio, and application integration to the operator. Its Toisanese example makes it worth testing when that language is a requirement. Compared with neural TTS, assess pronunciation, intelligibility, and naturalness on your own text; there is no benchmark here that establishes a quality or latency lead.

Changing the voice files and regenerating their indexes are coupled steps. Deploy them together, verify write access for regeneration, and retain the previous engine and voice artifacts for rollback. The engine is GPL-2.0: internal operation and redistribution are different cases, and separately obtained voice packages need their own license review.

Hardware & Deployment Guide

For a source build, start with the Autotools files and INSTALL, or consult BUILD-macOS-arm64.md for that platform. Provision the voice data separately. The Docker example uses dosentmatter/ekho: on Linux it passes /dev/snd; on macOS it uses host PulseAudio, PULSE_SERVER=host.docker.internal, and a mounted PulseAudio configuration directory. Neither route eliminates host audio setup when playback is required.

No hosted API is needed for the demonstrated local CLI path once the engine and voices are installed. For repeatable deployment, pin the engine and voice artifacts separately and test regeneration wherever the voice data is staged. v8.9.3 (2022-09-09) targeted Debian package building; v9.0 (2023-08-08) changed the default Mandarin voice. Test upgrades for audible changes even when your CLI invocation stays the same.

CLI: The container example selects the Toisanese voice with -v Toisanese and passes 排骨 as input text.
Voice provisioning: Voice files come from a distribution package or a separate voice-data download, not from the source checkout.
Mandarin updates: Replacing pinyin requires regenerating pinyin.index and pinyin.voice on the next run.
Linux audio: The Docker example passes /dev/snd into the container for playback.
macOS container audio: The example routes playback through host PulseAudio using PULSE_SERVER=host.docker.internal and a mounted PulseAudio configuration directory.
Release changes: v9.0 switched the default Mandarin voice to baker; v8.9.3 focused on Debian package building.
Best For

Local Mandarin or Toisanese read-aloud workflows where you can provision voice files, invoke a CLI, and validate pronunciation on your own text.

Skip If

You need a managed streaming endpoint, bundled voices with confirmed redistribution rights, or proven latency, concurrency, and voice-quality guarantees out of the box.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Comparison vs. Top Voice, Vision & Video Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
ekho ★1.2k—LexGPL-2.0Local text-to-speech engine with replaceable Mandarin voices and Toisanese CLI s
fish-speech34k+84Python—Self-hosted PyTorch speech inference for directed, multi-speaker audio
whisper.cpp55.8k+292C++MITNative C/C++ Whisper inference for offline speech-to-text on CPUs and accelerato
faster-whisper27.2k+147PythonMITLocal Whisper transcription with CTranslate2 for CPU and GPU

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/hgneng/ekho.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

hgneng/ekho Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about ekho

What is the clearest integration path for an existing application?

Start with the demonstrated ekho CLI and provision the matching voice files alongside it. For a Mandarin voice replacement, swap the pinyin directory, remove pinyin.index and pinyin.voice, and run Ekho to regenerate both files. The speechd-api and Festival agent files are leads for deeper integration, but their presence does not establish a production-ready API contract.

Do I need a GPU, and how should I size the runtime?

No GPU, CUDA, or VRAM requirement is established for the demonstrated CLI and Docker paths. Size the deployment by measuring voice-data disk usage, first-run regeneration time, peak process memory, and synthesis throughput on representative text at your intended concurrency. Measure host audio separately if playback is part of the service.

Can we self-host Ekho commercially or ship it in a product?

GPL-2.0 permits commercial use; running Ekho internally is generally distinct from distributing it. If you ship the program, a modified build, or a container containing it, review the applicable GPL-2.0 notice and corresponding-source obligations. Verify the redistribution terms of each separately obtained voice package before bundling it.

How should we compare Ekho with neural TTS or a hosted API?

Compare the same target-language passages and assess pronunciation and intelligibility with native listeners. Include voice-install reproducibility and output integration in the test. Prefer a neural TTS candidate if it meets a naturalness or expressiveness requirement Ekho does not; prefer a hosted API if a managed endpoint matters more than local control.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining hgneng/ekho? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature hgneng/ekho on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare