Speech-to-text, text-to-speech, speaker diarization, speech enhancement, source separation, and VAD using next-gen Kaldi with onnxruntime without Internet connection. Support embedded systems, Android, iOS, HarmonyOS, Raspberry Pi, RISC-V, RK NPU, Axera NPU, Ascend NPU, x86_64 servers, websocket server/client, support 12 programming languages
About this project
sherpa-onnx is an open-source speech and audio project on GitHub: Speech-to-text, text-to-speech, speaker diarization, speech enhancement, source separation, and VAD using next-gen Kaldi with onnxruntime without Internet connection. Support embedded systems, Android, iOS, HarmonyOS, Raspberry Pi, RISC-V, RK NPU, Axera NPU, Ascend NPU, x86_64 servers, websocket server/client, support 12 programming languages. It covers speech and audio, the layer that turns text into voice, voice into text, or raw audio into something structured. It is maintained by k2-fsa and published as a public repository you can read, fork and run yourself.
On GitHub the repository is tagged aarch64, android, arm32, asr, cpp, csharp, dotnet, ios, lazarus and linux, which is a fair summary of what it covers. Most deployments care about latency and voice quality, so the project usually ships both a batch path and a streaming or real-time one.
It is written mainly in C++ and released under APACHE-2.0, a permissive license — commercial use is fine as long as copyright notices are kept. It is actively maintained: the most recent commit landed on November 18, 2026.
To try it, clone the repository and follow its README; that file is the canonical install guide. There is also a project page at https://k2-fsa.github.io/sherpa/onnx/index.html for documentation or a hosted demo. Because it runs on your own infrastructure, budget time for environment setup: dependencies, model weights and configuration usually take longer than the first successful run.
Key facts as recorded on GitHub: 16,021 stars; 1,883 forks; primary language C++; license APACHE-2.0; last commit on November 18, 2026; topics aarch64, android, arm32, asr, cpp, csharp.