shh
Voice transcription CLI using OpenAI Whisper.
Features
- Record from microphone (press Enter to stop)
- Format with AI (casual, business, neutral)
- Translate to any language
- Auto-copy to clipboard
- Async architecture
- Live progress display
Quick Start
# Install with pipx (recommended)
pipx install shh-cli
# Setup API key
shh setup
# Start recording (press Enter to stop)
shh
Installation
Using pipx (recommended)
pipx install shh-cli
Using pip
pip install shh-cli
Development Setup
git clone https://github.com/mariuspruvot/shh.git
cd shh
uv venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
uv pip install -e ".[dev]"
Usage
Basic Recording
# Quick record - press Enter to stop
shh
# Minimal output (just result + "Done")
shh --quiet
shh -q
Formatting Styles
# Casual style (removes filler words, conversational)
shh --style casual
# Business style (professional, formal)
shh --style business
# Neutral style (no formatting, Whisper output as-is)
shh --style neutral
Translation
# Transcribe and translate to English
shh --translate English
# Combine formatting and translation
shh --style business --translate French
# Set default translation language
shh config set default_translation_language English
# Now recordings auto-translate without --translate flag
shh
Output Modes
# Rich UI (default) - colors, panels, live progress
shh
# Quiet mode - minimal output for scripting
shh --quiet
# Set quiet mode as default
shh config set quiet_mode true
# Override quiet mode with verbose flag
shh --verbose
# Combine with other options
shh --quiet --style casual --translate English
Configuration
# Show current configuration
shh config show
# Set default style
shh config set default_style casual
# Set default translation language
shh config set default_translation_language English
# Get specific setting
shh config get default_style
# Reset to defaults (preserves API key)
shh config reset
# Edit config file directly in $EDITOR
shh config edit
Configuration File
Configuration is stored in a platform-specific location:
- macOS:
~/Library/Application Support/shh/config.json - Linux:
~/.config/shh/config.json - Windows:
%APPDATA%\shh\config.json
You can also use environment variables with the SHH_ prefix:
export SHH_OPENAI_API_KEY="sk-..."
export SHH_DEFAULT_STYLE="casual"
export SHH_DEFAULT_TRANSLATION_LANGUAGE="English"
Tech Stack
- Python 3.11+ (async/await)
- OpenAI Whisper (transcription)
- PydanticAI (formatting)
- Typer (CLI)
- Rich (terminal UI)
- sounddevice (audio recording)
Development
# Run tests
uv run poe test
# Type checking
uv run poe type
# Linting
uv run poe lint
# Formatting
uv run poe format
# All checks (type + lint + test)
uv run poe check
Architecture
Pragmatic layered architecture: CLI → Core → Adapters
CLI → Commands, orchestration
Core → Domain models (TranscriptionStyle)
Adapters → APIs, audio, clipboard
See docs/architecture/overview.md for details.
License
MIT
Contributing
See CONTRIBUTING.md.
Metadata
Release files for shh-cli 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| shh_cli-0.2.0.tar.gz | 20.3 kB | Without provenance | Details for shh_cli-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| shh_cli-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for shh_cli-0.2.0-py3-none-any.whl |
Total release size: 51.1 kB
Release files / shh_cli-0.2.0.tar.gz
| Download URL | shh_cli-0.2.0.tar.gz |
|---|---|
| Size | 20.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
90c4ef25f73e0d078ae9be62007dc3b609a441a73c61719dca6ad849482bd4a9
|
|
BLAKE2b-256 checksum How to use checksums |
96794a7ccfa7034b0d63c6a069dea08fc75a915c62102bf436cc75689b259081
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.16 {"installer":{"name":"uv","version":"0.9.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / shh_cli-0.2.0-py3-none-any.whl
| Download URL | shh_cli-0.2.0-py3-none-any.whl |
|---|---|
| Size | 30.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
716b6c59b4f6de6c6da05c41030ac2170e31f5f14ad372a7d571be5515537f3c
|
|
BLAKE2b-256 checksum How to use checksums |
50fa9e50636dc5d34df16d53ff0bfa400e938c255af8eee16196511f948befb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.16 {"installer":{"name":"uv","version":"0.9.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for shh-cli 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.