Skip to content
stellarsteaderPublic

About

self-hosted speach-to-text for shy people

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Doppler banner: black and white ripple rings

Doppler

Self-Hosted Speech-to-Text Server & macOS App

macOS 14.2+ Python 3.10–3.13 License: MIT

Doppler 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.

Doppler Server

FastAPI transcription server.

  • Speech model. Whisper large-v3-turbo on faster-whisper, with CPU int8 inference 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/transcriptions for existing clients.
  • Device auth. One token per device, recorded with each transcript.
  • Text-only history. Transcripts are stored in SQLite. Audio is not kept.

Quick start

Server

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 8000

On 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.

App

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.

Use them together

Start the server, then enter its URL in the app's Settings.

Documentation

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

License

MIT

About

self-hosted speach-to-text for shy people

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages