Skip to content

sillygwailo/goodreads-random

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goodreads-random

Pick a random book from one of your Goodreads shelves. Useful for deciding which book to read next, or which book in your unread pile to pick up again.

As of December 8th, 2020, Goodreads no longer issues new API keys. See also the forum discussion about the Goodreads API deprecation.

Installation

  1. Clone the repository.
  2. npm install
  3. Get your Goodreads developer key from https://www.goodreads.com/api/keys
  4. export GOODREADS_KEY=YourGoodreadsKeyHere
  5. export GOODREADS_SECRET=YourGoodreadsSecretHere
  6. export CALLBACK_URL=http://localhost:5000/auth/goodreads/callback # replace localhost:5000 with the hostname (and, optionally, port) of where you're hosting the app
  7. node app.js

Or, just click the button below to deploy to Heroku.

Deploy

The CALLBACK_URL convig var is optional at build in Heroku. Create a config var in the app's settings after it the build completes and set it to https://app-name-12345.herokuapp.com/login (replace app-name-12345 with the name you or Heroku gave to the app).

Similar Ideas

About

Pick a random book from one of your Goodreads shelves.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published