A VS Code extension that enables developers to speak their code and perform modifications using voice commands. This tool improves accessibility and efficiency by allowing hands-free coding and seamless voice-to-text integration.
- 🎙️ Speak Code – Convert spoken words into code using speech-to-text.
- ✏️ Modify Code via Voice – Edit, delete, and manipulate code using natural language commands.
- 📢 Text-to-Speech – Read code aloud for better accessibility and review.
- 🎯 Hands-Free Coding – Reduce reliance on keyboard input and improve workflow.
- 🌐 Multi-Language Support (Coming Soon) – Support for multiple programming languages.
(Coming Soon: Add link here when available)
- Clone the Repository:
git clone https://github.com/tasnimhny/speech-app.git cd speech-app - Install Dependencies:
npm install
- Build the Extension:
npm run build
- Launch in VS Code:
- Open the project in VS Code.
- Press
F5to run the extension in a new VS Code window.
-
Activate the Extension:
- Use the command "Start Speech Mode" from the VS Code Command Palette (
Ctrl + Shift + P). - Alternatively, use a custom keyboard shortcut or a dedicated voice command activation (if configured).
- Use the command "Start Speech Mode" from the VS Code Command Palette (
-
Speak Your Code:
- Say a programming statement, and it will be converted into text in your active editor.
- Example: "Define a function called add that takes two arguments" →
function add(a, b) { return a + b; }
-
Modify Code via Voice:
- Example Commands:
- "Delete line 10" → Removes line 10.
- "Change let to const on line 5" → Modifies
lettoconston line 5. - "Read this function aloud" → Uses text-to-speech to read the function.
- Example Commands:
-
Stop Speech Recognition:
- Say "Stop listening" or use the Stop Speech Mode command in the Command Palette.
- VS Code API – For building the extension.
- Web Speech API – For speech recognition and text-to-speech.
- Node.js – Handles backend processing.
- Firebase - For our website to track users
- Tailwind - Decorate our front-end
- 📜 Support for More Programming Languages (Currently supports JavaScript, Python, and C++)
- 🎚️ Customizable Voice Commands
- 🤖 AI-powered Code Assistance
- 🌍 Multi-Language Speech Recognition
Contributions, issues, and feature requests are welcome!
- Fork the repo.
- Create a feature branch (
git checkout -b feature-branch). - Commit changes (
git commit -m "Add new feature"). - Push to the branch (
git push origin feature-branch). - Open a pull request.
This project is open-source and available under the MIT License.