Overview Version History Q & A Rating & Review
Voice to Copilot
🎤 Control GitHub Copilot Chat with your voice!
Voice to Copilot is a VS Code extension that lets you dictate commands to GitHub Copilot Chat using your voice. It uses OpenAI Whisper for accurate speech-to-text transcription and optionally enhances your prompts with GPT before sending them to Copilot.
✨ Features
🎤 Clickable Microphone Button - A microphone icon in the status bar that you can click to start/stop recording
📊 Real-time Audio Level - Visual feedback showing your microphone input level
🗣️ OpenAI Whisper Transcription - Accurate voice-to-text conversion
🧠 GPT Prompt Enhancement - Cleans up and restructures your spoken commands
🤖 Copilot Integration - Sends transcribed text directly to GitHub Copilot Chat
⌨️ Keyboard Shortcut - Use Alt+V for quick access
📋 Requirements
VS Code 1.85.0 or higher
OpenAI API Key - Get one at platform.openai.com
GitHub Copilot Chat - The extension installed and active
SoX - For audio recording (see installation below)
Installing SoX (Sound eXchange)
Windows:
choco install sox.portable
macOS:
brew install sox
Linux:
sudo apt-get install sox alsa-utils
🚀 Installation
Install from the VS Code Marketplace
Restart VS Code
Configure your OpenAI API key in Settings > Voice to Copilot > API Key
⚙️ Configuration
Open VS Code Settings (Ctrl+,) and search for "Voice to Copilot":
Setting
Description
Default
voicetocopilot.apiKey
Your OpenAI API key
(required)
voicetocopilot.gptModel
GPT model for prompt enhancement
gpt-3.5-turbo
voicetocopilot.language
Transcription language (ISO 639-1)
fr
voicetocopilot.autoSend
Automatically send to Copilot
true
voicetocopilot.enhancePrompt
Enhance prompt with GPT
true
voicetocopilot.customSystemPrompt
Custom system prompt
(empty)
🎯 Usage
Look at the bottom of VS Code
Click the 🎤 Voice button to start recording
Speak your command
Click again to stop and send to Copilot
Using the Keyboard Shortcut
Press Alt+V to start recording
Speak your command
Press Alt+V again to stop and send
Using the Command Palette (Ctrl+Shift+P)
Voice to Copilot: Start Recording
Voice to Copilot: Stop and Send to Copilot
Voice to Copilot: Toggle Voice Recording
🔧 Troubleshooting
Audio not recording
Make sure SoX is installed and in your PATH
Check your microphone is connected and selected as default
Try running sox --version in terminal to verify installation
API key error
Ensure your OpenAI API key is valid and has credits
Check the key starts with sk-
Copilot Chat doesn't receive the message
Ensure GitHub Copilot Chat extension is installed
The text is also copied to clipboard - you can paste manually
📄 License
MIT License - See LICENSE for details.
🔗 Links
Made with ❤️ by Avenir Numérique