Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rlinv1/reddit-shorts-maker

Reddit Shorts Maker
https://github.com/rlinv1/reddit-shorts-maker

moviepy openai-whisper playwright pyt2s python

Last synced: 4 months ago
JSON representation

Reddit Shorts Maker

Awesome Lists containing this project

README

        

# How To Use

1. First you have to create a reddit app (https://www.reddit.com/prefs/apps) and
put the client_secret and client_id in an .env file.

2. Also in that env file include your reddit username and password

3. Make sure that you have a folder called bg_video and provide it with some random bg videos (at least > 60s)

4. Next run reddit.py to generate the posts. It currently
returns the top 10 posts in AMITA.

5. Then run main.py.
1. You should have 10 txt files in the posts directory and you can either make videos for all of them or pick a specific file name. Also choose a gender for the tts.
2. The end result will be a directory finished_videos which stores clips less than 60s of reddit posts with each clip in their respective post number directory.

# Installation

1. pip install -r requirements.txt
2. Install ImageMagisk

# Example Video

Short 10 second video to show as a test. The actual videos will be around 50 seconds long

https://github.com/user-attachments/assets/c7762e30-31c8-4c51-8fb1-06af352915a9