Welcome to hns Documentation

Speech-to-text CLI. 100% local. Built for developers.
This documentation provides a comprehensive guide to installing, configuring, and using hns, a powerful speech-to-text CLI tool designed for developers.
Overview
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.
With hns, you can:
- Drive AI coding agents like Claude Code, Codex CLI, and Cursor CLI with your voice
- Dictate and get polished text for emails, Slack messages, and documents
- Speak freely in a stream-of-consciousness style and get polished, coherent journal entry or note
...and much more! Just integrate hns with your favorite CLI tools.
Quick Start
Install hns using uv or pipx, and then run hns in your terminal.
- uv (Recommended)
- pipx
- pip
uv tool install hns
pipx install hns
pip install --user hns
When you see 🎤 Recording..., speak the following sentence clearly into your microphone: "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move".
Press Enter when you're done. The transcribed text will be printed to your terminal and copied directly to your clipboard, ready to be pasted anywhere with Ctrl+V or Cmd+V.
Navigating the Documentation
This documentation is organized into the following sections:
Get Started
- Quick Start: Step-by-step instructions to get hns up and running in 30 seconds.
- Installation: Detailed installation guide along with instructions to upgrade to the latest version.
- Configuration: Guide to configuring hns via environment variables to match your hardware and transcription needs.
- CLI Reference: Comprehensive reference for all hns command-line options.
Use Cases
- Overview: Explore various use cases and workflows enabled by hns.
- Voice to Polished Text: Detailed guide on transforming raw dictation into polished text using hns and LLMs.
- Drive Coding Agents: Provide detailed, context-rich instructions to AI coding agents like Claude Code using your voice.
- Efforless Daily Journaling: Sustainable journaling workflow using hns and LLMs.