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

- **GitHub URL**: https://github.com/peteonrails/voxtype
- **Category**: Voice, Vision & Video (语音 / 视觉 / 视频生成)
- **Primary Language**: Rust
- **License**: MIT
- **Engineering Health**: A+ (93/100 · Maintenance 35/35 · Adoption 18/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v1.3.2 (2026-11-28) — https://github.com/peteonrails/voxtype/releases
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: Docker, Self-Hosted, Local AI, CLI, GPU
- **Momentum**: 1,855 ★ total (+4 24h / +30 7d) · 228 forks
- **Topics**: `accessibility`, `dictation`, `gnome`, `hyprland`, `kde`, `linux`, `offline`, `push-to-talk`, `rust`, `speech-recognition`, `speech-to-text`, `sway`
- **When to Use**: Best for: 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. Skip if: 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.

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

## Key Capabilities
```text
- Desktop input: Native press/release bindings drive `voxtype record start/stop`; KDE Plasma can use `voxtype record toggle`.
- Backend choice: Separate Whisper and ONNX binaries, with `voxtype setup onnx --enable` to switch to ONNX.
- Language fit: Whisper covers 99 languages, SenseVoice includes Cantonese, and Omnilingual targets 1,600+ languages.
- Text delivery: Direct typing, clipboard, or paste, with output hooks and optional spoken punctuation and replacement rules.
- Hardware paths: Vulkan for Whisper, CUDA 12/13 or MIGraphX for Parakeet, and OpenVINO Whisper for Intel NPU, CPU, or GPU.
- Meeting workflow: Continuous chunked transcription with speaker attribution and Markdown, plain text, JSON, SRT, or VTT export.
```

## Quick Start / Clone
```bash
# 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
```
