LvInSaNevL / Second-Stump

An experimental bot to automate meme compilations
http://subscribe.secondstump.com
GNU General Public License v2.0
0 stars 2 forks source link

Second-Stump

An experimental bot to automate meme compilations. For current to do list and future features visit the Trello Page

Startup Guide

  1. Copy data from data/authExample.json into a file called data/auth.json, and replace the placeholder information with your own.
  2. Copy your user data from chrome into data/browser/
    • To generate run the command /usr/bin/google-chrome --user-data-dir=[username]studio.youtube.com and log into the account of the youtube channel
    • This must happen on a device with a screen and copied to your server before deploying to Docker
  3. If you are running this from the command line you can run the command src/main.py and pass in one of the command line arguments, which are listed below.
    • update: Runs through the sources list and downloads any new content
    • new: Edits any longer compilation videos that may exist and generate a new finished video
    • deploy: Runs the code as if it would be deployed on a server. This argument will run the program until it is stopped by you.
  4. If you are deploying this to a Docker container, just simply run the command sudo ./dockerStart.sh and it will take care of everything
    • You will get an error debconf: delaying package configuration, since apt-utils is not installed during build. This seems to be harmeless but I'm not 100% how to fix it.
    • If you are unable to run the script, run chmod +x and try again
    • docker build takes a real long time, only recommended if you are actually going to deploy

Description of file structure

All file paths are from the root directory of this project.