Giter Site home page Giter Site logo

epub-plugins's Introduction

EPUB Plugins

The EPUB Plugins project contains the OS X Spotlight and Quick Look plugins for EPUBs. By installing these plugins, you can search and preview EPUBs.

System requirements

macOS 12+

Download and install plugins

To download plugins, go to Releases page and click download links in “Downloads” section.

To install plugins, unzip downloaded files and copy them to the following path:

EPUB.mdimporter (Spotlight plugin)

  • ~/Library/Spotlight (only for current user) or
  • /Library/Spotlight (for all users)

EPUB.qlgenerator (Quick Look plugin)

  • ~/Library/QuickLook (only for current user) or
  • /Library/QuickLook (for all users)

OS X recognizes these plugins after copying them to appropriate path. However, if the system doesn't recognize the plugins, run commands as follows:

$ mdimport -r /path/to/EPUB.mdimorter
$ qlmanage -r

or, simply reboot.

Spotlight importer

The EPUB metadata are assigned to OS X metadata as follows:

EPUB metadata OS X metadata
title kMDItemTitle
creator kMDItemAuthors
subject kMDItemKeywords
description kMDItemDescription, kMDItemHeadline
publisher kMDItemPublishers, kMDItemOrganizations
contributor kMDItemContributors
identifier kMDItemIdentifier
language kMDItemLanguages
coverage kMDItemCoverage
rights kMDItemCopyright, kMDItemRights
date kMDItemContentCreationDate
last modified date kMDItemContentModificationDate
Body text kMDItemTextContent
Number of content documents in EPUB kMDItemNumberOfPages
EPUB specification version com_genjiapp_Murasaki_mdimporter_EPUB_EPUBVersion

Quick Look generator

Thumbnail Preview
Cover image of EPUB Loading limit: about 50MB

epub-plugins's People

Contributors

genjiapp avatar

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.