VocaHQ/vocalinux
On-device speech recognition that types into focused Linux apps
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
Vocalinux is an AGPL-3.0-only Python desktop application, not a transcription server. It uses GTK through distro PyGObject, with a Python 3.11 floor and a setuptools build declared in pyproject.toml. A global shortcut controls microphone capture; Silero provides neural voice activity detection when ONNX Runtime is installed. The selected engine recognizes speech, and the desktop integration inserts text into the focused application.
Recognition and text insertion are separate concerns: whisper.cpp is the default engine, while injection uses X11 or Wayland mechanisms such as xdotool, IBus, wtype, ydotool, or a clipboard fallback. Settings live in ~/.config/vocalinux/config.json. For custom formatting, post_processing.script_path specifies an executable that transforms each result over stdin/stdout. The optional remote HTTP API is a separate recognition path and is off by default.
Key Capabilities & Differentiators
The default whisper.cpp route supports Vulkan on AMD, Intel, and NVIDIA GPUs in packages built for it; the installer's tiny model is about 74 MB. OpenAI Whisper uses PyTorch with an NVIDIA/CUDA path, Faster Whisper offers CTranslate2/INT8 for CPU use, and VOSK targets low-memory systems. The CPU Parakeet backend uses sherpa-onnx and supports a model covering 25 European languages.
Parakeet's optional Orukeet model takes about 641 MiB on disk. English speakers can choose between 653 MiB INT8 and 379 MiB INT4 Bark 3.0 downloads; the INT4 variant uses less memory but is slower. These download sizes are not RAM or VRAM budgets. New installations default to hold-Right-Alt dictation, with toggle mode available. Voice commands handle punctuation and line breaks, with matching phrases available for some non-English recognition languages.
Trade-offs & Limitations
Compared with invoking whisper.cpp directly, Vocalinux supplies shortcut handling, microphone capture, and app-independent text insertion. That makes it a better fit for daily desktop dictation than for batch transcription. Compared with hosted speech-to-text, local engines keep recognition audio on the machine after model provisioning but shift model storage and inference load to each workstation. Pick the backend by measuring responsiveness and recognition quality on the intended hardware and vocabulary; model download sizes alone cannot settle that choice.
Wayland is the main rollout variable. Compositor behavior, portal permissions, and packaging determine which injection and shortcut paths work. The current Snap recipe omits ydotool and the uinput plug, and KDE's portal can mistype letter case; IBus Wayland is a documented workaround. Validate dictation in actual target apps before standardizing a package. If redistributing, review the AGPL-3.0-only app terms separately from model-weight licenses and attribution.
Hardware & Deployment Guide
Deploy Vocalinux in an interactive Linux desktop session with a microphone. Native installs need Python 3.11+ and distro PyGObject; Ubuntu 22.04 falls below that native Python floor, although the AppImage has its own glibc 2.35 baseline and still needs host input tools. The interactive installer can recommend an engine and provision a starter model. The .deb and .rpm packages ship CPU whisper.cpp; the VocaHQ Flatpak ships Vulkan whisper.cpp and is distributed separately from Flathub. Login startup uses XDG autostart rather than systemd.
Provision the model before moving a workstation offline. The optional HTTP API or VocaGateway can offload recognition, but neither is the in-process, on-device engine path. Release v0.19.0 disables ONNX Runtime telemetry before loading the library, adds Parakeet to Flatpak, forwards custom dictionary terms to the Remote API, shows PipeWire names for ALSA microphones, and fixes a capture teardown issue that could block further dictation.
Linux users who want local dictation in editors, browsers, or messaging apps and can validate a package on their X11 or Wayland desktop.
You need a headless batch transcription service or must roll out one untested configuration across many different Wayland desktops.
Quick Start & Installation
curl -fsSL https://raw.githubusercontent.com/VocaHQ/vocalinux/main/install.sh -o /tmp/vl.sh bash /tmp/vl.sh
Comparison vs. Top Voice, Vision & Video Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| vocalinux ★ | 1.1k | +14 | Python | AGPL-3.0 | On-device speech recognition that types into focused Linux apps |
| 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/VocaHQ/vocalinux.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about vocalinux
How does text reach the focused app, and what should I test on Wayland?
Do I need a GPU, and how should I size RAM or VRAM?
Can a company use, redistribute, or self-host Vocalinux?
When is Vocalinux a better fit than a standalone recognizer or hosted service?
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