For more details on the actions, check the official calibre documents: https://manual.calibre-ebook.com/generated/en/calibredb.html
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.
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.
- Live filter searches the database.
- 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
.
Use helm to list all ebooks
M-x calibredb-find-helm
Use counsel to list all ebooks
M-x calibredb-find-counsel
Generate an org buffer which contains all files’ cover images, titles and the file links.
M-x calibredb-list
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.
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
Switch a library temporary by selecting a path.
M-x calibredb-switch-library
This action will get you to the book details buffer called *calibredb-entry*
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 ?
M-x calibredb-set-metadata-dispatch
Or fire with keybinding s
M-x calibredb-catalog-bib-dispatch
Or fire with keybinding b
M-x calibredb-export-dispatch
Or fire with keybinding e
To add a file into calibre, call
M-x calibredb-add
To add a directory into calibre, call
M-x calibredb-add-dir
To remove an item, call
M-x calibredb-remove
To remove the marked items, call
M-x calibredb-remove-marked-items
To set metadata,
M-x calibredb-set-metadata-dispatch
To export the ebook,
M-x calibredb-export-dispatch
To yank the ebook as org links,
M-x calibredb-yank-dispatch
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
Search in ebooks.