Voice Journal
Fully offline Android voice journaling, private by architecture: 4.50% word error rate and 107 unit tests
Role
Solo Developer
Tech Stack
8 technologies
About This Project
Voice Journal started from a simple refusal: a journal is the most private thing a person writes, so it has no business talking to a server. Most "private" apps answer that with a policy page. This one answers it with a manifest. The app declares zero INTERNET permission, so the operating system itself makes network access impossible. There is no cloud tier to opt out of and no telemetry to disable, because the capability was never granted. Anyone can check this in the source manifest or by dumping the permissions of the built APK.
Everything that would normally justify a round trip happens on the device. Transcription runs through whisper.cpp, bridged into the Android app over JNI and built against the NDK, so speech becomes text without leaving the handset. Silero voice activity detection trims silence first. Semantic search runs the same way: entries are embedded locally with bge-small-en-v1.5 through ONNX Runtime, so you can search by meaning rather than exact wording, while the index stays in app-private storage. Offline doesn't mean trapped, either. The whole journal, audio and transcripts, can be exported to a zip wherever you choose and imported back later.
The accuracy claims are measured, not asserted. On a Pixel 10 Pro XL the app records 6.31% WER with VAD off and 4.50% with VAD on, and the raw benchmark JSON is committed to the repository. The README is explicit that this is a small sample, with confidence intervals, and it withdrew an early number that came from a synthetic tone rather than real speech. A one-minute entry becomes searchable text in about nine seconds, and search over 5,000 entries takes ten milliseconds.
Releases are reproducible: the toolchain and models are pinned and hash-verified, CI builds every push, and the signing certificate's fingerprint is published so downloads can be verified. Version 1.0.0 is released under GPLv3, so the architecture is auditable and so is the proof.
Key Features
- ◆Zero INTERNET permission: the OS itself blocks network access, checkable in the manifest or with aapt on the built APK
- ◆On-device transcription with whisper.cpp (base.en, q5_1) over a JNI bridge
- ◆Silero voice activity detection, on by default, trims silence before transcription
- ◆Semantic search by meaning using bge-small-en-v1.5 int8 embeddings through ONNX Runtime
- ◆Recording keeps going with the screen off, using a local foreground service
- ◆Export the whole journal (audio and transcripts) to a zip and import it later, so it survives an uninstall or a new phone
- ◆Reproducible releases: pinned toolchain, SHA-256-verified models, a published signing certificate, and updates via Obtainium
- ◆107 unit tests, including real ONNX inference against the bundled model
Challenges
Bridging whisper.cpp into Kotlin through JNI and the NDK, pinned to an exact NDK version for 16 KB page alignment
Keeping search instant without a vector database: brute-force cosine similarity stays fast at journal scale
Measuring accuracy honestly on a phone, with stated sample sizes and confidence intervals, and removing an early synthetic-tone result that overstated VAD's benefit
Outcomes
- ✓4.50% word error rate with VAD on, 6.31% with VAD off, on LibriSpeech test-clean clips on a Pixel 10 Pro XL
- ✓A one-minute entry becomes searchable text in about 9 seconds
- ✓Embedding an entry takes 8 ms, and semantic search over 5,000 entries takes 10 ms
- ✓Version 1.0.0 released under GPLv3, with raw benchmark JSON committed next to the code
Tech Stack
Want to talk about this project?
Questions, collaboration, or overlapping research: send a raven.
Get in Touch