Coder Social home page Coder Social logo

gnclmorais / bookshelf Goto Github PK

View Code? Open in Web Editor NEW
46.0 3.0 6.0 227 KB

📚 What I’ve read so far, powered by Goodreads

Home Page: https://bookshelf.gnclmorais.com

License: MIT License

JavaScript 40.21% CSS 21.01% Pug 38.78%
nodejs pug goodreads-api goodreads

bookshelf's Introduction

bookshelf

What I’ve read so far.

nothing
Just kidding.

About

This project runs once a week, fetches my Goodreads profile and generates a page with its content. Inspired by Frank Chimero, but since I’m not as good of a designer as he is, I put my effort into automating it.

Goals

I’ve looked into a few tools to put this together, but I soon realised that not much was needed. No fancy technologies or front-end frameworks. There was no need to make this anymore complicated than a static page. The only new things I’ve looked at were:

Run this project

npm install
npm start

Before running the application, make sure you have these variables set (you can use a .env file for it, since I’m using dotenv):

  • GOODREADS_KEY
    As usual for APIs, you’ll need a Goodreads key
  • GOODREADS_SHELF
    A string of the shelf you walk to look at (mine’s 'read')
  • GOODREADS_USER
    Whenever you’re on your Goodreads profile, your ID will be the numeric part at https://www.goodreads.com/user/show/12345678-something

Check package.json for all the available commands, under the "scripts" key.

Future plans

  • Scope Google Fonts to specific chars (source
  • Change the GitHub Action from running on push to running every Monday
  • Put this GitHub Page under https://bookshelf.gnclmorais.com
  • Title filter to allow display of shorter, more custom titles

Resources

bookshelf's People

Contributors

couto avatar dependabot[bot] avatar gnclmorais avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bookshelf's Issues

Using a shelf other than 'read' gives weird results

I created a new favorites shelf to try this out, so I could just put a smaller collection of books. Except the output ended up including books in my to-read-list, and almost everything in my read list still.

Will debug a bit more.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.