GitHub - chenyanming/calibredb.el: Yet Another calibre client.
source link: https://github.com/chenyanming/calibredb.el
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.org
calibredb.el
Table of Contents
Description
Yet another calibre emacs client.
Inspired by calibre-mode, this package integrates calibre (using calibredb) into emacs.
- Manage ebooks, actually not only ebooks!
- Another bookmarks solution, by setting the tags and comments.
- Quick search, filter, make actions on items with ivy and helm.
- Ebook dashboard, with an org buffer.
Screenshots
Quick search, filter with helm and ivy
Another bookmarks solution
Add tags
Add comments
Dashboard
Installation
Then install this package:
Install calibredb.el
Choose one of the following installation methods based on your needs:
ues-package
(use-package calibredb :quelpa (calibredb :repo "chenyanming/calibredb.el" :fetcher github))
Doom Emacs
Add the following line to package.el
(package! calibredb :recipe (:host github :repo "chenyanming/calibredb.el"))
Run ./.emacs.d/bin/doom sync
Spacemacs or other emacs distributions
Put calibredb.el
to your load-path. Here is example of spacemacs
git clone [email protected]:chenyanming/calibredb.el.git ~/.emacs.d/private/calibredb.el
(add-to-list 'load-path (expand-file-name "~/.emacs.d/private/calibredb.el")) (require 'calibredb)
Configuration
Enable calibredb.el
(require 'calibredb) (setq sql-sqlite-program "/usr/bin/sqlite3") (setq calibredb-root-dir (expand-file-name "~/OneDrive/Doc/Calibre")) (setq calibredb-db-dir (concat calibredb-root-dir "/metadata.db")) (setq calibredb-program "/Applications/calibre.app/Contents/MacOS/calibredb")
M-x Features
calibredb-list
Generate an org buffer which contains all files’ cover image, title and the file link.
You can use it as your ebook dashboard.
add
To add a file into calibre, call
M-x calibredb-add
Helm/Counsel Actions
The following operations can only be trigger during helm buffer or counsel buffer.
First, you have to fire
M-x calibredb-find-helm or calibredb-find-counsel
I recommend to use calibredb-find-helm
, which has more supports.
Then,
for helm, C-i
to enter the action menus, tab
to preview the cover page (if any).
for ivy, C-o
to enter the action menus.
Show details
This action will get you to the book details buffer called *calibredb-entry*
with calibredb-show-mode
, you can make actions on it, just like magit-dispatch
,
M-x calibredb-dispatch
Or fire with keybinding C-c g
remove
Remove a item.
show_metadata
set_metadata
–filed tags
–filed comments
–list-fields
2020-05-10
Version 1.1:
calibredb-dispatch
2020-05-09
Version 1.0:
calibredb-find-helm
calibredb-find-counsel
calibredb-list
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK