peteonrails/voxtype
A local-first Rust daemon for push-to-talk dictation at the Linux cursor
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
Voxtype is a Rust desktop daemon with a CLI, built around a hotkey-to-cursor workflow rather than a browser or an ASR server. A compositor binding or the Linux evdev listener controls recording, and cpal captures microphone audio. The manifest lists Tokio for asynchronous work and Clap for the CLI. Whisper can run in-process through whisper-rs and whisper.cpp, in a whisper-cli subprocess, or through a remote HTTP backend.
Whisper and ONNX engines ship in separate binaries. After recognition, Voxtype can run built-in text cleanup or pass text through an external post-processing command. Pre- and post-output hooks can coordinate compositor modes, while wtype, dotool, and ydotool provide typing paths with clipboard fallback. The separation matters in practice: changing the recognition engine will not fix a desktop input problem, and changing the output helper does not require changing the model.
Key Capabilities & Differentiators
The default Whisper path covers 99 languages and supports language detection, a fixed input language, or translation into English. The engine choice is more specific than a simple accuracy tier: Parakeet and Moonshine target English, SenseVoice covers Mandarin, English, Japanese, Korean, and Cantonese, and Paraformer targets Chinese–English or Chinese–Cantonese–English input. Dolphin covers 40 languages and 22 Chinese dialects but excludes English; Omnilingual targets 1,600+ languages. Cohere Transcribe adds punctuation, capitalization, and inverse text normalization.
Acceleration depends on the engine: Vulkan for Whisper, CUDA 12/13 or MIGraphX for Parakeet, and OpenVINO Whisper for Intel NPU with CPU/GPU fallback. The RX 6800 example puts Whisper base.en at roughly 7× realtime on CPU versus 35× on Vulkan, and large-v3 at roughly 1× versus 5×. Those are inference throughput examples, not key-release-to-text latency guarantees. For long recordings, meeting mode processes audio in chunks, supports speaker attribution, and exports Markdown, plain text, JSON, SRT, or VTT.
Trade-offs & Limitations
Compared with invoking whisper-cli directly, Voxtype adds recording controls, text delivery, and desktop state around the recognizer. That work is valuable for everyday dictation but unnecessary for a script that only transcribes files. Compared with a hosted ASR API, local inference keeps audio on the workstation and avoids service and network dependence at runtime, in exchange for owning model selection, downloads, and compute. On-demand loading saves idle memory, but evaluate first-use delay separately from warm inference.
Compositor bindings are preferable to evdev wherever available: membership in the input group lets other programs run by the user read keystrokes. KDE Plasma lacks key-release bindings for this workflow, so use toggle mode. On Hyprland or Omarchy, modifiers that remain held when output starts can turn generated keystrokes into desktop shortcuts; use the output hooks and compositor modes where needed, or fall back to clipboard output. The integration is worth testing in the actual desktop session, not just at the recognizer CLI.
Hardware & Deployment Guide
Start with a native package where available: AUR, .deb, and .rpm are listed for Linux. Run the daemon in the desktop session, configure ~/.config/voxtype/config.toml or use voxtype configure, and install a compatible output helper. For the default Whisper path, voxtype setup --download provisions the model. Source builds use cargo build --release and require Rust/Cargo, ALSA and Clang development libraries, CMake, and pkg-config or pkgconf. The Dockerfiles and docker-compose.build.yml support release builds; treat them as build tooling, not as a turnkey desktop runtime.
Start on CPU before selecting a GPU build that matches the host drivers. OpenVINO Whisper has a separate requirement: a version-matched GenAI C/C++ SDK providing libopenvino_genai_c.so; the Python wheel is insufficient. Local inference can run offline once the models are provisioned. Remote inference is opt-in. For the Soniox path specifically, v1.3.2 moves API-key authentication into the WebSocket handshake ahead of Soniox's January 15, 2027 requirement; v1.3.1 and earlier will receive HTTP 401 responses on that path after the cutoff.
voxtype record start/stop; KDE Plasma can use voxtype record toggle.voxtype setup onnx --enable to switch to ONNX.Linux desktop users who want local dictation in the focused app, especially on Wayland setups with native key bindings. It also fits accessibility workflows and locally stored meeting transcripts.
You only need batch file transcription, need a turnkey headless Docker ASR service, or cannot configure and test the desktop hotkey and text output on your target machines.
Quick Start & Installation
# 1. Install build dependencies # Fedora: sudo dnf install rust cargo alsa-lib-devel clang-devel cmake pkgconf # Arch: sudo pacman -S rustup alsa-lib clang cmake pkgconf # Debian/Ubuntu: sudo apt install cargo libasound2-dev libclang-dev cmake pkg-config # 2. Build cargo build --release # 3. Install typing backend (Wayland) # Fedora: sudo dnf install wtype # Arch: sudo pacman -S wtype # Ubuntu: sudo apt install wtype # 4. Download whisper model ./target/release/voxtype setup --download # 5. Add keybinding to your compositor # See "Compositor Keybindings" section below # 6. Run ./target/release/voxtype
Comparison vs. Top Voice, Vision & Video Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| voxtype ★ | 1.9k | +30 | Rust | MIT | A local-first Rust daemon for push-to-talk dictation at the Linux cursor |
| voice-pro | 13.5k | +34 | Python | GPL-3.0 | Self-hosted Gradio studio for transcription, translation, and dubbing |
| WhisperLiveKit | 11.3k | +27 | Python | Apache-2.0 | Self-hosted streaming speech-to-text with pluggable ASR and speaker diarization |
| speech-to-speech | 13.9k | +137 | Python | Apache-2.0 | A modular speech cascade for self-hosted voice agents over OpenAI Realtime |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/peteonrails/voxtype.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about voxtype
How should I wire up the hotkey and text output?
voxtype record start and voxtype record stop on Hyprland, Sway, or River. On KDE Plasma, bind voxtype record toggle and disable the built-in hotkey. Test text injection in the applications you use; configure clipboard output if direct typing is unreliable.Do I need a GPU, and how much memory should I budget?
base.en for English on CPU, or test a multilingual model against your own recordings. The listed 142 MB for base.en and 3 GB for large-v3 are model sizes, not RAM or VRAM requirements. Measure peak memory and the delay from key release to inserted text on your hardware before choosing a larger model or accelerator.Can we use Voxtype commercially and keep processing on our own machines?
When is Voxtype a better fit than whisper-cli or a hosted recognizer?
whisper-cli directly if all you need is to transcribe files or call an ASR subprocess from a script. Choose Voxtype when the workflow starts with a desktop shortcut and ends with text in the focused application: it handles microphone capture, recording state, optional text cleanup, and output fallback. A hosted recognizer is worth considering if avoiding local model maintenance matters more than keeping inference offline, but it does not by itself replace the desktop integration.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