All Projects → whacked → calibre-query.el

whacked / calibre-query.el

Licence: GPL-3.0 License
query calibre from emacs, useful for referencing work

Programming Languages

emacs lisp
2029 projects
Nix
1067 projects

Preflight

This package relies on esqlite to execute sqlite3 queries

This package assumes Calibre 4+ and that your library file location is defined in global.py.json

If your Calibre library is not in the default location, calibre--find-library-filepath will try to find it; alternatively, set calibre-root-dir explicitly:

(setq calibre-root-dir (expand-file-name "~/Calibre Library"))

if somehow your calibre library is not metadata.db, override the full db path directly:

(setq calibre-db (concat calibre-root-dir "/metadata.db"))

Installation

simpler installation methods to be added later

el-get

add this to your `el-get-sources`
(:name calibre-query
       :type git
       :url "git://github.com/whacked/calibre-query.el.git"
       :features "calibre-query")

Usage

M-x calibre-list

Prompts for a search string and displays all records which match on title or author.

M-x calibre-find

Prompts for a search string. Matches the first record which would have been matched by calibre-list. Offers several options for opening the work.

org-mode interaction

Provides org-calibre-open, which registers a handler for org links like [[calibre:Quick Start Guide]]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].