Skip to content

alexandertomsovic/RedditTikTokBot

Repository files navigation

Reddit TikTok Video Bot

RedditTikTokBot automates the creation of the viral TikTok Reddit comment-read video format by compiling gameplay and sourcing interesting threads from various subreddits to allow users to generate unlimited content for spaces such as TikTok, Youtube shorts, and Instagram Reels!

Please include a link to this GitHub Repo in the comments section of your videos. Enjoy!

Creator

  • RedditTikTokBot, its code, and this repositoru is owned and operated by Alexander Tomsovic
  • Engineered by A.R.T. LLC
  • No generated content is owned by Alexander Tomsovic or A.R.T. LLC.

Utility

TikTok trends have changed with the newest trend being emotional, creepy, or enchanting reddit threads read aloud with Minecraft gameplay played in the background. Having seen hundreds of vidoes in this format go viral, I decided to build a program to automate this process.

Disclaimer

At this current time, this program will not upload final output videos to TikTok. It will store them in the results folder where you can upload them manually. We are working to implement an feature that will allow instant autonomous uploads! Check the repository page for updates! () UPDATE

Requirements

  • Python 3.8+
  • Playwright (should be installed with requirements in the first installation leg)
  • SoX

Initial Installation

  1. Clone this repository via GitHub

  2. 2A Automatic Install: Run python main.py and type "yes" to initiate automatic setup. If this step fails, try manually installing.

    2B Manual Install: Rename the .env.template file to .env and enter the correct values into each field. CASE SENSITIVE! Reddit Keys for the CLIENT ID and Secret Key can be found here: [the Reddit Apps page.] (https://www.reddit.com/prefs/apps)

Getting Reddit Keys:

  • Click "Create App"
  • Choose the "Script" option
  • Copy your CLIENT ID and Secret Key into the .env file
  • Enter the remaining items into the appropriate fields.

Primary Installation

  1. Install SoX

  2. Run pip install -r requirements.txt into your Python Terminal.

  3. Run playwright install and playwright install-deps. (Add python -m to the front of the command if this step fails)

  4. Run python main.py if you chose to manually install this repository, otherwise this will automatically run.

  5. Happy Automating!

If you get an error installing or running the bot:

  • Rerun the command with a "3" after the name (python3 or pip3)
  • Reinstall the repository from GitHub
  • Create a Repository pull request via GitHub

Video

final_video.mp4

Contributions / Future Improvements

RedditTikTokBot works perfectly in its current version, but I believe there is a lot to be desired. Here are a list of items that should be implemented in the near future in order to maximize this program's utility.

  • 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
  • Allowing custom reddit threads.
  • NSFW post filter
  • Automatic uploads to social media accounts.
  • Writing a thourough documentation and impementing a CLI.
  • Bypassing CLIENT ID and Secret Key requirements.

Please read the contributing guidelines for more information!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published