Giter Site home page Giter Site logo

alfredworkflow-calibre-search's Introduction

Calibre Search

Search books in calibre.

Download

Sorry, no more updates as I no longer use a Mac computer and the installation of macOS virtual machine failed.

How to use

  • cali + keywords to search books by Title, Authors and Tags.
  • calin + keywords to search books by Title.
  • calit + keywords to search books by Tags.
  • calia + keywords to search books by Authors.

screenshot

The workflow can list multiple formats of the same book in Calibre.

In the search results:

  • The subtext of each result consists of 📙file format, ⭐️rating, and ✍️ authors.
  • The subtext will be Tags of the book when you press ⌘Command.
  • The subtext will be ISBN or webpage ID for the book on Amazon, Google Book .etc when you press ⌥Option.

Besides,

  • Press Enter to open the book file with Ebook-viewer of Calibre app, except for PDF files.
  • Press ⇧Shift + Enter to open the book file with default app.
  • Press ⌘Command + Enter to open the folder of the book file.
  • Press ⌥Option + Enter to open the webpage for the book on Amazon, Google Book .etc.
  • Press ⌘Command + ⌥Option + Enter to reveal the book in Calibre.

Configuration

You can set which website to open by setting the value of variable BookWebsite after clicking the icon [x] in the top right of the workflow.

Candidate for BookWebsite: douban, amazon_cn, amazon, google, isbn.

If BookWebsite has no value or a book has no webpage ID of the website of BookWebsite value, this workflow will open a webpage in a certain order of priority after pressing ⌥Option + Enter.

Order: Douban、Amzon CN、Amazon、Google Book、ISBN


中文说明

功能: 搜索 Calibre 中的书籍。下载

用法

  • 输入 cali + 关键词 进行搜索,列出标题作者、**标签(Tags)**符合的书籍。
  • 输入 calin + 关键词 进行搜索,列出标题符合的书籍。
  • 输入 calit + 关键词 进行搜索,列出**标签(Tags)**符合的书籍。
  • 输入 calia + 关键词 进行搜索,列出作者符合的书籍。

screenshot

如果 Calibre 中某本书含有多个格式的多个文件,该 Workflow 支持将其一一列出,如上图中的最后两本。

如上图所示,搜索结果中:

  • 副文本的组成为: 📙书籍文件格式, ⭐️评分 和 ✍️ 作者。
  • 按下 ⌘Command 键,则显示该书籍关联的标签(Tags)信息。
  • 按下 ⌥Option 键,则显示该书籍关联的 ISBN 编号或豆瓣、亚马逊、谷歌图书等网站上的书籍页面编号。

此外,

  • 按下 回车 键,使用 Calibre 内置的 Ebook-viewer 应用打开该书籍文件,除了 PDF 格式
  • 按下 ⇧Shift + 回车 键,直接用默认应用打开该书籍文件。
  • 按下 ⌘Command + 回车键,打开该书籍文件所在文件夹。
  • 按下 ⌥Option + 回车键,打开该书籍在豆瓣、亚马逊、谷歌图书等网站上的页面。
  • 按下 ⌘Command + ⌥Option + 回车,打开 Calibre 并显示该书籍。

环境变量

打开 Alfred 中该 Workflow 页面的右上角[x]图标,填写变量BookWebsite的值,可以指定优先打开的书籍网站。

BookWebsite 的可选值:douban, amazon_cn, amazon, google, isbn.

此外,Calibre 中的一本书若有豆瓣、亚马逊、谷歌图书等网站的页面编号以及 ISBN 编号,则在未填写BookWebsite或该书籍没有BookWebsite指定的网站编号时,会按照一定的优先级顺序打开对应网站书籍页面。

目前的优先级排序:豆瓣、亚马逊**、亚马逊、谷歌图书、ISBN

Todo

使用 cali + 关键词 搜索时,标题符合的书籍排在标签符合的书籍前面,可能更加方便吧。但是,没想到怎么实现…… 🤣

alfredworkflow-calibre-search's People

Contributors

eth3lbert avatar mpco avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

alfredworkflow-calibre-search's Issues

Stopped working after recent Alfred update

Hello developer, this great workflow stopped working after recent Alfred update, not sure about the exact sub-version, though. Could you please fix it? Thank you very much.

Reveal in Calibre command and search by tags does nothing

Hi mpco

I've installed this workflow recently and loving the ability to search through my calibre library in alfred.

Problem though is it seems that both the Reveal in calibre command and searching by tags doesn't work. Basically nothing happens whenever I try to run either command

Please help

Thanks

Using E-Book Viewer to open the books

It would be great if there is an option to open the e-book with the viewer app. The app is located at:

/Applications/calibre.app/Contents/ebook-viewer.app

It seems to me replacing the "Open File" action with a command open -a /Applications/calibre.app/Contents/ebook-viewer.app {query} could do the trick.

Thank you!

失效了吗

非常棒的作品,但是输入内容没有任何反应,是否失效?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.