Wispr Flow-inspired AI voice dictation and code formatting CLI using Groq
A Wispr Flow–inspired, ultra-fast AI voice dictation and code formatting CLI for developers, powered by Groq & uv.
Vocalis brings the magic of modern voice dictation into your terminal and editor. Speak naturally—mumbling, hesitating, or dictating code—and Vocalis transcribes your voice in ~200ms via Groq Whisper, removes all filler words ("um", "ah", "like"), formats your speech into clean prose or syntax-highlighted code with Llama 3.3, and copies it straight to your clipboard using OSC 52 and native system clipboards.
cd vocalis uv sync To run vocalis from anywhere, add an alias to your shell profile (~/.bashrc or ~/.zshrc):
alias vocalis="uv run --directory /home/ishan/vocalis vocalis" Or install it globally using uv tool:
uv tool install . 2. Configure Your Groq API Key Set your Groq key via the CLI (saved in ~/.config/vocalis/config.json):
vocalis config set groq_api_key gsk_YOUR_GROQ_API_KEY Or export the standard environment variable:
export GROQ_API_KEY="gsk_YOUR_GROQ_API_KEY" 3. Test Your Microphone Run the live visual VU meter to verify your audio input:
vocalis test-mic 💻 Usage Basic Dictation Start listening in your terminal or editor split:
vocalis start Speak your thoughts naturally. When you finish speaking, Vocalis automatically detects silence, processes the audio through Groq, prints the result card, and copies the refined text to your clipboard.
Record a single thought, copy to clipboard, and exit:
vocalis start --once Dictate Code Converts verbal programming into clean syntax:
vocalis start --mode code You say: "Make an async function called fetch user that takes user id as an int and returns a dictionary" Vocalis writes: async def fetch_user(user_id: int) -> dict:
Converts rambling ideas into structured prompts:
vocalis start --mode prompt Continuous Loop Keep listening for multiple thoughts:
vocalis start --continuous Manual Push-to-Talk Ignore silence detection and press Enter when you're done speaking:
vocalis start --manual Quiet / Direct Pipe Mode Output only the final text to stdout (ideal for shell piping):
vocalis start --once --quiet > draft.txt 🛠️ Editor Integration Run vocalis setup-editor to view configuration snippets for your editor:
{ "version": "2.0.0", "tasks": [ { "label": "Vocalis: Dictate", "type": "shell", "command": "uv run --directory /home/ishan/vocalis vocalis start --once", "presentation": { "reveal": "always", "panel": "shared", "focus": true }, "problemMatcher": [] } ] } In keybindings.json (Ctrl+Shift+P → Preferences: Open Keyboard Shortcuts (JSON)): [ { "key": "ctrl+alt+v", "command": "workbench.action.tasks.runTask", "args": "Vocalis: Dictate" } ] Now pressing Ctrl+Alt+V in VS Code starts listening, and the moment you pause, the result is in your clipboard ready to paste!
vocalis config show Update any setting with vocalis config set :
uv run pytest Project links Homepage Issues Repository Key dates PyPI data Data sourced directly from PyPI's database. Released: Nov 9, 2026 Latest release 1 maintainer PyPI data Data sourced directly from PyPI's database. bhatishan2003 Credits Author: Ishan Bhat
voice dictation whisper groq cli speech-to-text developer-tools wispr-flow
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
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.
None of the files in this release were uploaded with provenance metadata.
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.




