Skip to content
goodrootPublic

About

Native speech-to-text for Linux - Fast, accurate, private, and hackable system-wide dictation

Topics

Resources

Stars

1.3k stars

Watchers

9 watching

Forks

Latest commit

 

History

1,485 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hyprwhspr

Native speech-to-text for Linux - System-wide dictation on Wayland and X11

Local models · Optional cloud APIs · 💝 HACK IT 💝

Supports NixOS, Arch, Debian, Ubuntu, Fedora, openSUSE and more

hyprwhspr.com

531586476-2570002a-391b-4e73-b449-2c6b99ea1303.mp4

  • Built for Linux — Arch, Debian, Ubuntu, Fedora, openSUSE and NixOS.
  • Wayland and X11 — Hyprland, Niri, Sway, GNOME, KDE Plasma, XFCE and more.
  • Fast defaults — Models stay loaded between recordings.
  • Offline and private — Local transcription stays on your machine. Cloud is optional.
  • Local models — Cohere Transcribe, Parakeet TDT V3, Orukeet, Whisper and Qwen3-ASR.
  • CPU or GPU — Parakeet via onnx-asr on CPU; CUDA and Vulkan on supported backends.
  • Free up GPU memory — Unload models on demand or when idle.
  • Multilingual — Many languages, including Qwen3-ASR for Chinese, Japanese and Korean.
  • Translation — Translate speech to English with a compatible Whisper model.
  • REST and WebSockets — Cloud or your own server; optional preview and experimental live typing.
  • Themed visualizer — Match Omarchy or Noctalia, with optional status-bar controls.
  • Word overrides and prompts — Tune vocabulary, replace words and remove fillers.
  • Five recording modes — Toggle, push-to-talk, auto, continuous and long-form with pause and save.
  • Auto-paste — Text in the focused app, with per-app rules and optional auto-submit.
  • Audio ducking 🦆 — Lower or pause other audio while recording.
  • Files and scripts — Transcribe WAV or MP3 files, or send dictation through your own tools.

Quick start

Prerequisites

  • Linux with systemd (Arch, Debian, Ubuntu, Fedora, openSUSE, NixOS etc.)
  • Python 3.11-3.15
  • Wayland or X11 session (GNOME, KDE Plasma, Sway, Hyprland, Niri, etc.).
  • Clipboard/window tools:
    • wl-clipboard and wtype on Wayland
    • xdotool as a fallback for Sway XWayland apps like Steam and Wine
    • python-pyperclip, xclip, xdotool, and xprop on X11 (installed by the dependency script)
  • Waybar, Noctalia, or Quickshell (optional, for status bar)
  • gtk4 + PyCairo (optional, for visualizer)
  • NVIDIA GPU (optional, for CUDA acceleration)
  • AMD/Intel GPU / APU (optional, for Vulkan acceleration)

Install

Arch Linux

Install from the AUR:

# Stable
yay -S hyprwhspr

# Or bleeding edge
yay -S hyprwhspr-git

Ubuntu, Debian, Fedora, openSUSE

curl -fsSL https://hyprwhspr.com/install.sh | bash

Installs dependencies and the latest release, then walks you through setup.

Manual install
# Clone the repo
git clone https://github.com/goodroot/hyprwhspr.git
cd hyprwhspr

# Install dependencies for your distro
./scripts/install-deps.sh

# Run interactive setup
./bin/hyprwhspr setup

Nix and NixOS (beta)

Use the Nix flake and NixOS module for x86_64 Linux with Whisper.cpp CPU transcription.

Setup

Choose your backend and desktop integrations. If the installer hasn't already walked you through setup, run:

# choose your options
hyprwhspr setup

# select a backend for your hardware
hyprwhspr setup auto

First use

Select your microphone in your desktop’s audio settings, then focus the app you want to dictate into.

  1. Log out and back in if setup asked you to
  2. Press Super+Alt+D to start recording
  3. Speak naturally
  4. Press Super+Alt+D again to transcribe
  5. Text appears in the focused app

Recording indicator: when enabled and its dependencies are available, supported desktops show an overlay or a status notification. Noctalia / Omarchy can match the overlay to your shell theme. See Themed visualizer for details.

Need help? Create an issue.

Updating

# Arch: update via your AUR helper
yay -Syu hyprwhspr

# Installed with install.sh
hyprwhspr update

For an old git-clone install, re-run the installer once to move to managed releases:

curl -fsSL https://hyprwhspr.com/install.sh | bash

See the installation guide for managed release updates and recovery, or the Nix guide for Nix updates.

CLI commands

  • hyprwhspr setup - Interactive initial setup
  • hyprwhspr update [--version VERSION] - Update a managed release
  • hyprwhspr install status - Inspect managed installation state
  • hyprwhspr install repair [--python PATH] - Repair a managed installation
  • hyprwhspr config - Manage configuration (show / show --all / edit / secondary-shortcut)
  • hyprwhspr model - Manage models (download / list / status / unload / reload)
  • hyprwhspr record - External hotkey control (start / stop / toggle / cancel / capture / status / copy-last / paste-last / clear-last)
  • hyprwhspr transcribe INPUT - Transcribe a WAV or MP3 file to stdout (use -o PATH to write a file)
  • hyprwhspr status - Overall status check
  • hyprwhspr validate - Validate installation
  • hyprwhspr test - Test microphone and transcription end-to-end
  • hyprwhspr keyboard - List/test keyboard devices (list / test)
  • hyprwhspr waybar / hyprwhspr noctalia - Manage bar integration
  • hyprwhspr mic-osd - Enable/disable the mic OSD (enable / disable / status)
  • hyprwhspr systemd - Manage systemd services
  • hyprwhspr uninstall - Remove hyprwhspr; preserve settings, credentials and models
  • hyprwhspr uninstall --purge - Also remove recorded personal files (--keep-models preserves models)

Documentation

All of it at hyprwhspr.com/docs, or here:

Getting help

Contributing

Have a bug report or an idea? Start an issue before opening a pull request so we can agree on the approach. GitHub stars and AUR votes help others find the project, too.

Development setup

Install the system dependencies (see the manual install above) and configure Parakeet and its model for this example. Stop the installed service before running your checkout: systemctl --user stop hyprwhspr.service.

git clone <your-fork>
cd hyprwhspr
python -m venv --system-site-packages .venv
source .venv/bin/activate
pip install -r requirements-onnx-asr.txt
./bin/hyprwhspr

An activated venv inside the checkout runs both the app and CLI. Use the requirements file for your backend if you choose a different model.

License

MIT.


Built with ❤️ in 🇨🇦

About

Native speech-to-text for Linux - Fast, accurate, private, and hackable system-wide dictation

Topics

Resources

Stars

1.3k stars

Watchers

9 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages