A web application that uses Eleven Labs API for speech-to-text conversion with a simple activation button interface.
- 🎤 One-click audio recording
- 🔊 Real-time speech-to-text conversion
- 🎨 Modern, responsive UI
- 🔒 Secure API key handling
-
Install dependencies:
npm install
-
Configure API Keys:
- Create a
.envfile in the project root - Add the following API keys:
ELEVEN_LABS_API_KEY=your_eleven_labs_api_key_here GEMINI_API_KEY=your_gemini_api_key_here GOOGLE_CLIENT_ID=your_google_oauth_client_id GOOGLE_API_KEY=your_google_api_key - Get your API keys from:
- Eleven Labs: https://elevenlabs.io/app/settings/api-keys
- Gemini AI: https://aistudio.google.com/app/apikey
- Google Cloud Console: https://console.cloud.google.com/
- Create OAuth 2.0 Client ID and enable Calendar API
- Create a
-
Start the server:
npm start
-
Open your browser:
- Navigate to
http://localhost:3000 - Click the "Record" button to start recording
- Click "Stop" when finished
- Your transcript will appear below
- Navigate to
-
Connect Google Calendar (optional but recommended):
- Click the "Connect Google Calendar" button
- Sign in with your Google account
- Grant calendar permissions
-
Record and Add to Calendar:
- Click the Record button to start recording
- Speak your calendar request (e.g., "Add a meeting tomorrow at 2pm")
- Click Stop when you're done
- Your transcript will appear and automatically be processed
- If calendar intent is detected, the event will be added to your Google Calendar
- Node.js (v14 or higher)
- Modern web browser with microphone access
- Eleven Labs API key
- Gemini API key (for calendar processing)
- Google OAuth credentials (for calendar integration)
- The application requires microphone permissions in your browser
- Audio is recorded in WebM format and sent to Eleven Labs for transcription
- Make sure your Eleven Labs account has speech-to-text access enabled
- Google Calendar integration requires OAuth 2.0 setup in Google Cloud Console
- Calendar events are automatically created when you speak calendar-related commands