vimalk78/dictate
Linux push-to-talk dictation with a resident Whisper daemon
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Dictate is a Linux desktop speech-to-text utility with a split-process design. In the standard installation, the dictate user service runs --serve and keeps a faster-whisper model loaded, while dictate-ptt runs --ptt and listens for the system-wide trigger through evdev. The local client and daemon communicate over a Unix socket. The desktop path delivers text to the clipboard, whereas the --once client prints it to stdout. Neither requires Claude Code.
The Python stack uses sounddevice with PortAudio for capture, NumPy for audio data, and tomli on Python versions below 3.11. The daemon maintains a rolling audio buffer. The integration points are CLI commands, the optional dictate-editor, and vocabulary files rather than a general plugin system. Global and project-local hints are merged and deduplicated, then passed per request, so moving between projects does not require a daemon restart.
Key Capabilities & Differentiators
The default interaction is to hold Right Ctrl, speak, release, and paste once the completion bell sounds. A one-second rolling pre-buffer helps preserve the beginning of speech; the result is delivered after transcription rather than streamed into the active field. Keyboard reconnect handling is useful with KVM switches, and microphone health monitoring can notify the user and recalibrate after a device reconnects.
On CPU, hardware selection defaults to small with int8 compute. On NVIDIA GPUs with at least 4 GB of VRAM, it selects medium with CUDA int8. large-v3 and large-v3-turbo are recommended overrides when hardware allows. --lang switches the transcription language without restarting the daemon, but model choice matters for multilingual use: small is weaker for Hindi than for English. A separate headless server can handle inference over the LAN without a microphone; the desktop daemon forwards raw float32 audio over TCP at about 64 KB/s.
Trade-offs & Limitations
Compared with a standalone faster-whisper script, Dictate provides the desktop plumbing: global key handling, a warm model, reconnect monitoring, and clipboard delivery. The trade-off is two user services, persistent RAM or VRAM use for the model, and input group access for the keyboard listener. Compared with hosted dictation, the default local path avoids sending audio to a transcription provider, but users must maintain the model runtime and the Linux audio and clipboard stack. For multilingual use, test representative phrases rather than assuming the CPU default will be sufficient.
The clipboard handoff gives the user control over where text goes, but requires a paste action and is not live captioning. A deliberate change to PipeWire's default microphone calls for restarting both services, even though reconnect handling covers device interruptions. LAN offload moves the audio off the desktop: the protocol is described as raw TCP, with no documented authentication or TLS. Keep it on a trusted or separately secured network, and account for local transcription logs when setting retention policy.
Hardware & Deployment Guide
The standard deployment targets a PipeWire Linux desktop with a microphone and a systemd user session. install.sh checks prerequisites without using sudo and uses uv to install pinned Python dependencies from requirements.lock. The supported Python range is 3.10–3.14; building evdev requires a compiler and headers, and the desktop workflow also needs PortAudio, xsel, pw-play, and notify-send. A user added to the input group must log out and back in before the listener can use that access.
The two user services start at login. Unless the model is already cached, the first startup downloads it from Hugging Face; subsequent local inference can run offline. journalctl --user -u dictate -f shows daemon readiness while the model loads. For a Jetson aarch64 deployment, build-ctranslate2.sh provides the source-build path. Clean installer tests cover Fedora 44/45 and Ubuntu 22.04/24.04, separate from the listed desktop hardware tests. No GitHub release is listed; the documented update path is git pull followed by bash install.sh.
dictate --serve keeps Whisper loaded; dictate --ptt handles the global hold-to-talk key.small int8; NVIDIA GPUs with at least 4 GB VRAM default to medium CUDA int8.hints.d and project .dictate-hints.d terms are merged and deduplicated per request.--once for scripts, and an optional Neovim editor for prompt review.--listen and --server forward raw float32 audio over TCP at about 64 KB/s.Linux users who want system-wide push-to-talk for Claude Code, editors, or browsers, with local transcription by default and optional GPU offload on a trusted LAN.
You need live captions, supported Windows or macOS clients, managed multi-user deployment, or authenticated and encrypted remote transcription out of the box.
Quick Start & Installation
curl -6 -sS -m 6 -o /dev/null -w "%{http_code}\n" https://huggingface.co
Comparison vs. Top Voice, Vision & Video Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| dictate ★ | 26 | — | Python | MIT | Linux push-to-talk dictation with a resident Whisper daemon |
| voicebox | 61.8k | +437 | Python | MIT | Local-first voice studio with multi-engine speech synthesis, dictation and MCP. |
| speech-to-speech | 13.9k | +137 | Python | Apache-2.0 | A modular speech cascade for self-hosted voice agents over OpenAI Realtime |
| Open-LLM-VTuber | 15.1k | +107 | Python | — | Self-hosted Python AI companion with interruptible voice and a Live2D avatar |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/vimalk78/dictate.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about dictate
Is Claude Code required, and how do I integrate Dictate with another tool?
dictate --once sends a request to the daemon over a Unix socket and writes the result to stdout. The optional dictate-editor opens a Neovim workflow for reviewing longer prompts.Do I need a GPU, and how should I size the machine?
small with int8 compute. The NVIDIA auto-detection path selects medium with CUDA int8 for GPUs with at least 4 GB of VRAM. The large-v3 option is listed as needing more than 4 GB. Because the daemon keeps the model loaded, measure resident RAM or VRAM and time from key release to clipboard on your own machine before selecting a model.Can we use it commercially and keep transcription data in-house?
Why choose Dictate over a faster-whisper script or a hosted dictation tool?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy