← projects

Speech-to-Text Android

An Android app that runs Whisper on-device via whisper.cpp compiled with the NDK

While the source code isn't public for now, you'll find a detailed breakdown of the architecture, decisions, and implementation approach below.

What

An Android application that transcribes speech entirely on-device. whisper.cpp is compiled directly into the APK via the Android NDK and CMake, exposed to Kotlin through a JNI bridge. No internet connection required — the model runs locally on the phone.

Why

...

How it works

...

Stack

| Layer | Choice | |---|---| | Language | Kotlin | | UI | Jetpack Compose + Material 3 | | Inference engine | whisper.cpp (C++) | | Native build | Android NDK + CMake | | JNI bridge | whisper-jni.cpp | | State | ViewModel + DataStore |

What I learned

...