Speech to Text with Intent Recognition built with Deepgram and Google Gemini Flash
Live Demo: https://stt.alen.is
- Node.js
- pnpm
Deepgram: Login to Deepgram Console and create an API key with "Member" access.
Gemini: Get Gemini Key from Google AI Studio
- Clone the repository
git clone https://github.com/alenvelocity/synapse-demo.git
cd synapse-demo
- Install dependencies
pnpm install
- Create a
.env
file and add your Deepgram API key
DEEPGRAM_API_KEY="your_deepgram_api_key"
DEEPGRAM_PROJECT_ID="your_deepgram_project_id"
DEEPGRAM_ENV="development"
GEMINI_API_KEY="your_google_api_key"
GEMINI_MODEL_NAME="gemini-2.0-flash" # Default model
- Run the development server
https
is needed if you want to access microphone in secure context (other than localhost
)
pnpm dev --experimental-https
- Open http://localhost:3000 in your browser