IsraelAshBuk/dabri
Dabri • Native Linux Speech-to-Text (STT) • Offline, Privacy-First
Featured achievements
The project's latest awards
#1 Repository of the month
#1 Repository of the month
#1 Repository of the month
Dabri is a minimalist, privacy-first application for offline voice recognition directly into any active window (editors, browsers, IDEs, AI assistants).
Written in pure Go, it leverages whisper.cpp for fast, offline transcription. The architecture is built from the ground up with a minimal set of dependencies, featuring a custom dependency injection factory, ensuring lean and maintainable design.
https://github.com/user-attachments/assets/b798f350-c6a8-4408-83eb-51eef392a731
Features
▸
aemon: Dabri runs quietly in the background and integrates into the system tray for convenient management.
▸ Terminal: it can also be invoked as a CLI tool (see CLI Usage Guide) for scripting purposes.
▸ For integration enthusiasts, a WebSocket server is available at localhost:8080. Enable it in your config with web_server enabled: true (disabled by default).
- Offline speech-to-text, privacy-first: all processing happens locally
- Portable: AppImage package
- Cross-platform support for X11 and Wayland
- Linux DEs: native integration with GNOME, KDE, and others
- GPU + CPU support: Vulkan backend for faster transcription (auto-fallback to CPU)
- Voice typing or clipboard mode
- Flexible audio recording: arecord (ALSA) or ffmpeg (PulseAudio/PipeWire), see audio pipeline
- Multi-language support, custom hotkey binding, visual notifications
- Model management: switch between base, small, medium, large-v3-turbo, and large-v3 whisper models via tray or CLI
Beyond Minimalism
Intuitive minimalist UX, robust STT infrastructure. A foundation for voice-controlled automation:
- Dual API: Unix socket IPC + WebSocket — script locally or integrate remotely
- Interface-driven: focused contracts — swap STT engines, add I/O methods, extend hotkey providers
- Daemon + CLI: background hub + stateless commands — perfect for IoT pipelines
- Graceful degradation: provider fallbacks, optional components, no crashes
# Voice command → smart home action
transcript=$(dabri --json stop | jq -r '.data.transcript')
[[ "$transcript" == *"lights off"* ]] && curl -X POST http://hub/lights/off
✦ Installation
AppImage
Download the latest AppImage from Releases:
# Download the file, then:
chmod +x dabri-*.AppImage
./dabri-*.AppImage
Arch Linux AUR:
yay -S dabri
Fedora COPR:
sudo dnf copr enable ashbuk/dabri
sudo dnf install dabri
Desktop Environment Compatibility
📋 Desktop Environment Support Guide - help us test different desktop environments!
For system tray integration on GNOME — install the AppIndicator extension ↑
KDE and other DEs have built-in system tray support out of the box
Automatic typing and clipboard modes both work out of the box — details & options ↑
For issues and bug reports: GitHub Issues
See changes: Releases
System Requirements
| Category | Requirement |
|---|---|
| OS | Linux with glibc 2.35+ |
| Desktop | X11 or Wayland |
| Audio | Microphone capability |
| Storage | ~54MB + model (57MB–1.1GB) |
| Memory | ~300MB RAM |
| CPU | AVX-capable (Intel/AMD 2011+) |
📋 Supported Distributions
| Family | Distributions |
|---|---|
| Ubuntu-based | Ubuntu 22.04+, Linux Mint 21+, Pop!_OS 22.04+, Elementary OS 7+, Zorin OS 17+ |
| Debian-based | Debian 12+ |
| Fedora | Fedora 36+ |
| Rolling release | Arch Linux, Manjaro, EndeavourOS, openSUSE Tumbleweed |
For Developers
Start onboarding with:
- ARCHITECTURE.md — system architecture and component design
- DEVELOPMENT.md — development workflow and build instructions
- CONTRIBUTING.md — contribution guidelines and how to help improve the project
- docker/README.md — Docker-based development
Technical dive into architecture and engineering challenges: Building Dabri on Hashnode
✦ Acknowledgments
- whisper.cpp for the excellent C++ implementation of OpenAI Whisper
- fyne.io/systray for cross-platform system tray support
- ydotool and wtype for Wayland-compatible input automation
- OpenAI for the original Whisper model
✦ MIT LICENSE
If you use this project, please link back to this repo and ⭐ it if it helped you.
- Consider contributing back improvements
Sharing with the community for privacy-conscious Linux users
Sponsor
Please consider supporting development
Similar Projects
Discover other similar projects and AI models.
Free, open-source voice typing for Windows and macOS — a Wispr Flow / Typeless alternative. Press a shortcut, speak, and AI-polished text lands at your cursor. Local models, your own API keys, or a self-hosted backend. 免费开源的 AI 语音输入法。
Open-source offline voice dictation — a free alternative to Typeless. 100% local, zero internet, ideal for air-gapped & classified environments. SenseVoice + DirectML GPU, ~34MB, hotkey-driven. 纯离线语音输入,Typeless 免费平替,数据永不出设备,适合党政机关等涉密场景。
Get up and running with Inkling, Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.