palfrey / tailgate

Book Calendar data based off of Goodreads

Home Page:https://tevps.net/blog/2017/07/25/tailgate-calendar-data-for-books/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is broken now, because Goodreads suck. If Storygraph eventually has an API, this might be fixable.

Tailgate

CI

Generates a calendar of all the books for your followed authors on Goodreads. This provides you with information on when they're releasing new books.

Local install

  1. Install NodeJS and Python
  2. Copy config.yml.example to config.yml
  3. Get a Goodreads Developer Key and add the key/secret to config.yml
  4. yarn install
  5. pip install -r requirements.txt
  6. FLASK_DEBUG=true FLASK_APP=app.py flask run -p 8000
  7. Goto http://localhost:8000/

Heroku install

  1. Follow the standard Heroku setup for a Python app but use https://github.com/palfrey/tailgate.git instead of their example app
  2. Go into the app settings and do the following
    • Make sure both heroku/python and heroku/nodejs are in the Buildpacks list
    • Set FLASK_ENCRYPTION_KEY to something random
    • Set KEY and SECRET to your Goodreads key/secret
  3. Add "Heroku Postgres" to the addons for this app. "Hobby Dev" level is good enough.
  4. Add "Heroku Scheduler" to the addons for this app, and add python app.py to run every so often.
  5. Click "Open app" and make sure the app comes up ok, as the first request does the initial database migrations.

About

Book Calendar data based off of Goodreads

https://tevps.net/blog/2017/07/25/tailgate-calendar-data-for-books/

License:GNU Affero General Public License v3.0


Languages

Language:Python 79.6%Language:HTML 13.8%Language:JavaScript 4.1%Language:Mako 2.2%Language:Procfile 0.4%