Skip to content

whacked/calibre-query.el

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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]]

About

query calibre from emacs, useful for referencing work

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •