Skip to content

ScorchChamp/ScorchAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

THIS PAGE IS DEPRECATED, AND WILL NO LONGER BE SUPPORTED!

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

ScorchAI

Twitch Clip Bot
Releases »

View Demo · Report Bug · Request Feature

Table of Contents

  1. About The Project
  2. Releases
  3. Getting Started
  4. Usage
  5. Roadmap
  6. Contributing
  7. License
  8. Contact

About The Project

I am an IT student that took a year off to relieve some stress during covid. Now, I still wanted to program/code some fun stuff. During this year, many clip channels started to boom. The flaw with these channel, though, is that they require someone to download clips and reupload the all manually.

Now, I wanted to make a bot that does this process automatically, thus the idea for ScorchAI. (Scorch is my IGN for most games and AI sounds cool)
ps. the code is ugly, but it works. If you dont like it, make a pull request

Proof of concept (121.000 views per hour on main clip channel):
121.000 views per hour 1.400.000 views per day

Releases

Download the latest version of ScorchAI and extract the ScorchAI-x.zip / ScorchAI-x.tar.gz. Make sure to read Getting Started.

Getting Started

To get a local copy up and running follow these simple steps.

WARNING: YOUR APPLICATION HAS TO GO THROUGH AUDIT BY YOUTUBE TO USE IT WITHOUT IT BEING BLOCKED

Prerequisites

You need to create an application over at The Youtube Developer Console with the Data APIv3. When you first run your application, you should get a link where you can accept your request.

In the assets folder you should add the following files:

  1. client_secrets.json
    {
        "web": {
            "client_id": "YOUR CLIENT ID",
            "client_secret": "YOUR CLIENT SECRET",
            "redirect_uris": [],
            "auth_uri": "https://accounts.google.com/o/oauth2/auth",
            "token_uri": "https://accounts.google.com/o/oauth2/token"
        }
    }
  2. auth.json
     {
       "twitch": {
         "client-id": "CLIENT ID", 
         "client-secret": "CLIENT SECRET", 
         "redirect-uri": "REDIRECT URI", // Probably https://localhost
         "OAUTH": "OAUTH TOKEN", // This could be empty, then you should run initial_oauth.py once
         "refresh-token": "REFRESH TOKEN" // Used to reset the oauth token if it runs out (happens like 10x a day)
       }
     }

Installation

  1. Clone the repo
     git clone https://github.com/ScorchChamp/ScorchAI_name.git
  2. Install Libraries
     pip install -r requirements.txt

Usage

This application can be used on multiple channels. But be aware that have a limited amount of quota with the youtube datav3 api.

In assets/categories.json specify which games/channels you want to upload to your channel:

 {
   "games": {

   },
   "broadcasters": {
       "SCORCHCHAMP": {
           "priority": 1,
           "min_views": 0,
           "real_name": "ScorchChamp",
           "parameters": {
               "first": "100",
               "broadcaster_id": "58251106"
           }
       }
   },
   "blacklisted_broadcasters": []
 }

Assets/description.txt specifies the default video description. Change this to your liking:

👀 Check that you are subscribed!

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

✅ Socials:

👑 Discord: https://discord.gg/5Z82Tjt 
👑 Twitch: https://twitch.tv/scorchchamp
👑 Main Channel: https://www.youtube.com/c/ScorchChamp

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

****If you are this broadcaster, and want this video removed, please let me know in either the comments, my business e-mail or in my discord.****
#ScorchAI #Shorts

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Contact

ScorchChamp - [email protected]

Project Link: https://github.com/ScorchChamp/ScorchAI