Think faster than you type? Click the mic, speak your prompt, and it lands in Copilot Chat. Transcription runs on whisper.cpp on your machine, so nothing is sent over the network except the final text you send to Copilot.
- 🎤 One-click dictation: mic button in the Copilot Chat title, or ⌘⌥V
- 🚀 Dictate and send: ⌘⌥⇧V
- 🙌 Hands-free mode: say "turn on the mic", speak, then "done" to send or "cancel" to discard
- 🔒 Private by design: local whisper.cpp, no cloud speech service, no transcript logging
- 🎧 Choose your input: any microphone, or loopback (e.g. BlackHole) for meeting audio
- 🔇 Noise handling: voice-activity detection and optional denoise
- Install the requirements below (whisper-cpp, a model, microphone permission).
gradle buildPlugin, then install the zip from disk in IntelliJ and restart.- Open Copilot Chat, click the mic (or press ⌘⌥V), speak, and the text appears in the chat input.
Microphone → local recording → whisper.cpp (whisper-cli) → text inserted into the Copilot Chat input.
No cloud speech service and no transcript logging; audio stays on your machine.
- macOS (Apple Silicon), IntelliJ IDEA 2026.2+ (build 262+) with the GitHub Copilot plugin
brew install whisper-cpp(provides/opt/homebrew/bin/whisper-cli)- A whisper model in
~/.cache/whisper/(the plugin usesggml-small.en.bin, falling back toggml-base.en.bin):mkdir -p ~/.cache/whisper && cd ~/.cache/whisper curl -LO https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-small.en.bin - Allow IntelliJ to use the microphone (System Settings → Privacy & Security → Microphone)
Build the zip (needs IntelliJ IDEA installed at /Applications/IntelliJ IDEA.app):
gradle buildPlugin
Then in IntelliJ: Settings → Plugins → ⚙ → Install Plugin from Disk… → build/distributions/copilot-voice-input-0.1.0.zip, and restart.
- Mic button in the Copilot Chat title: dictate into the chat input. Shortcuts: ⌘⌥V (dictate), ⌘⌥⇧V (dictate and send).
- Hands-free button: say "turn on the mic", speak, then say "done" to send, "cancel" to discard, or "turn off the mic" to stop dictating while hands-free keeps listening.
- Tools → "Voice: Select Microphone…" picks another input device. To capture meeting audio, route it through a loopback device such as BlackHole.
COPILOT_VOICE_WHISPER_CLI, COPILOT_VOICE_VAD_THRESHOLD (default 0.015), COPILOT_VOICE_DENOISE=on.
- Nothing is transcribed: check
whisper-cliexists (ls /opt/homebrew/bin/whisper-cli) or setCOPILOT_VOICE_WHISPER_CLI, and that a model is in~/.cache/whisper/. - No audio / silence: allow IntelliJ in System Settings → Privacy & Security → Microphone, then pick the right device via Tools → "Voice: Select Microphone…".
- Background noise triggers or misses speech: adjust
COPILOT_VOICE_VAD_THRESHOLDor setCOPILOT_VOICE_DENOISE=on. - Mic button missing: make sure the GitHub Copilot plugin is installed and Copilot Chat is open.
gradle test
Source is in src/main/java/com/rajumuke/voice.
Fork, branch, and open a Pull Request; see CONTRIBUTING.md. Report vulnerabilities privately per SECURITY.md. Licensed under MIT.
- macOS (Apple Silicon)
- Windows / Linux
- Prebuilt release zip (no local build needed)
- More languages (multilingual models)
Ideas? Open an issue.
Tested with synthetic speech and unit tests; behaviour with real microphones and accents may vary.
The mic icon is from Lucide (ISC); see NOTICE.md.
If you find this project useful, please ⭐ star the repo, it helps others discover it.
