Skip to content

Mcamilo/AskReddit-video-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AskReddit Video Bot

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

Requirements

Install

git clone https://github.com/filipedeschamps/video-maker.git
cd video-maker
npm install

Before you begin

Before you begin you'll need to setup the following services.

Reddit API

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:

env

Once your app is created, save it's credentials as env variables as such:

env

Google Cloud Platform API

This project also uses the @google-cloud/text-to-speech.

Setup GCP text-to-speech:

Run it

Just run the following command inside the cloned repo:

npm start

Run

The output for every step will be on the "Result" folder.

Releases

No releases published

Packages

No packages published