# Repository Briefing: VocaHQ/vocalinux
> Source: https://repoforai.com/repo/VocaHQ/vocalinux (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/VocaHQ/vocalinux
- **Official Docs / Website**: https://vocalinux.com/
- **Category**: Voice, Vision & Video (语音 / 视觉 / 视频生成)
- **Primary Language**: Python
- **License**: AGPL-3.0
- **Engineering Health**: A (82/100 · Maintenance 35/35 · Adoption 16/25 · Releases 20/20 · License 11/20)
- **Latest Release**: v0.19.0 (2026-12-03) — https://github.com/VocaHQ/vocalinux/releases
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: Self-Hosted, Local AI, GPU
- **Momentum**: 1,065 ★ total (+2 24h / +14 7d) · 121 forks
- **Topics**: `accessibility`, `dictation`, `gpu-acceleration`, `linux`, `offline-first`, `privacy-first`, `python`, `speech-recognition`, `speech-to-text`, `voice`, `voice-typing`, `vosk`
- **When to Use**: Best for: Linux users who want local dictation in editors, browsers, or messaging apps and can validate a package on their X11 or Wayland desktop. Skip if: You need a headless batch transcription service or must roll out one untested configuration across many different Wayland desktops.

## Overview
```text
### Architecture & 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.
```

## Key Capabilities
```text
- Desktop integration: Text is inserted into the focused application through session-dependent tools rather than exported as a transcript file.
- Engine choice: whisper.cpp supports Vulkan on AMD, Intel, and NVIDIA; Faster Whisper offers a CTranslate2 INT8 CPU path.
- Hands-free editing: Voice commands cover punctuation, line breaks, deleting the last sentence, and capitalizing the next word.
- Post-processing: A configured executable receives each recognition result on stdin and returns the text to inject on stdout.
- Model integrity: Optional Orukeet and Bark downloads are pinned to specific revisions and checked against bundled SHA-256 digests.
- Privacy boundary: Local engines run offline after model provisioning; v0.19.0 disables ONNX Runtime telemetry before the dependency loads.
```

## Quick Start / Clone
```bash
curl -fsSL https://raw.githubusercontent.com/VocaHQ/vocalinux/main/install.sh -o /tmp/vl.sh
bash /tmp/vl.sh
```
