Real-time sermon translation system that converts English speech to French audio in real-time.
Audio Input → Deepgram STT → DeepL Translation → Edge TTS → Audio Output
↓ ↓ ↓ ↓
WebSocket Nova-2 Model EN → FR Neural Voice
# Install dependencies
npm install
# Copy environment template
cp .env.example .env
# Add your API keys to .env
# DEEPGRAM_API_KEY=your_key_here
# DEEPL_API_KEY=your_key_here
# Start development server
npm run dev
cd frontend
npm install
npm run dev
Edit .env to configure:
| Variable | Description | Default |
|---|---|---|
DEEPGRAM_API_KEY | Deepgram API key for STT | Required |
DEEPL_API_KEY | DeepL API key for translation | Required |
TTS_PROVIDER | TTS provider (edge/deepgram) | edge |
SOURCE_LANGUAGE | Source language | en |
TARGET_LANGUAGE | Target language | fr |
PORT | Server port | 3001 |
| Service | Cost |
|---|---|
| Deepgram STT | ~$0.0043/min |
| DeepL | FREE (500K chars/month) |
| Edge TTS | FREE |
~$2.60 per 10-hour sermon
src/
├── core/ # Core utilities (logger, event bus)
├── providers/ # STT, Translation, TTS providers
│ ├── stt/ # Deepgram STT
│ ├── translation/# DeepL
│ └── tts/ # Edge TTS, Deepgram TTS
├── services/ # Pipeline orchestrator, session manager
├── server/ # HTTP & WebSocket servers
└── types/ # TypeScript types
frontend/ # React/Vite frontend
MIT
1 commits
TypeScript
93.3%
HTML
6.4%
Real-time sermon translation system that converts English speech to French audio in real-time.
Audio Input → Deepgram STT → DeepL Translation → Edge TTS → Audio Output
↓ ↓ ↓ ↓
WebSocket Nova-2 Model EN → FR Neural Voice
# Install dependencies
npm install
# Copy environment template
cp .env.example .env
# Add your API keys to .env
# DEEPGRAM_API_KEY=your_key_here
# DEEPL_API_KEY=your_key_here
# Start development server
npm run dev
cd frontend
npm install
npm run dev
Edit .env to configure:
| Variable | Description | Default |
|---|---|---|
DEEPGRAM_API_KEY | Deepgram API key for STT | Required |
DEEPL_API_KEY | DeepL API key for translation | Required |
TTS_PROVIDER | TTS provider (edge/deepgram) | edge |
SOURCE_LANGUAGE | Source language | en |
TARGET_LANGUAGE | Target language | fr |
PORT | Server port | 3001 |
| Service | Cost |
|---|---|
| Deepgram STT | ~$0.0043/min |
| DeepL | FREE (500K chars/month) |
| Edge TTS | FREE |
~$2.60 per 10-hour sermon
src/
├── core/ # Core utilities (logger, event bus)
├── providers/ # STT, Translation, TTS providers
│ ├── stt/ # Deepgram STT
│ ├── translation/# DeepL
│ └── tts/ # Edge TTS, Deepgram TTS
├── services/ # Pipeline orchestrator, session manager
├── server/ # HTTP & WebSocket servers
└── types/ # TypeScript types
frontend/ # React/Vite frontend
MIT
1 commits
TypeScript
93.3%
HTML
6.4%