A Node.js project to automate the making of reddit thread videos.
This project uses the reddit API to get the top posts from the r/AskReddit thread, Google Cloud Platform's text-to-voice to generate voiceovers and ffmpeg(ubuntu) to edit the videos.
The project is capable of making the whole video just from the user selecting a thread on the menu.
Some videos made by this project can be found on This dummy channel
You can compare them with the videos found on This +400k subs channel
- Git (https://git-scm.com/)
- Node 12.21.0 (https://nodejs.org)
git clone https://github.com/filipedeschamps/video-maker.git
cd video-maker
npm install
Before you begin you'll need to setup the following services.
This project uses the Snoowrap package for fetching reddit's threads data.
Reddit uses OAuth credentials to handle data fetching.
Create a Reddit App in order to access the Reddit API.
Select the script option:
Once your app is created, save it's credentials as env variables as such:
This project also uses the @google-cloud/text-to-speech.
Setup GCP text-to-speech:
- Select or create a Cloud Platform project.
- Enable billing for your project.
- Enable the Google Cloud Text-to-Speech API.
- Set up authentication with a service account so you can access the API from your local workstation.
Just run the following command inside the cloned repo:
npm start
The output for every step will be on the "Result" folder.