github goodroot/hyprwhspr v1.53.0

one hour ago

Thank you to all the contributors who keep the flow of excellent new features alive. 🙏

AssemblyAI Dictation over REST

AssemblyAI Dictation is now available under REST API in hyprwhspr setup.

It removes filler words and fixes punctuation and self-corrections. It supports 32 languages.

{
  "transcription_backend": "rest-api",
  "rest_api_provider": "assemblyai",
  "rest_api_model": "dictation"
}

language is sent as language_codes. Dictation API options go in rest_body:

{
  "rest_body": {
    "keyterms_prompt": ["hyprwhspr", "Hyprland", "Claude Code"],
    "rewrite_mode": "smart"
  }
}

If the cleanup fails, you get the plain transcript instead.

Thanks to @dan-ince-aai for #300.

Sway dictation, native and XWayland

Dictation on Sway now follows focus on the delivery seat.

  • Native windows paste through wtype or ydotool.
  • XWayland apps like Steam and Wihen xdotool.
  • If focus is unknown, nothing is pasted.
  • If focus moves before paste, noard is restored.
  • In live typing, a focus change stops the rest of the dictation. copy-last recovers all of it.
  • Sway paste needs exactly one seat.

The service finds Sway through SWAYSOCK. Setup imports it, and hyprwhspr validate warns when
it is missing. After upgrading, r

systemctl --user import-environment SWAYSOCK XDG_CURRENT_DESKTOP
systemctl --user restart hyprwhspr.service

Thanks to @labfytools for #299.

Fixes

  • Live typing recovery: Words spoken but not yet typed when typing stops are now kept for copy-last.
  • xdotool shortcuts: Keys are now sent as X keysym names, so chords like ctrl+tab, f5 and shift+pageup type correctly. Keys xdotool cannot name now fail instead of reporting a false paste.

PRs

  • feat(rest): add AssemblyAI Dictation provider by @dan-ince-aai in #300
  • fix(sway): support native and XWayland dictation safely by @goodroot in #301
  • fix(sway): detect native focus and route XWayland paste safely by @labfytools in #299

New Contributors

Full Changelog: v1.52.1...v1.53.0

Don't miss a new hyprwhspr release

NewReleases is sending notifications on new releases.