GithubHelp home page GithubHelp logo

cppn-bookshelf's Introduction

CPPN Bookshelf Generator

Usage

  1. Clone and install
git clone https://github.com/silky/cppn-bookshelf.git
cd cppn-bookshelf
# Make some kind of environment ...
pip install -r requirements.txt
  1. Run grab-books.py with your (or someone elses!) goodreads id. You can find that by clicking My Books and copying the number out of the url. Here's what mine looks like: https://www.goodreads.com/review/list/30456689, so my ID is 30456689.
./grab-books.py --goodreads_id ...

By default it looks at your read shelf, you can select a different shelf with --shelf to-read, for example.

You will probably want to change the --count parameter to be the number of books you have on the shelf. By default, it only does this for 10 books.

  1. Run compute-cppns
./compute-cppns.py

(Note: This step might take a while, depending on how many books you have, as it's the part that computes the cool-looking spine image, from the cover image. It takes about 30 seconds per book, on my laptop.)

  1. Run make-page
./make-page.py
  1. Open the index.html in the output/ folder!

You can change the look and feel of the html by investingating make-page.py.

Enjoy!

cppn-bookshelf's People

Contributors

silky avatar

Watchers

 avatar  avatar

cppn-bookshelf's Issues

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.