Comment by primaprashant
10 days ago
Building a local CLI tool, hns [1], for speech-to-text in terminal in 5 keystrokes.
It records my voice, transcribes it locally using faster-whisper, and copies the transcription to my clipboard. Check the demo linked in the GitHub repo to see how it works.
I use it especially with Claude Code to provide detailed context for the outcome I want to achieve. I ramble for 5 minutes, and then paste the transcription to Claude Code, instead of having to type all my thoughts all the time.
The workflow is like this:
$ hns # start recording
<talk>
<Enter> # clipboard now holds the text
No comments yet
Contribute on Hacker News ↗