-
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
-
-
(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… ;)
-
commit, push and bring the books to the library!
anotherkamila / knizky Goto Github PK
View Code? Open in Web Editor NEWA catalog of the books available in the unofficial library at my university that I started.
Home Page: http://www.knizky.cf
License: The Unlicense