goodroot/hyprwhspr
Linux-wide dictation via a user service with local ASR and optional remote APIs
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
hyprwhspr combines a Python user service with the bin/hyprwhspr CLI. The desktop flow starts with a global shortcut, captures microphone audio, sends it to the configured ASR backend, and can paste the resulting text into the focused application. The core dependencies include sounddevice, numpy, soxr, and soundfile for audio, evdev and pyperclip for input and clipboard integration, and pulsectl for audio-system integration.
The backend requirements are split into separate files, including requirements-faster-whisper-cuda.txt, requirements-onnx-asr-gpu.txt, and requirements-rest.txt. This separates the desktop workflow from the choice of local inference or a remote REST or WebSocket endpoint. The microphone overlay has its own optional requirements, so a GUI dependency build failure need not prevent installation of the core runtime.
Key Capabilities & Differentiators
The local model choices include Cohere Transcribe, Parakeet TDT V3, Orukeet, Whisper, and Qwen3-ASR. Parakeet can run on CPU through ONNX ASR; supported backends offer CUDA or Vulkan acceleration. Qwen3-ASR is an option for Chinese, Japanese, and Korean, while compatible Whisper models can translate speech into English. Models stay loaded between recordings by default and can be unloaded on demand or at idle.
Five recording modes cover toggle, push-to-talk, auto, continuous, and long-form recording with pause and save. Vocabulary overrides, prompts, filler removal, and per-app paste rules shape the output before it enters a desktop workflow. For files, hyprwhspr transcribe INPUT accepts WAV or MP3 and writes to stdout or a path passed with -o PATH. Remote transcription also offers optional previews and experimental live typing.
Trade-offs & Limitations
Compared with a standalone Whisper CLI, hyprwhspr is worth the extra setup when the job is putting dictated text into applications, not just turning audio files into transcripts. The integration depends on the desktop session: Wayland uses wl-clipboard and wtype, with xdotool as a fallback for some Sway XWayland applications; X11 uses tools including xclip, xdotool, and xprop. Test focus, paste, and optional auto-submit in the applications users actually work in before rolling it out.
Local inference keeps audio processing on the workstation but makes model storage, memory, and inference time local concerns. Keeping a model loaded avoids reloads between recordings; idle unloading reclaims memory but brings the load step back on the next use. Remote backends move inference off the workstation but add network dependence and endpoint data-handling decisions. The application's MIT license does not settle the terms of the selected model or API.
Hardware & Deployment Guide
The runtime requires Linux with systemd, Python 3.11–3.15, and a Wayland or X11 session. Installation options include the Arch AUR package, a release installer for Debian, Ubuntu, Fedora, and openSUSE, and manual setup through ./bin/hyprwhspr setup. The beta Nix flake and NixOS module target x86_64 Linux with Whisper.cpp CPU transcription. Choose a backend with hyprwhspr setup, then check the microphone and transcription path with hyprwhspr test.
Local operation requires the selected model to be ready on the machine; REST and WebSocket backends instead connect to a cloud or self-hosted endpoint. v1.58.0 added XFCE/X11 setup with xfconf-query shortcut configuration, and v1.58.1 extended the microphone overlay to X11. v1.58.2 tightened first-run checks: setup exits nonzero if required steps remain incomplete and does not start the service if the selected model is not ready. Inspect service logs with journalctl --user -u hyprwhspr.service.
Super+Alt+D is the default recording toggle; auto-paste targets the focused application and supports per-app rules.record exposes recording controls, and transcribe INPUT sends WAV or MP3 results to stdout or a file.Linux users and workstation teams that need hotkey-driven dictation across applications, with local inference or a chosen remote endpoint.
You only need batch file transcription, need a non-Linux client, or cannot validate shortcuts and text insertion on the target desktop sessions.
Quick Start & Installation
curl -fsSL https://hyprwhspr.com/install.sh | bash
Comparison vs. Top Voice, Vision & Video Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| hyprwhspr ★ | 1.3k | +4 | Python | MIT | Linux-wide dictation via a user service with local ASR and optional remote APIs |
| OpenMontage | 85.4k | +1.5k | Python | AGPL-3.0 | Agent-led video production from brief to finished edit |
| ComfyUI | 149.9k | +945 | Python | GPL-3.0 | A node-graph engine for building and running multimodal AI workflows locally |
| autoclip | 21.7k | +4k | Python | MIT | Local-first AI turns long videos into captioned clips via desktop, CLI, and MCP. |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/goodroot/hyprwhspr.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about hyprwhspr
How do I integrate dictation with a custom shortcut or script?
hyprwhspr record toggle, or use start and stop for separate actions. For pipelines that should not touch desktop focus or clipboard state, use hyprwhspr transcribe INPUT: it writes WAV or MP3 transcription to stdout by default, or to a file with -o PATH.Do I need a GPU, and how should I size RAM or VRAM?
Can we deploy it commercially or use our own transcription server?
When is hyprwhspr a better fit than a standalone Whisper CLI?
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