Skip to content

KGBTR/Reddit-Repost-Bot

Repository files navigation

KGBTRBot HORT module

KGBTRBot Logo

What is? 🤔

What is KGBTRBot?

To put it simply, KGBTR Bot is a reddit bot developed to meet the needs(moderation or fun) of r/KGBTR subreddit.

What is HORT?

Hort is an expression specific to KGBTR community. This commune uses this term for repost submission or post.

Requirements ⚓

Installation 🦆

You can quickly start with Deploy to Heroku button right now

Deploy on Heroku

If you want running locally you can follow this steps

  1. Clone this repo into local project directory.

  2. pip install -r requirements.txt

  3. On Unix-based systems, you must doing .env.example rename as .env via mv .env.example .env. If you are using Windows-based system, you can use Powershell's Rename-Item .env.example .env. You need to do this terminal command to the project root folder.

  4. Fill the inside of the .env file with the environment variables. Like this:

  DATABASE_URL=postgresql://localhost:5433/mydb
  1. Run both command python src/main.py and python src/hoarder.py

If you want running locally with docker-compose you follow this steps 🐳

  1. docker-compose up. It's that easy with docker-compose 😄
  2. docker-compose services down below:
    • hoarder
    • main

Contributing 🎉

We love the open source. We appreciate to any kind of contribution. Let's open a PR (Pull Request acronym) 🎊

Licence 📋

This project under the MIT license.

Releases

No releases published

Packages

No packages published