Skip to content

Latest commit

 

History

History
187 lines (149 loc) · 4.59 KB

FEATURES.org

File metadata and controls

187 lines (149 loc) · 4.59 KB

Features

For more details on the actions, check the official calibre documents: https://manual.calibre-ebook.com/generated/en/calibredb.html

calibredb

Enter calibre emacs client, a new buffer called *calibredb-search* with calibredb-search-mode

M-x calibredb

RET open the entry

To toggle between detail view or compact view.

M-x calibredb-toggle-view

TODO:

  • Multiple dashboard with different libraries.
  • Sorting.

calibredb-search-live-filter

In *calibredb-search*, perform live filtering:

M-x calibredb-search-live-filter

The following columns will be searched:

  • id
  • text (comment)
  • tag
  • title
  • format
  • author_sort
  • ids

If the keyword occurs in any of the columns above, the matched ebook record will be shown.

  1. Live filter searches the database.
  2. Keywords are separated by “Spaces” (AND operation, mainly used to narrow down the results, the more spaces you insert, the fewer results.)

For example, to search Ebooks may contain a tag - work, and the format maybe pdf. You can insert work pdf (Notice the single backslash) in mini buffer.

If you set the filter keywords in calibredb-virtual-library-alist, you should (Notice the double backslashes):

(setq calibredb-virtual-library-alist '(("1. Development - work" . "work pdf")
                                        ("2. Read it later" . "Readit epub")
                                        ("3. Development - rust" . "rust")))

Tip: *calibredb-search*, calibredb-find-counsel, and calibredb-find-helm are sharing the same results. Therefore, after the filtering in *calibredb-search*, you can do second-level filter with calibredb-find-counsel, and calibredb-find-helm.

calibredb-find-helm

Use helm to list all ebooks

M-x calibredb-find-helm

calibredb-find-counsel

Use counsel to list all ebooks

M-x calibredb-find-counsel

calibredb-list

Generate an org buffer which contains all files’ cover images, titles and the file links.

M-x calibredb-list

calibredb-clone

Create a clone of the current library. This creates a new, empty library that has all the same custom columns, Virtual libraries and other settings as the current library.

M-x calibredb-clone

Tips: Libraries can be used for any purposes, one for books, one for lecture notes, one for research references etc.

calibredb-library-list

Switch library from library list defined in calibredb-library-alist. If under *calibredb-search* buffer, it will auto refresh after selecting the new item.

M-x calibredb-library-list

calibredb-switch-library

Switch a library temporary by selecting a path.

M-x calibredb-switch-library

Show details

This action will get you to the book details buffer called *calibredb-entry*

Dispatch

calibredb-dispatch

Under *calilbredb-search* or *calilbredb-entry* buffer, you can make actions on selected item with calibredb-dispatch, just like magit-dispatch.

M-x calibredb-dispatch

Or fire with keybinding ?

calibredb-set-metadata-dispatch

M-x calibredb-set-metadata-dispatch

Or fire with keybinding s

calibredb-catalog-bib-dispatch

M-x calibredb-catalog-bib-dispatch

Or fire with keybinding b

calibredb-export-dispatch

M-x calibredb-export-dispatch

Or fire with keybinding e

add

To add a file into calibre, call

M-x calibredb-add

To add a directory into calibre, call

M-x calibredb-add-dir

remove

To remove an item, call

M-x calibredb-remove

To remove the marked items, call

M-x calibredb-remove-marked-items

set_metadata

To set metadata,

M-x calibredb-set-metadata-dispatch

Export

To export the ebook,

M-x calibredb-export-dispatch

Yank

To yank the ebook as org links,

M-x calibredb-yank-dispatch

Catalog

BibTex

Export the ebook catalogs to a BibTex file.

M-x calibredb-catalog-bib-dispatch

PS: Document can be found in https://github.com/kovidgoyal/calibre/blob/master/src/calibre/library/catalogs/bibtex.py

calibredb-rga

Search in ebooks.