travisvn/edge-tts-universal

Use Microsoft Edge's online text-to-speech service in Node.js, browsers, or any JavaScript environment WITHOUT needing Microsoft Edge or Windows or an API key

60
/ 100
Established

Replicates Microsoft's WebSocket protocol with custom headers (Sec-WebSocket-Version, MUID authentication) and timing-aware chunk synthesis, working across Node.js, Deno, Bun, and edge runtimes via Web standard APIs. Offers multiple entry points (Universal, Node.js-optimized, Browser, WebWorker) with tree-shakable imports, from ~30KB gzipped for browser-only to ~46KB for full Node.js functionality, plus streaming APIs with metadata events (WordBoundary, SentenceBoundary) for subtitle synchronization.

Available on npm.

Maintenance 10 / 25
Adoption 8 / 25
Maturity 24 / 25
Community 18 / 25

How are scores calculated?

Stars

59

Forks

14

Language

TypeScript

License

AGPL-3.0

Last pushed

Feb 25, 2026

Commits (30d)

0

Dependencies

7

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/voice-ai/travisvn/edge-tts-universal"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.