r/coolgithubprojects • u/BackgroundSoft4818 • 2h ago
I built a 100% offline Windows voice-to-text app in C++ (whisper.cpp) — ~450 MB RAM, no GPU needed, Auto-Paste with Alt+Q (MIT)
Introducing VoiceType – A free, open-source, local voice-to-text tool for Windows
Hey everyone!
I wanted a fast, private voice-to-text tool for my Windows laptop. Since I don't have a dedicated GPU and work on a corporate network where cloud-based dictation isn't an option, I decided to build my own solution: VoiceType.
It's now open-source under the MIT License!
How it works
- Press Alt + Q (or click the draggable floating microphone button) from any application.
- Speak naturally and press Alt + Q again to stop recording.
- VoiceType transcribes your speech locally using your CPU and automatically pastes the text (
Ctrl + V) wherever your cursor is. - The floating microphone never steals focus from your active window, thanks to
WS_EX_NOACTIVATE. - Audio cues let you know when recording starts and when the transcription is pasted.
Technical details – 3x less RAM usage
I initially built the application using Python + PyTorch, which consumed approximately 1.38 GB of RAM.
After switching to the C++ whisper.cpp engine through pywhispercpp, using a quantized Q8_0 model, I managed to significantly reduce its footprint.
Current performance:
- RAM usage: ~450 MB
- Model:
small-q8_0 - Inference: CPU-based, no dedicated GPU required
- Startup: ~0.4 seconds
It also includes a Learn Correction dialog, allowing you to correct transcription mistakes and teach the application custom technical terms, abbreviations, and mixed-language words using initial_prompt and a regex-based dictionary.
Download and source code
GitHub Repository:
https://github.com/RodVerruck/VoiceType
Download ready-to-use Windows executables (Lite / Standard / Pro):
https://github.com/RodVerruck/VoiceType/releases
The project is completely free and open-source under the MIT License.
I'd love to hear your feedback, suggestions, and ideas for improvements. Contributions and PRs are also very welcome!
Thanks for checking it out!