🎙️ A lightweight utility to convert text to speech in React Native CLI apps using Google Translate TTS.
npm install react-native-gtts-lite
npx react-native link react-native-fs
npx react-native link react-native-sound
import { playTTS } from 'react-native-gtts-lite';
playTTS('Hello Lokanath!', 'en');
Feel free to connect me on melokanath@gmail.com
- This uses Google's unofficial TTS endpoint.
- No authentication needed, but use responsibly to avoid IP blocks.
- Supports many languages using language codes like
en
,hi
,fr
, etc.
MIT