Transcribe audio recordings to text entirely offline on your laptop, phone, or embedded device.
Embed speech recognition into a non-Python app like a C++ desktop application or mobile game.
Generate subtitle files from video recordings without sending audio to any cloud service.
Build a voice command interface for a resource-constrained device like a Raspberry Pi.
| ggml-org/whisper.cpp | nlohmann/json | x64dbg/x64dbg | |
|---|---|---|---|
| Stars | 49,440 | 49,588 | 48,291 |
| Language | C++ | C++ | C++ |
| Setup difficulty | moderate | easy | moderate |
| Complexity | 3/5 | 2/5 | 4/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires CMake to build from source and a manual model file download, GPU acceleration needs platform-specific setup.
whisper.cpp is a C and C++ port of OpenAI's Whisper speech recognition model, which converts spoken audio into text. The original Whisper model was released by OpenAI as a Python implementation, which is convenient but requires Python, PyTorch, and significant dependencies to run. This project reimplements the same model inference from scratch in pure C and C++, making it possible to run speech-to-text conversion on almost any device without heavy software dependencies. The core innovation is that the same model can now run efficiently on devices ranging from a desktop GPU down to a Raspberry Pi, an iPhone, or an Android device, entirely offline without sending audio to a server. It achieves this through platform-specific optimizations: on Apple Silicon Macs and iPhones it uses Apple's Metal GPU acceleration and Core ML framework, on NVIDIA GPUs it uses CUDA, on x86 CPUs it uses AVX instructions, and it even supports WebAssembly for running in a browser. The models come in several sizes from tiny to large, trading off accuracy against memory usage and speed. You download a model file in the ggml format, build the project with CMake, and then pass it an audio file to get a transcript. You would use whisper.cpp when you need offline, on-device speech-to-text transcription without cloud services, when you want to embed Whisper into a non-Python application, or when you need to run it on a resource-constrained device. Common applications include transcribing recordings, building voice command interfaces, and generating subtitles. The tech stack is C and C++ with no mandatory external dependencies, built using CMake, with optional hardware-acceleration backends for Apple, NVIDIA, and Vulkan.
Offline speech-to-text tool that runs OpenAI's Whisper model in pure C and C++, so you can transcribe audio on almost any device, desktop GPU, Raspberry Pi, or iPhone, without cloud services.
Mainly C++. The stack also includes C, C++, CMake.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.