🗃️ This repository is archived: Reddit changed its API, breaking this code. I will create a similar program for Discord soon.
This utility fetches videos from a preconfigured subreddit, and creates a compilation out of them. It utilizes a queue system, which helps prevent lag on your device.
To start using this utility, run:
npm install
create a tmp
folder
Make sure your device has FFmpeg installed on it
Not sure how to install FFmpeg? [Windows] [Linux]
Running the code:
node .
#or
node index.js
{
"dirs": {
"output": "",
"tmp": "./tmp/"
},
"input": {
"subreddit": "escapefromtarkov",
"sort": "top",
"videos": 6,
"ignoreFlairs": ["Discussion"],
"query": "t=week"
},
"output": {
"resolution": "1920x?",
"aspect": "16:9",
"showAuthors": true,
"fileName": "output"
},
"settings": {
"cleanCache": false,
"silent": false
}
}