Giter Site home page Giter Site logo

anotherkamila / knizky Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 180 KB

A catalog of the books available in the unofficial library at my university that I started.

Home Page: http://www.knizky.cf

License: The Unlicense

JavaScript 17.44% HTML 48.00% Python 4.21% CSS 30.35%

knizky's Introduction

Matfyzia Knižnička

Adding new books

  1. Add the metadata to _data/books.yml

    • come up with a unique short slug for each book

    • format:

      slug:
        title: The Book's Title
        author: Some Name
        url: the book's website (not required)
        owner: your name
        why: A sentence or two explaining why you want people to read this book.
    • if necessary, add name: email to _data/owners.yml

  2. (re)generate the QR codes and stick them on the books

    mkdir -p qrs && ./generate_qrcodes.py qrs  # requirements: pyyaml, pyqrcode, pypng
    for f in qrs/* ; do convert $f knizky-qrlogo.png -gravity center -composite $f.pdf ; done
     - OR -
    for f in qrs/* ; do convert $f $f.pdf ; done  # if you don't want the logo 
    pdfnup --a4paper --nup 9x6 --outfile qrs.pdf qrs/*.pdf  # or just the ones you want to print now
    lpr qrs.pdf
    #cut -d' ' qrs.pdf… ;)
  3. commit, push and bring the books to the library!

knizky's People

Contributors

anotherkamila avatar

Watchers

James Cloos avatar  avatar

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.