A twitch bot that has a build in Selenium-based automated TikTok video uploader
A prequisite to using this program is the installation of a Selenium-compatible web browser. Google Chrome is recommended.
Install Nodejs v18.16.0 or greater from nodejs.org
Installing from source allows greater flexibility to modify the module's code to extend default behavior.
First, clone and move into the repository. Next, install all necessary modules using npm i
git clone https://github.com/TONKAFREAK/TwitchClipTikTokAutoPoster.git
cd TwitchClipTikTokAutoPoster
npm iTwitchClipTikTokAutoPoster works by duplicating your browser's cookies which tricks TikTok into believing you are logged in on a remote-controlled browser.
Input your browser's cookies into TwitchClipTikTokAutoPoster/resources/cookie.json file.
Fill out all the necessary fields in .env file.
Run the application using nodemon command.
nodemon!clip -- to clip last 30 seconds of the twitch stream.
!post -- clip 30 seconds of the live twitch stream, edit it and post it on tiktok. ( need to manually do the captcha )
!rank -- get the users valorant rank.
You can activate the AI chatbot in .env file and give desired personality to it.
it randomly answers users in the chat, sends random messages with the chat summary and can be triggered by tagging it or if someone uses the "key word".
I will be making updates and try to make it better. Feel free to fork it and contribute. Thank you.
