You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
alazyreader e6bb9f254e update git link 8 months ago
css fix scrollbar issue on windows 2 years ago
js add sorting and better icons on the headers for it 4 years ago
.gitignore create upload/append-to-sheet script 4 years ago
favicon.ico add book favicon 2 years ago
index.html update git link 8 months ago
index.js pre-sort by title to take advantange of stable sort; watch for null date 4 years ago
package.json more updates 4 years ago
readme.md more info on the google books API 4 years ago

readme.md

library

set publicSpreadsheetUrl in index.html to set a sheet

expects the following columns, but easily updated:

  • title
  • author
  • authorLast (used for sorting)
  • isbn-10 (not displayed)
  • isbn-13
  • format
  • genre
  • publisher
  • series
  • volume
  • year
  • coverurl
  • description
  • notes
  • signed (yes or blank)

adding books using the google books API

  1. update SHEET_ID and SHEET_NAME in index.js.
  2. follow the instructions at https://developers.google.com/sheets/api/quickstart/nodejs#step_1_turn_on_the_api_name, and save the resulting json file to .credentials/client_secret.json.
  3. run npm install.
  4. run npm start.

the google books API is somewhat spotty; searching for a title at https://books.google.com/ will sometimes pull up a book and provide the ISBN they know it by. It also doesn't have comprehensive coverage of various editions of titles, and doesn't return image URLs or format information.