Audio and video · Independent · 22 Oct 2026

k2-fsa/sherpa-onnx

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

← Audio and video
Sherpa-onnx: offline speech toolkit. Speech-to-text and text-to-speech on local hardware.

In simple English

This tool lets your apps listen to speech and speak out loud. It runs on phones, computers, and tiny microchips without an internet connection. Your voice data stays on your hardware and never goes to a remote server. You can use it in Python, C++, JavaScript, and many other programming languages. It is free to use for any project.

What it is

Sherpa-onnx is an open-source library that runs speech and audio models locally using the ONNX Runtime (a way to run trained machine learning models quickly on normal hardware). It handles speech-to-text, text-to-speech, speaker identification, noise removal, and keyword spotting across dozens of platforms.

What it is good for

Solo builders who want to add voice commands, offline transcription, or text reading to mobile apps, desktop tools, or embedded hardware without paying for cloud speech APIs.

Stars15k
LicenceApache-2.0
Latestv1.13.8 (2026-09-10)checked 22 Oct 2026
Last code change2026-10-21
Written inC++
Setup effort
3 / 5
Payoff
5 / 5
Good
  • Works completely offline with no internet connection required.
  • Supports twelve programming languages and many operating systems.
  • Runs efficiently on normal CPUs as well as mobile devices and specialized chips.
Watch for
  • Requires downloading and managing separate model files for each language and task.
  • Compiling from source for unusual embedded architectures takes considerable time and patience.
  • Large neural network models need sufficient memory to run smoothly.
Replaces

Paid cloud speech recognition and text-to-speech APIs

Works well with

Silero VAD for voice activity detection

Similar repositories
  • openai/whisper111k stars

    OpenAI's official speech recognition model repository, though sherpa-onnx runs faster on local hardware and supports more platforms.

  • ggml-org/whisper.cpp55k stars

    Port of Whisper to C/C++ for fast local inference, whereas sherpa-onnx supports a wider range of audio tasks beyond transcription.

Also reviewed on Repo Radar
  • snapcast/snapcast8.0k stars

    A server and clients that play one audio stream in several rooms, kept in time with each other.

  • MusicPlayerDaemon/MPD2.8k stars

    A background music player with no interface of its own, controlled over a network by separate client programs.

  • AcademySoftwareFoundation/OpenTimelineIO2.0k stars

    An interchange format and library for editing timelines: the order and length of cuts, and references to the media, but not the media.

Install
pip install sherpa-onnx

Independent: reviewed for Repo Radar outside the daily editions. Every independent repository

On Stack Radar: AI & Automation › AI Models & Inference › Speech & Voice Models.

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.