🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

whisper-ptt

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

whisper-ptt

Push-to-talk speech-to-text input using OpenAI Whisper

Source
pipPyPI
Version
1.2.3
Maintainers
1

whisper-ptt

Push-to-talk speech-to-text. Hold a key to record, release to transcribe and type.

Usage

uvx whisper-ptt
uvx whisper-ptt --model base --key alt_r

Options

  • --model — Whisper model. Default: base. Common choices: tiny, base, small, medium, large-v3-turbo.
    • Run uvx whisper-ptt --help for full list.
  • --key — Hotkey name from pynput.keyboard.Key. Default: alt_r

macOS permissions

This tool needs two macOS permissions to work:

  • Accessibility — to listen for hotkey presses and type transcribed text into the active window.
  • Microphone — to record audio.

To grant accessibility access:

  • Open System Settings > Privacy & Security > Accessibility
  • Click the + button and add your terminal app (Terminal, iTerm2, VS Code, etc.)
  • If already listed, toggle it off and back on

Microphone access is prompted automatically on first use.

Release

git tag v1.0.x
git push --tags

CI runs tests and publishes to PyPI automatically.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts