A Chrome extension that adds voice chat capabilities to ChatGPT, allowing users to speak their messages and hear AI responses in near real-time using ElevenLabs' text-to-speech technology.
🌐 Visit voicechatassistant.web.app for more information.
- 🎙️ Voice input for messages
- 🔊 Natural text-to-speech responses
- 💬 Real-time streaming of responses
- 🎵 Audio queue management
- 🔄 "Over" command to send messages
- ⏯️ Play/pause/stop controls
- 🔑 Easy API key management
- Visit the Chrome Web Store
- Click "Add to Chrome"
- Follow the prompts to install
- Clone this repository:
git clone https://github.com/aladynjr/chatbot-voice-chat-assistant.git
- Open Chrome and navigate to
chrome://extensions/
- Enable "Developer mode" in the top right
- Click "Load unpacked" and select the extension directory
-
Get an ElevenLabs API key:
- Visit elevenlabs.io
- Create an account (includes free tier with 10,000 characters/month)
- Go to your profile settings
- Copy your API key
-
Configure the extension:
- Click the extension icon in Chrome
- Paste your ElevenLabs API key
- Click "Save Key"
- Visit chat.openai.com
- Click "Activate Voice Chat" button in the bottom right
- Start speaking your message
- Say "over" to send the message
- Listen to ChatGPT's voice response
- Use the microphone icon to toggle voice input
- Use the control button to stop audio playback
The extension consists of several key components:
manifest.json
: Extension configuration and permissionscontent.js
: Main extension logic and UIinterceptor.js
: Response stream handlingpopup.html/js
: API key configuration interfacebackground.js
: Background service worker
The extension requires the following permissions:
storage
: For saving API key
Currently supports:
- Google Chrome
- Chromium-based browsers (Edge, Brave, etc.)
Feel free to submit issues, fork the repository, and create pull requests for any improvements.
For issues or questions, reach out on Twitter: @aladdinnjr
MIT License
Copyright (c) 2024