Git Product home page Git Product logo

kisahime / cheerartbot Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 21 KB

CheerArtBot revolutionizes Twitch streaming interactivity by transforming viewer cheers into unique art. Utilizing OpenAI's cutting-edge DALL-E-3 technology, this chat bot generates creative images in real-time based on messages attached to cheer donations. It offers a fun, engaging way for streamers to interact with their audience, turning viewer.

License: MIT License

JavaScript 95.10% Batchfile 4.90%
ai-art artificial-intelligence dall-e dall-e-3 image-generation nodejs openai twitch twitch-bot

cheerartbot's Introduction

CheerArtBot: DALL-E-3 Driven Image Generation for Twitch Cheers

Overview

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.

Prerequisites

Before installing CheerArtBot, make sure you have Node.js installed on your system.

Installing Node.js

  • 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
  • Linux:

    • For Ubuntu, use:
      sudo apt update
      sudo apt install nodejs npm

Installation

  1. Clone the Repository:
    git clone https://github.com/Kisahime/CheerArtBot.git
    cd CheerArtBot
  2. Run Install Script:
    • On Windows, run the provided batch file to install dependencies:
      install.bat
      

Configuration

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.

Usage

  • To start CheerArtBot, run the following command in the terminal:
    node server.js

License

This project is licensed under the MIT License - see the LICENSE file for details.

cheerartbot's People

Contributors

kisahime avatar

Watchers

 avatar

Forkers

ko9ma7

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.