github goodroot/hyprwhspr v1.29.0

10 hours ago

What's New

post_transcription_hook — pipe transcriptions through any shell command

You can now define a post_transcription_hook in your config to transform transcribed text before it's pasted. The hook
receives text on stdin; non-empty stdout replaces it. An empty stdout leaves the text unchanged, so observers like loggers work
without side effects. A broken or slow hook (5 s timeout) never silently drops a dictation — the original text is always
preserved as a fallback.

"post_transcription_hook": "sed 's|.*|<dictation>&</dictation>|'"

Env vars HYPRWHSPR_MODEL and HYPRWHSPR_BACKEND are available to the hook for context-aware transforms.

See docs/CONFIGURATION.md for full details and examples.


Bug fix: mic-osd daemon uses active Python interpreter

The mic-osd overlay daemon previously hardcoded /usr/bin/python3, which broke on systems using a venv or a non-standard Python
layout. It now uses sys.executable — the same interpreter running the service — so package visibility is always consistent.

Contributors

Thanks to @mmacpherson for the post_transcription_hook feature (#167) and @Stark-X for the Python fix (#168).

New Contributors

Full Changelog: v1.28.0...v1.29.0

Don't miss a new hyprwhspr release

NewReleases is sending notifications on new releases.