Skip to main content

Welcome to hns Documentation

hns card

Speech-to-text CLI. 100% local. Built for developers.

Package versionPackage versionSupported Python VersionLicense


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:

...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 tool install 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.

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.