Show HN: Hyprvoice – Voice-Powered Typing for Wayland/Hyprland (No X11 Hacks)

github.com

6 points by trapani a day ago

I built Hyprvoice, a small tool that lets you type with your voice on Wayland — no X11, no kludgy bridges. Press a key, talk, and your words appear wherever your cursor is.

It’s written in Go, uses PipeWire for audio, and talks directly to the compositor. The workflow is simple:

press key → start recording

press again → stop and inject text

Notifications show recording/transcribing states, and it works with multiple backends — currently OpenAI Whisper, with whisper.cpp (local/offline) in progress.

Everything runs through a lightweight daemon with IPC over a unix socket. Text injection uses wl-clipboard + wtype with clipboard restore fallback.

Install (Arch/AUR):

yay -S hyprvoice-bin systemctl --user enable --now hyprvoice.service

Then add something like this to Hyprland:

bind = SUPER, R, exec, hyprvoice toggle

Repo: https://github.com/leonardotrapani/hyprvoice

It’s beta but fully usable. I’d love feedback, especially from people running Wayland full-time or maintaining compositors.

mic-kul a day ago

Great idea, I would love something like hyprvoice but with local model and using ydotool instead of clipboard. I will definitely test it with Omarchy

  • trapani 36 minutes ago

    Hey!

    So we have already have two ways to "inject"

    One is clipboard, one is injecting with wtype, and the other is fallback, meaning first injecting, and if it doesn't work go with clipboard (all configurable).

    About the local models, I'll probably work on it soon! Even with pre installers etc...