CheerArtBot is an innovative Twitch chat bot that utilizes OpenAI's DALL-E-3 to transform cheer messages into unique images. This bot enhances Twitch streamer-audience interaction by converting bits into creative visual art.
Before installing CheerArtBot, make sure you have Node.js installed on your system.
-
Windows:
- Download the installer from Node.js website.
- Run the installer and follow the setup wizard.
-
macOS:
- Install Node.js via Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" brew install node
- Install Node.js via Homebrew:
-
Linux:
- For Ubuntu, use:
sudo apt update sudo apt install nodejs npm
- For Ubuntu, use:
- Clone the Repository:
git clone https://github.com/Kisahime/CheerArtBot.git cd CheerArtBot
- Run Install Script:
- On Windows, run the provided batch file to install dependencies:
install.bat
- On Windows, run the provided batch file to install dependencies:
To configure CheerArtBot for your Twitch channel, follow these steps:
- Create a .env file in the root directory of the project.
- Add the following configurations to the .env file, replacing placeholders with your actual data:
TWITCH_USERNAME=your_twitch_username TWITCH_OAUTH_TOKEN=your_oauth_token TWITCH_CHANNEL=your_twitch_channel OPENAI_API_KEY=your_openai_api_key
- TWITCH_USERNAME: Your Twitch bot's username.
- TWITCH_OAUTH_TOKEN: OAuth token for Twitch authentication. Generate one from Twitch Chat OAuth Password Generator.
- TWITCH_CHANNEL: Name of the Twitch channel where the bot will operate.
- OPENAI_API_KEY: Your OpenAI API key for accessing DALL-E-3.
- To start CheerArtBot, run the following command in the terminal:
node server.js
This project is licensed under the MIT License - see the LICENSE file for details.