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. Затем запустите бота и подключите его к приложению типа 'script', которое вы создаёте на странице приложений Reddit.
Мне нужен ключ API Reddit, чтобы им пользоваться?Да, нужно зарегистрировать приложение типа 'script' на странице приложений Reddit, чтобы получить учётные данные API. Требуется Python 3.10, а Playwright устанавливается автоматически во время настройки.
Бот сам загружает готовое видео в TikTok или YouTube?Нет, бот только создаёт видеофайл на вашем компьютере, загружать его придётся вручную. Так сделано намеренно, чтобы не нарушать правила сообществ платформ.
Работает ли он на Windows, а также на macOS и Linux?Да, в README есть отдельные команды установки для Windows и для macOS/Linux. Также есть экспериментальный скрипт установки одной командой для систем на базе Debian, Arch, Fedora и CentOS.
Могу ли я сам выбрать фоновое видео и музыку?Да, можно выбрать фон (по умолчанию это видео с паркуром в Minecraft) и фоновую музыку для каждого видео.
Могу ли я указать конкретный сабреддит или тред вместо случайного?Да, бота можно настроить так, чтобы он брал посты из конкретного сабреддита, и даже выбрать конкретный тред вместо случайного.
Бот фильтрует NSFW-посты на Reddit?Да, есть встроенный фильтр NSFW-постов, поэтому помеченный контент пропускается автоматически.
Могу ли я поменять голос диктора?Да, бот позволяет выбрать один из разных голосов синтеза речи для озвучки.
Creator
elebumm
Size
65.2 MB
Stars
12.5K
Age
4y
Commits · 90 Days