Skip to content

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.

Notifications You must be signed in to change notification settings

Steve0929/reddit-2B

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reddit-2B

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.

Usage with Docker 🐋

docker run -p 2000:2000 -p 3000:3000 steve0929/reddit-2b

Go to http://localhost:3000 in your browser.

Using the app 💻

Setup ⚙️

You need to provide your Reddit credentials (username and password) along with a Reddit app client id and client secret.

How to get client id and secret

  1. Login to your Reddit account.
  2. Open the link: https://www.reddit.com/prefs/apps and create a new app
  3. Select script and fill: app name (any value you like) and redirect uri (you can use http://127.0.0.1):
  4. Click on create app and copy your client id and client secret

image

Build/run Docker image from repo

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

🚧 TODO

  • Fetch reddit post info
  • Hnadle image creation
  • Implement local TTS
  • Create rendering FFMPEG pipeline
  • Create server
  • Create UI
  • Dockerize app
  • Handle 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

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published