Adds "Live Chat" functionality on sillytavern for using youtube live stream.
this is modified from idle extension from sillytavern, you need to remove Extension-Idle.
if you like my code and used it, please support me on ko-fi https://ko-fi.com/megaaziib
use my local api youtube live chat to setting up first: https://github.com/aziib/YoutubeLiveChatLocalApi
Tiktok Version: https://github.com/aziib/tiktok-livechat-api
- if you already installed extension-idle, remove it because it will cause issues.
- install git : https://git-scm.com/downloads (skip if you already installed it)
- open your SillyTavern folder on windows explorer and then go to public\scripts\extensions\third-party
- click on directory path and then type cmd and press enter
- a command prompt will appear and then type or copy this command line and press enter:
git clone https://github.com/aziib/Extension-LiveChat
- set up a public youtube live stream
- get your youtube livestream video link
- setting up my youtube live chat local api : https://github.com/aziib/YoutubeLiveChatLocalApi
- run your sillytavern
- create new persona, set as default, just name it youtube viewer and add description {{user}} is youtube viewers live chat (you can set any description however you want if you want more immmersive interaction between live chat and the ai)
- select your ai character ( you can use single character or group chat, both are working and can use auto mode on group chat)
- enable the extension by going to extension tab and click LiveChat (choose the first one if there is two LiveChat)
- tick enabled checkbox , set livechat count to 9999999999999 ,set livechat timer to 3, untick use continuation, untick randomize time and tick on to enable include livechat prompt
- also make sure is send as user