RedditVideoMakerBot README

The project's README from github.com/elebumm/RedditVideoMakerBot. As one markdown file: 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 🚨

Requirements

Installation 👩‍💻

  1. Clone this repository:

    git clone https://github.com/elebumm/RedditVideoMakerBot.git
    cd RedditVideoMakerBot
    
  2. Create and activate a virtual environment:

    • On Windows:
      python -m venv ./venv
      .\venv\Scripts\activate
      
    • On macOS and Linux:
      python3 -m venv ./venv
      source ./venv/bin/activate
      
  3. Install the required dependencies:

    pip install -r requirements.txt
    
  4. Install Playwright and its dependencies:

    python -m playwright install
    python -m playwright install-deps
    

EXPERIMENTAL!!!!


  1. Run the bot:

    python main.py
    
  2. Visit the Reddit Apps page, and set up an app that is a "script". Paste any URL in the redirect URL field, for example: https://jasoncameron.dev.

  3. The bot will prompt you to fill in your details to connect to the Reddit API and configure the bot to your liking.

  4. Enjoy 😎

  5. If you need to reconfigure the bot, simply open the config.toml file and delete the lines that need to be changed. On the next run of the bot, it will help you reconfigure those options.

(Note: If you encounter any errors installing or running the bot, try using python3 or pip3 instead of python or pip.)

For a more detailed guide about the bot, please refer to the documentation.

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, improvements can always 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!

Please read our contributing guidelines for more detailed information.

For any questions or support join the Discord server

Developers and maintainers.

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

Jason Cameron - https://github.com/JasonLovesDoggo (Maintainer)

Simon (OpenSourceSimon) - https://github.com/OpenSourceSimon

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

Verq (Verq#2338) - https://github.com/CordlessCoder

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

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

Aman Raza (electro199#8130) - https://github.com/electro199

Cyteon (cyteon) - https://github.com/cyteon

LICENSE

Roboto Fonts are licensed under Apache License V2

RedditVideoMakerBot (elebumm/RedditVideoMakerBot)

Searching Database…

这是什么?这是一个 Python 机器人,可以把 Reddit 帖子制作成短视频,配有文字转语音的旁白和背景素材,做好后可直接上传到 TikTok、YouTube 或 Instagram。
这是我要导入的库,还是我直接运行的独立脚本?这是一个独立的 Python 命令行机器人,需要克隆到本地运行,而不是可以导入其他项目的库。
我要怎么让它跑起来?克隆仓库,创建虚拟环境,安装依赖,安装 Playwright,然后运行机器人,并将其连接到你在 Reddit 应用页面创建的“script”类型应用。
使用它需要 Reddit API 密钥吗?需要。你必须在 Reddit 的应用页面注册一个“script”类型的应用,才能获得 API 凭证;需要 Python 3.10,Playwright 会在安装过程中自动安装。
它会自动把做好的视频上传到 TikTok 或 YouTube 吗?不会。机器人只会在你的电脑上生成视频文件,你仍需手动上传。这是有意设计的,以避免违反平台的社区准则。
它在 Windows、macOS 和 Linux 上都能用吗?可以。README 分别提供了 Windows 和 macOS/Linux 的安装命令,另外还有一个实验性的一键安装脚本,适用于基于 Debian、Arch、Fedora 和 CentOS 的系统。
我可以自己选择背景素材和音乐吗?可以。你可以选择背景素材(默认是 Minecraft 跑酷画面),也可以为每个视频选择背景音乐。
我能指定某个特定的 subreddit 或帖子,而不是随机选取吗?可以。你可以设置机器人只从特定的 subreddit 抓取内容,甚至可以指定某个具体帖子,而不让它随机选取。
它会过滤掉 NSFW 的 Reddit 帖子吗?会。内置了 NSFW 帖子过滤功能,被标记的内容会被自动跳过。
我可以更换旁白的声音吗?可以。机器人允许你为旁白选择不同的文字转语音声音。
Creator
elebumm
Size
65.2 MB
Stars
12.5K
Age
4y
Commits · 90 Days