Pyreddit is a Reddit Bot that creates short videos about popular reddit posts in /r/AskReddit.
- fetch popular posts from /r/askreddit using the Reddit Api
- Create screenshot's of fetched posts using playwright
- Convert post text to audio file using Google's Text to Speech Package gtts
- Concatenate Post images with corresponding audio files
- Add random background music
- Add random background video
- Render video
- Repeat this process as often as specified
- git clone https://github.com/NickRTR/Pyreddit
- cd Pyreddit
- Populate the .env file with the secrets of your Reddit API instance
- cd scripts
- edit the
getContent(2)
parameter in main.py with the number of videos you want to create. - run
py .\main.py