Create Reddit Videos with just one command
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
Jason 5663583564
added timeout prevention
3 years ago
.github Converted spaces into tabs for all files 3 years ago
TTS added init files to stop python from whining 3 years ago
examples docs: updated example video 3 years ago
reddit fixes #557 3 years ago
utils added init files to stop python from whining 3 years ago
video_creation added timeout prevention 3 years ago
.dockerignore add Docker support 3 years ago
.env.template fixes #557 3 years ago
.gitattributes chore(*): Add devcontainer vscode support 3 years ago
.gitignore added the changes of #549 3 years ago
.pylintrc Add pylintrc 3 years ago
CONTRIBUTING.md Merge branch 'master' into develop 3 years ago
Dockerfile Update Dockerfile 3 years ago
LICENSE Merge branch 'develop' into pr/ProjectSlxsh/418 3 years ago
README.md fixed readme as seen in #556 3 years ago
build.sh setup.py heavily refactored, all files formatted with python-BLACK and added shebang lines 3 years ago
main.py fixed #553 3 years ago
requirements.txt fixed requirements 3 years ago
run.sh fixed run.sh 3 years ago
setup.py reformatted using black 3 years ago

README.md

Reddit Video Maker Bot 🎥

All done WITHOUT video editing or asset compiling. Just pure programming magic.

Created by Lewis Menelaws & TMRRW

Video Explainer

lewisthumbnail

Motivation 🤔

These videos on TikTok, YouTube and Instagram get MILLIONS of views across all platforms and require very little effort. The only original thing being done is the editing and gathering of all materials...

... but what if we can automate that process? 🤔

Disclaimers 🚨

  • At the moment, this repository won't attempt to upload this content through this bot. It will give you a file that you will then have to upload manually. This is for the sake of avoiding any sort of community guideline issues.

Requirements

  • Python 3.6+
  • Playwright (this should install automatically in installation)
  • Sox

Installation 👩‍💻

  1. Clone this repository

  2. 2a Automatic Install: Run python main.py and type 'yes' to activate the setup assistant.

    2b Manual Install: Rename .env.template to .env and replace all values with the appropriate fields. To get Reddit keys (required), visit the Reddit Apps page. TL;DR set up an app that is a "script". Copy your keys into the .env file, along with whether your account uses two-factor authentication.

  3. Install SoX

  4. Run pip install -r requirements.txt

  5. Run playwright install and playwright install-deps. (if this fails try adding python -m to the front of the command)

  6. Run python main.py (unless you chose automatic install, then the installer will automatically run main.py) required**), visit the Reddit Apps page. TL;DR set up an app that is a "script". Copy your keys into the .env file, along with whether your account uses two-factor authentication.

  7. Enjoy 😎

(Note if you got an error installing or running the bot try first rerunning the command with a three after the name e.g. python3 or pip3)

Video

https://user-images.githubusercontent.com/66544866/173453972-6526e4e6-c6ef-41c5-ab40-5d275e724e7c.mp4

Contributing & Ways to improve 📈

In its current state, this bot does exactly what it needs to do. However, lots of improvements can be made.

I have tried to simplify the code so anyone can read it and start contributing at any skill level. Don't be shy :) contribute!

  • Creating better documentation and adding a command line interface.
  • Allowing users to choose a reddit thread instead of being randomized.
  • Allowing users to choose a background that is picked instead of the Minecraft one.
  • Allowing users to choose between any subreddit.
  • Allowing users to change voice.
  • Checks if a video has already been created
  • Light and Dark modes
  • NSFW post filter

Please read our contributing guidelines for more detailed information.

Developers and maintainers.

Elebumm (Lewis#6305) - https://github.com/elebumm (Founder)

Jason (JasonLovesDoggo#1904) - https://github.com/JasonLovesDoggo

CallumIO (c.#6837) - https://github.com/CallumIO

HarryDaDev (hrvyy#9677) - https://github.com/ImmaHarry

LukaHietala (Pix.#0001) - https://github.com/LukaHietala

Freebiell (Freebie#6429) - https://github.com/FreebieII