hns is a speech-to-text CLI tool to transcribe your voice from your microphone directly to clipboard. Integrate hns with Claude Code, Ollama, LLM, and more CLI tools for powerful workflows.
uv tool install hns
Runs on consumer-grade hardware.
No need to send your data to cloud and pay recurring fee for something you can run on your own device.
CLI tool built for developers.
Follows the unix philosophy of doing one thing well. Suitable for integrating with your other favorite CLI tools and workflows.
Your data stays locally on your machine.
Your sensitive informations and private thoughts are not being harvested for model training or advertisement and not being shared with third parties.
Provide detailed, context-rich prompts to coding agents like Claude Code, Codex CLI, or Cursor CLI without typing. Speaking your instructions is faster and more comprehensive.
claude "$(hns)"Overcome the "blank page" problem by speaking your thoughts freely. A simple command can append your raw transcription to a daily note, or pipe it through an LLM to structure it.
hns >> "~/obsidian-vault/$(date '+%Y-%m-%d').md"Spoken language is messy. Pipe your raw `hns` transcription through a local or remote LLM to instantly fix grammar, remove filler words, and produce clean, professional text.
ollama run gemma3:1b \
"Fix grammar and punctuation. Output only corrected text. \
Text: $(hns)"Dictate in English and get a translation in polite Japanese. Perfect for communicating with teams across the world without leaving your terminal.
llm -- model gpt-4.1-nano \
--system "Translate into polite natural Japanese. Output only translation." \
"$(hns)"Integrate hns with your favorite CLI tools. Create powerful workflows.
Dive Into Use Cases