bookends

ref: master

./README.md


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
bookends
========

```
Usage:
  bookends [flags]
  bookends [command]

Available Commands:
  build
  cache
  help        Help about any command

Flags:
      --book-log-filename string    (default "book-log.org")
      --cache-dir string            (default "cache")
      --covers-dir string           (default "covers")
  -h, --help                       help for bookends
      --output-filename string      (default "output.html")

Use "bookends [command] --help" for more information about a command.
```

Input format
------------

Emacs org-mode:

```org
#+title: Book Log

* 2021
** DONE Gentle and Lowly :theology:
CLOSED: [2021-07-04 Sun 16:02]
:PROPERTIES:
:AUTHOR: Dane C. Ortlund
:rating: 3
:isbn: 1433566133
:END:
```

Book covers
-----------

Bookends uses ISBN information for retrieving a book's cover.  It downloads it
to the cache directory.  If your book's cover isn't available in the Open
Library, you can supply a file yourself.  Place it in the covers directory, and
name it `<isbn>.jpg`.

Contributing
------------

Contributions are most welcome.  Email your patches to `honza@pokorny.ca`.  I
would also appreciate it if you emailed me a link to your own book instance.

License
-------

GPLv3