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.
- Clone the repository.
npm install
- Get your Goodreads developer key from https://www.goodreads.com/api/keys
export GOODREADS_KEY=YourGoodreadsKeyHere
export GOODREADS_SECRET=YourGoodreadsSecretHere
export CALLBACK_URL=http://localhost:5000/auth/goodreads/callback
# replace localhost:5000 with the hostname (and, optionally, port) of where you're hosting the appnode app.js
Or, just click the button below to deploy to Heroku.
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).