Self-Hosted Speech-to-Text Server & macOS App
Native SwiftUI menu bar app.
- Global push-to-talk. Hold or toggle, with key combinations or modifier-only shortcuts.
- Audio capture. Any microphone, or one app's output through a Core Audio process tap.
- WebSocket streaming. 16 kHz PCM with automatic HTTP upload fallback.
- Notch overlay. Live transcript and audio level at the notch.
- Text insertion. Pastes into the focused app and restores the clipboard.
Connect it to Doppler Server for live text, or to another server with an OpenAI-compatible upload endpoint. If that server requires a model name, set it in Settings.
FastAPI transcription server.
- Speech model. Whisper
large-v3-turboon faster-whisper, with CPUint8inference by default. - Streaming pipeline. WebSocket PCM ingest with background passes cut at Silero VAD pauses, so finalizing takes one pass.
- Language detection. Per-chunk detection with a smaller Whisper model, limited to a configurable language list.
- OpenAI-compatible API.
POST /v1/audio/transcriptionsfor existing clients. - Device auth. One token per device, recorded with each transcript.
- Text-only history. Transcripts are stored in SQLite. Audio is not kept.
You need uv.
cd server
uv sync
cp .env.example .env # leave STT_TOKENS empty to skip auth locally
uv run uvicorn stt.main:app --env-file .env --port 8000On first start, the server downloads the Whisper models (~2 GB). On Apple Silicon, set STT_CPU_THREADS in .env to your performance-core count for the best speed.
To run it on another machine with Docker or as a Linux service, see Self-hosting.
You need Xcode. No Apple Developer account is required. From the repository root:
cd apps/macos && ./build.sh --install
open "/Applications/Doppler.app"Click the Doppler icon in the menu bar and open Settings…. Choose a shortcut, and grant Microphone and Accessibility access.
Start the server, then enter its URL in the app's Settings.
| Guide | Covers |
|---|---|
| Self-hosting | Docker, Linux service or source install, and remote access |
| Mac app | Settings, shortcuts, permissions and local code signing |
| API | WebSocket streaming and HTTP endpoints |
| Configuration | Environment variables |