reddit-2B allows you to automatically create a video from any Reddit post. The image creation, Text to Speech generation and video rendering happens right on your local device with minimal reliance on external dependencies/services except for the Reddit API.
docker run -p 2000:2000 -p 3000:3000 steve0929/reddit-2b
Go to http://localhost:3000 in your browser.
You need to provide your Reddit credentials (username and password) along with a Reddit app client id
and client secret
.
- Login to your Reddit account.
- Open the link: https://www.reddit.com/prefs/apps and create a new app
- Select script and fill: app name (any value you like) and redirect uri (you can use http://127.0.0.1):
- Click on create app and copy your
client id
andclient secret
git clone https://github.com/Steve0929/reddit-2B
cd reddit-2B
docker build -t reddit-2b .
docker run -p 2000:2000 -p 3000:3000 reddit-2b
Fetch reddit post infoHnadle image creationImplement local TTSCreate rendering FFMPEG pipelineCreate serverCreate UIDockerize appHandle background video duration const- Handle background music volume
- Sort created videos by timestamp
- Allow users to upload custom video assets
- Allow user to specify video dimensions
- Allow users to choose which comments/reply to include