Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

SpeechRouter

Compare speech-to-text models side by side. Record audio or upload a file, select one or more STT providers, and see transcription results with latency metrics — all in parallel.

Supported Providers

Provider Model Open Source
OpenAI Whisper whisper-1 Yes
OpenAI GPT-4o Transcribe gpt-4o-transcribe No
Deepgram Nova-3 No
AssemblyAI best No
Google Cloud STT latest_long No
Azure Speech latest No
AWS Transcribe default No
Groq (Whisper) whisper-large-v3-turbo Yes
ElevenLabs Scribe scribe_v2 No
Gladia solaria No
Sarvam Saaras saaras:v3 No

Only providers with configured API keys appear in the UI.

Getting Started

npm install
cp .env.example .env
# Fill in API keys for the providers you want to use
npm run dev

Environment Variables

See .env.example for the full list. At minimum, configure one provider:

OPENAI_API_KEY=sk-...
GROQ_API_KEY=gsk_...

Architecture

  • SvelteKit + Svelte 5 + TypeScript — minimal boilerplate, +server.ts routes double as future API endpoints
  • Tailwind CSS v4 — utility-first styling
  • Provider interface pattern — each STT provider is a single file (~25-45 lines) implementing STTProvider
  • Fan-out orchestrator — Promise.allSettled() for parallel transcription, one failure doesn't kill the rest
  • Vercel deployment — adapter-auto detects Vercel automatically

Future Goals

  1. Developer model addition (provider interface → DB-backed registry)
  2. API gateway (add auth + rate limiting via hooks.server.ts)
  3. Benchmarks (latency + confidence data already captured)

Original Vision

  1. Any user can test any speech-to-text model. The website should just have a functionality to transcribe whatever the user is saying. The user can also select multiple modules, and the audio must be transcribed from multiple modules in parallel. I would also like to see a latency number, basically the time it took for the model to convert to text (complete audio not partial). a. which models do I support? For now I think I can have the popular speech-to-text models.
  2. I would also like other developers to add their speech to text models on this website.
  3. I would also like to build an OpenRouter like service where users can leverage these modules using just one API key. Do I have to host the models on my own? I don't think so, but I will have to check.
  4. Speech-to-text model benchmarks. One part of the benchmark can come from user-driven trials that they are doing in point 1.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages