# Books Visualize a book library. ## Book library Organize folders as you wish, only `metadata.json` files matter: ```json { "title": "Title of the Book", "subtitle": "Optional subtitle", "authors": [ "Author 1", "Author 2" ], "authorsSort": "Author sorting", "genres": [ "Foo", "Bar", "Baz" ], "year": "1234", "read": "Read" } ``` `read` is one of: `Read`, `Unread`, `Reading`, `Stopped`. Each `metadata.json` file correspond to a book, and there **must** be a cover named `cover.ext` in the same directory. Any extension works. ## Show library View the book library by running: ./bin/view browser-cmd path-to-books ## Dev server Enter nix shell: nix develop Then run the dev-server: ./bin/dev-server path-to-books