WARNING: This is an archive. If you want to see the code currently powering books.rixx.de, please head over here.
This used to be the source code for https://books.rixx.de, where I track the books I've read, and that I want to read. This repo contained both the scripts that build the site, and the source data used by the scripts.
Each book is a text file, with a bit of metadata at the top, and Markdown text in the body. When I run the build script, it reads all these files, and turns them into a set of HTML files. I upload a copy of those HTML files to my web server, where they're served by nginx.
The data entry is eased by a data entry script that allows me to add books to any of the three piles, and can also pull (book) data from Goodreads or push data (my reading state) to Goodreads. But this repo and its contents are the primary data source.
In a virtualenv, run pip install -e .. Then you can run:
booksto get to a menu that allows you to add/edit books, or bulk-edit tags.books authto get and save your Goodreads credentialsbooks socialto post to social media. My nick and name are currently hardcoded.books buildto build the site, creates the_htmldirectory. Add--db=path.dbto export the data to a sqlite database aswell.books loadto bulk-import book data from a database in the format created by goodreads-to-sqlite. It's very specific to my stuff and you probably want to touch it up before using it.books dbto export all books/reviews to a sqlite database. Pass--dbto specify a path.
Thanks go to Lexie who inspired me with books.alexwlchan.net (source) and allowed me to nick the data input scripts.