Entire process (besides upload) is done automatically.
I see thousands of videos across TikTok that simply have 3 things: music, a video background, and an inspiring quote. After watching Coding With Lewis, I was inspired to try making one of these bots on my own.
This bot does not upload to TikTok automatically in order to stay in line with community guidelines (and I found it very difficult to implement the process with Selenium)
- Clone this repository
- Run
pip install -r requirements.txt
- Follow this link
- Download music & videos and store them in directories named: "music" & "videos" These names are strict
- Fetch quotes (default) or create your own texts
- Run
python3 app.py
- Wait for "final.mp4" file to be created
- Play "final.mp4" in QuickTime or VLC Media Player
- A quote from ZenQuotes is randomly selected from their api
- A video & song is randomly selected from my vast list of downloaded files
- These 3 things are compiled together into a single mp4 file (named "final.mp4") using Moviepy
- The caption is then copied to your clipboard using pyperclip for ease of upload
- That's literally it
- 01/12/2023 Update: The bot now generates 5 videos ("final0.mp4" - "final4.mp4") so the user can choose between multiple videos to upload. Thank you @jerseymason for issuing the idea.
- There are 776880 possible combinations of videos that can be made (note there are only 240 possible video/music combinations)
- Averages 74.14 views per video