To put it simply, KGBTR Bot is a reddit bot developed to meet the needs(moderation or fun) of r/KGBTR subreddit.
Sometimes you will come across a very good video. You want to download that video. At that moment, the save module of KGBTRBot comes into play. You can run the save module simply by typing u/KGBTRBot save.
- Python >= 3.6
- Python 3 knowledge 😀
- FFMPEG installation
-
Clone this repo into local project directory.
-
pip install -r requirements.txt -
Install
ffmpeg. If you are using the Debian based linux distribution, you can use thesudo apt install ffmpegcommand -
On Unix-based systems, you must doing
.env.examplerename as.envviamv .env.example .env. If you are using Windows-based system, you can use Powershell'sRename-Item .env.example .env. You need to do this terminal command to the project root folder. -
Fill the inside of the
.envfile with the environment variables. Like this:
FFMPEG_DIR=/usr/bin/ffmpeg- Run
python src/main.pycommand
docker-compose up. It's that easy withdocker-compose😄docker-composeservices down below:- main
We love the open source. We appreciate to any kind of contribution. Let's open a PR (Pull Request acronym) 🎊
This project under the MIT license.
