Kokoro FastAPI
Text-to-speech and voice AI
Dockerized OpenAI-compatible text-to-speech server built on the Kokoro-82M model
5.7k 957 3 days ago Thriving Apache-2.0
Local neural text-to-speech engine for apps, assistants and screen readers
Listed by Alston Antony, founder & editor
Health
ActiveStars
6,376
Last commit
today
Nov 2026
Repository age
1 year
since Mar 2025
Latest version
v1.8.0
Sep 2026
Contributors
–
10 active in 90 days
Releases
8
last 12 months
Language
C++
Piper is a neural text-to-speech engine written in C++ that runs on your own hardware. It embeds espeak-ng for phonemization, so text is converted to phonemes before a voice model turns it into audio. Nothing needs to be sent to a cloud service.
You can use it through a command-line interface, a built-in web server, a Python API or a C/C++ library. A Java binding (Piper JNI) covers other languages. You can also train new voices. Install the Python package with pip, or build it manually. A Docker image is available.
Piper is used in Home Assistant, the NVDA screen reader, LocalAI and several hobby and accessibility projects. It is licensed under GPL-3.0, and voices carry their own licenses, so check the voice terms before commercial use. The project is under the Open Home Foundation, which is looking for maintainers. It does not replace one specific product, but it fits where you would otherwise call a paid cloud speech API.
Home Assistant uses Piper, so spoken replies can be generated on your own network.
Skip if: You want a hosted voice with no setup and are fine sending text to a cloud service.
It offers Python and C/C++ APIs, a CLI and an HTTP server, so you can pick how to integrate.
Skip if: Your product is closed source and the GPL-3.0 license would conflict with how you ship it.
NVDA and other reading tools already use it for offline speech.
Skip if: You need voice cloning or highly expressive speech styles.
Cloud text-to-speech services charge per use and send your text to a third party. Piper lets you generate speech on your own machine, including small devices, without an external API.
pip install piper-tts From the project's own install instructions. Check the docs for production settings.
Yes. The code is open source under GPL-3.0. Individual voices have their own licenses, so review them before commercial use.
Yes. It is a local engine, so synthesis happens on your own hardware.
Run pip install piper-tts for the Python package. You can also build it manually, and a Docker image exists.
Yes. The project documents how to train new voices.
Yes, through the Piper JNI binding.
Text-to-speech and voice AI
Dockerized OpenAI-compatible text-to-speech server built on the Kokoro-82M model
5.7k 957 3 days ago Thriving Apache-2.0
Text-to-speech and voice AI
Singing voice editor for UTAU users on Windows, macOS and Linux
4.6k 612 8 days ago Active MIT
Text-to-speech and voice AI
Offline speech synthesizer with small voices for Windows, Linux and Android
1.9k 267 2 days ago Active GPL-2.0
Text-to-speech and voice AI
Offline text-to-speech engine for Android that runs Piper and Coqui voices
824 58 4 months ago Slowing GPL-3.0
Text-to-speech and voice AI
Self-hosted, OpenAI-compatible text-to-speech API with voice cloning
701 159 11 months ago Dormant AGPL-3.0
Text-to-speech and voice AI
Self-hosted text-to-speech reader for EPUB, PDF, TXT, Markdown and DOCX with read-along
596 82 yesterday Thriving MIT