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 2279a2979e ignore DOM error when removing child 1 month ago
static ignore DOM error when removing child 1 month ago
streamchat@246ce64aca streamchat update 2 months ago
.gitignore gitignore nonsense 2 months ago
.gitmodules streamchat submodule 6 months ago
README.md more README and cleanup 2 months ago
config.js.example support dLiveAuthToken in config.js 2 months ago
index.js better command arg handling 1 month ago
package.json initial files 6 months ago
songprovider.js initial files 6 months ago
soundcloud.js initial files 6 months ago
template.sqlite initial files 6 months ago
tts.sublime-project sublime project 2 months ago
voices.json initial files 6 months ago
youtube.js youtube: fix info fetching for new page format 1 month ago

README.md

Vampi's DLive TTS

Installing

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 streamchat
npm install
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. Fill in your Blockchain Username in the streamer field. You can find this by going to the Earnings tab on dlive, the one below the chest. If you have a DLive bot account, fill in botUsername and botPassword, but if that fails, fill in the dLiveAuthToken, which you can see in the Network tab of the Developer Tools of your browser, in the authorization: header, with each request sent to graphigo.prd.dlive.tv, when you are logged in as the bot. Now edit the sounds config, or just replace the existing ones in static/sounds.

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.

Starting

node index.js

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

Stopping

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