Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haliphax/tts
Twitch text to speech overlay for OBS (using lobe-tts)
https://github.com/haliphax/tts
lobe-tts obs-overlay speech-synthesis text-to-speech tts twitch twitch-bot twitch-overlay voice
Last synced: about 6 hours ago
JSON representation
Twitch text to speech overlay for OBS (using lobe-tts)
- Host: GitHub
- URL: https://github.com/haliphax/tts
- Owner: haliphax
- License: mit
- Created: 2021-10-11T19:19:56.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-03T20:01:40.000Z (11 months ago)
- Last Synced: 2024-05-01T12:27:12.494Z (7 months ago)
- Topics: lobe-tts, obs-overlay, speech-synthesis, text-to-speech, tts, twitch, twitch-bot, twitch-overlay, voice
- Language: TypeScript
- Homepage:
- Size: 144 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tts
Twitch chat text-to-speech overlay for OBS (using [lobe-tts][])
## Setup
### Install dependencies
```shell
npm ci
```### Build the overlay
```shell
npm run build
```## Use
Start the server:
```shell
npm start
```Visit http://localhost:3000 to go through the full OAuth round trip and get your
authorized URL for the browser source.Create a reward in Twitch that requires a message. To determine the reward ID
for adding to the query string of the overlay, redeem the reward yourself and
enter `!tts.echo` as the (only) message text. The overlay, if connected and
authorized, should respond with the internal ID of the reward. Add this ID as
the `reward` query string parameter for the overlay in OBS.The command may also be executed directly by the broadcaster and moderators.
Example Twitch message command:
> !tts I'm a little teapot, short and stout
### Advanced usage
The TTS trigger can be used without chat commands or reward redemptions by
sending a direct HTTP POST request:```shell
curl -X POST \
-H 'Content-Type: application/json' \
-d '{"text":"hello, world"}' \
http://localhost:3000/cast
```[lobe-tts]: https://tts.lobehub.com