Skip to content

AlenVelocity/synapse-demo

Repository files navigation

Synapse - Demo

Speech to Text with Intent Recognition built with Deepgram and Google Gemini Flash

Local Setup

Prerequisites

  • Node.js
  • pnpm

API Keys

Deepgram: Login to Deepgram Console and create an API key with "Member" access.

Gemini: Get Gemini Key from Google AI Studio

Setup

  1. Clone the repository
git clone https://github.com/alenvelocity/synapse-demo.git
cd synapse-demo
  1. Install dependencies
pnpm install
  1. 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
  1. Run the development server

https is needed if you want to access microphone in secure context (other than localhost)

pnpm dev --experimental-https
  1. Open http://localhost:3000 in your browser

About

Speech to text which actually understands you

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published