Skip to main content

Offline voice input — speak into any focused window, no cloud required

Project description

vtype

Offline voice input for any focused window. Press Ctrl+Alt+V, speak, and your words are typed instantly — no cloud, no API key, no subscription.

Works in Claude Code terminal, VS Code, any text editor, browser, chat app — whatever window is focused.


Install

pip install vtype

First run downloads the Whisper speech model (~150 MB). Subsequent runs are instant.

Usage

vtype
  • Press Ctrl+Alt+V — starts listening
  • Speak naturally
  • Silence for ~1 second → transcribes and types into the focused window
  • Press Ctrl+Alt+V again to cancel
  • Ctrl+C to quit

Requirements

  • Python 3.9+
  • A microphone
  • FFmpeg (for audio processing)

FFmpeg install:

Platform Command
Windows winget install ffmpeg
macOS brew install ffmpeg
Linux sudo apt install ffmpeg

How it works

  • Speech detection runs locally using RMS-based VAD (no network calls)
  • Transcription uses OpenAI Whisper (base model, runs on CPU)
  • Text is typed via OS-level keyboard simulation — works in any window including terminals and browser tabs

Privacy

Everything runs on your machine. Audio never leaves your device.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vtype-0.1.0.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vtype-0.1.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file vtype-0.1.0.tar.gz.

File metadata

  • Download URL: vtype-0.1.0.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for vtype-0.1.0.tar.gz
Algorithm Hash digest
SHA256 88f325846a021f35c9be554aae3e22239f3607dba44289dfd68b1df469d4d9f9
MD5 331f5839ba55c332fbb179ac2b3d47fd
BLAKE2b-256 e9c4ce1ee6b988f33bcdb2219369a6f7aee6c937c0b978a9092840bca81b3c61

See more details on using hashes here.

File details

Details for the file vtype-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: vtype-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for vtype-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4a8c2e286827e9f154e21466e4e46c7b8d761c032295a0bd40d907911a5672b1
MD5 9ae92febf228726a123f814a21320042
BLAKE2b-256 cd2b734d5b76aa420fd293ef3d59ce62e1938790b349cf68edcf69bd509f6948

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page