No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.dockerignore
.gitignore
Dockerfile
LICENSE
README.md
common_settings.py
docker_settings.py
envlist-sample
goodreadsapi.py
main.py
requirements.txt
sample_settings.py
supervisor.conf
welcome_messages.json

README.md

Goodreads Bot for Reddit!

Requirements:

System Requirements:

  • Python 3.6+

  • Requires Pandoc:

    • OS X: brew install pandoc
    • Ubuntu/Debian: sudo apt-get install pandoc

Python Requirements:

`pip install -r requirements.txt`

Docker

  • Rename envlist-sample to envlist
  • Build docker image: docker build -t reddit-goodreads .
  • Run: docker run --mount source=reddit-goodreads-volume,target=/home/ubuntu/db --env-file ./envlist --rm -it reddit-goodreads:latest

Todo:

  • Add Peewee Support
  • Log all successful comments
  • Use Oauth
  • Handle HTTP Exceptions (requests) and log it (not needed)
  • Log all fails, exceptions
  • Custom reply to those who reply to bot
  • Remove HTTP tags in the response. Better, change
    to \n and rest all to markdown conversion

LICENSE

The mighty MIT License. Check LICENSE file.