Get up and running with the open-source speech transcription and translation microservices in minutes!
- Docker and Docker Compose
- 4GB+ RAM recommended
- NVIDIA GPU (optional, for faster transcription)
git clone <repository-url>
cd realtime-speech-microservices# Development (with hot reload)
cd backend/infra
docker-compose up --build
# Or for production
docker-compose up --build# Check service health
curl http://localhost:8080/health # Gateway
curl http://localhost:8081/health # STT Worker
curl http://localhost:8082/health # Translation Worker
# View logs
docker-compose logs -f# Build and run the Electron app
cd frontend
npm install
npm run build
npm run electron
# Or use the terminal client for testing
cd backend/terminal_run
python live_transcription.py- Redis (port 6379): Message queue and session storage
- Gateway (port 5026): WebSocket server handling audio streams
- STT Worker (port 8081): Speech-to-text transcription
- Translation Worker (port 8082): Text translation
- Frontend (Electron app): User interface
- Voice Typing: Press Win+Alt+V, speak, watch text appear in any application
- Live Subtitles: Press Win+Alt+L for overlay subtitles
- Audio Selection: Choose between microphone or system audio
- Language Selection: Source/target language switching
- Scaling: Add more workers with
docker-compose up --scale stt_worker=3
- DEVELOPMENT_SETUP.md - Local development guide
- CONFIGURATION.md - Environment variables and settings
- GATEWAY_SERVICE.md - WebSocket gateway documentation
- STT_WORKER.md - Speech-to-text worker details
- TRANSLATION_WORKER.md - Translation worker details
- API_REFERENCE.md - WebSocket message formats
- SHARED_MODULES.md - Common utilities and health monitoring
# Check all service logs
docker-compose logs -f
# Restart services
docker-compose restart
# Clean rebuild
docker-compose down -v
docker-compose up --build
# Check resource usage
docker stats# Scale STT workers for better performance
docker-compose up --scale stt_worker=3
# Use GPU (if available)
# Edit docker-compose.yml and uncomment runtime: nvidia🎯 Ready to contribute? Check out DEVELOPMENT_SETUP.md for local development!