Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/rlinv1/reddit-shorts-maker
- Owner: RLinV1
- Created: 2024-08-01T19:41:32.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-02T17:00:04.000Z (6 months ago)
- Last Synced: 2024-09-25T19:03:55.198Z (4 months ago)
- Topics: moviepy, openai-whisper, playwright, pyt2s, python
- Language: Python
- Homepage:
- Size: 34.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
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