SahilAggarwal2004/react-text-to-speech

An easy-to-use React.js library that leverages the Web Speech API to convert text to speech.

59
/ 100
Established

Provides real-time text highlighting synchronized with playback, dynamic control over pitch/rate/volume during speech, and automatic chunking to bypass Web Speech API's utterance length limits. Exposes both a `useSpeech` hook for custom UI and a drop-in `` component, with support for multiple concurrent instances and inline directives to embed playback instructions directly in text.

Available on npm.

No Dependents
Maintenance 13 / 25
Adoption 9 / 25
Maturity 25 / 25
Community 12 / 25

How are scores calculated?

Stars

81

Forks

8

Language

TypeScript

License

MIT

Last pushed

Mar 09, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/voice-ai/SahilAggarwal2004/react-text-to-speech"

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