dlive tts chat widget
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
vampirefrog 25ef9e5c5a tts default sound fix 7 months ago
static tts default sound fix 7 months ago
.gitignore gitignore nonsense 1 year ago
.gitmodules update streamchat URL 10 months ago
README.md update readme streamchat path 10 months ago
bitchute.js bitchute: redo with oembed URL 10 months ago
config.js.example config js example 10 months ago
index.js index: add timers, catch promise errors, add /viewers, other fixes 7 months ago
package.json add isomorphic ws and node-fetch dependencies 10 months ago
songprovider.js songprovider: timeToSeconds 10 months ago
soundcloud.js tts: cache stickers for 60 seconds 10 months ago
template.sqlite template.sqlite 10 months ago
tts.sublime-project sublime project 1 year ago
voices.json initial files 1 year ago
youtube.js youtube: use fetch 7 months ago


Vampi's DLive TTS


You'll need Git and NodeJS. Make sure they are both in your PATH.

First, clone the repository

git clone --recursive http://git.vampi.tech/vampi/tts.git

Open a command prompt, go to the folder where you unpacked it, and type:

npm install
cd static/streamchat
npm install
cd trovo.js
npm install
cd ..
cd ..

This installs requirements for the tts and the streamchat submodule, which is what connects to DLive.

Next, open config.js.example and save it as config.js. Edit the values in there to fit your needs.

Now you should be able to run in the same terminal:

node index.js

Now point your browser to http://localhost:3080 to see it working, then add the same URL in OBS as a browser source.


node index.js

Upon startup, the bot will send the message, if any, in the config setting hello.


Press CTRL+C, don't just close the window, as the bot can be configured to have a goodbye message in the config setting goodbye.

Testing events

With your streamer account, type one of the following:

  • Ban2
  • Ban
  • Diamond
  • ExtendSub2
  • ExtendSub
  • Follow
  • GiftSub
  • GiftSubReceive
  • Host
  • IceCream
  • IceCreams
  • Lemon
  • Lemons
  • Mod
  • Ninjaghini
  • Ninjet
  • Subscription
  • SubStreak
  • TCValue
  • Timeout
  • ValueUpdated