bfabiszewski / qlmobi Goto Github PK
View Code? Open in Web Editor NEWQuick Look plugin for Kindle ebook formats
Quick Look plugin for Kindle ebook formats
Thank you very much for creating such an excellent library
is It support using this library on iOS?
If possible, could you provide a simple demo?
Thank you!
I just tried installing this to my home directory ~/Library/QuickLook and did $ killall Finder
but not seeing anything when I quicklook a .mobi from O'Reilly books.
Using a MBPro M1 running Sonoma 14.2.1 _ ran the terminal command you suggested and I got this:
Last login: Fri Feb 2 20:33:18 on console
steveparry@Julay1 ~ % qlmanage -d 4 -p -o /tmp /path/to/your/test.mobi
qlmanage: illegal option --
Usage: qlmanage [OPTIONS] path...
-h Display this help
-r Force reloading Generators list
-r cache Reset thumbnail disk cache
-m [name ...] Display statistics about quicklookd. Stats names:
* plugins Show the generators list
* server Show quicklookd life information
* memory Show quicklookd memory consumption
* burst Show statistics about the last burst
* threads Show concurrent accesses stats
* other Show other information about quicklookd
-p Compute previews of the documents
-t Compute thumbnails of the documents
-x Use quicklookd (remote computation)
-i Compute thumbnail in icon mode
-s size Size for the thumbnail
-f factor Scale factor for the thumbnail
-F factor Scale factor for the thumbnail, draw downscaled and compare to 1x
-z Display generation performance info (don't display thumbnails)
-o dir Output result in dir (don't display thumbnails or previews)
-c contentType Force the content type used for the documents
-g generator Force the generator to use
steveparry@Julay1 ~ %
It would be convenient to be able to automatically install QLMobi via Homebrew rather than something like this:
cd "Downloads"
curl -fsSL -o QLMobi.zip $(curl https://api.github.com/repos/bfabiszewski/QLMobi/releases | grep browser_download_url | head -n 1 | cut -d '"' -f 4)
unzip QLMobi.zip
cp -R QLMobi.qlgenerator ~/Library/QuickLook
Another QL Plugin, QLMarkdown (https://github.com/toland/qlmarkdown) is, so it's technically possible.
Doesn't work on macOS Mojave 10.14.6. The QuickLook plugin listen for net.fabiszewski.mobi
, but should listen for public.mobi
. Maybe similar issue with other supported files.
Does work for azw3
files though.
I've installed the plugin on Big Sur using brew install --cask qlmobi
, tried reloading the db with qlmanage -r
but it didn't help.
Here's the output of qlmanage -d 4 -p -o /tmp /path/to/your/test.mobi
:
~ % qlmanage -d 4 -p -o /tmp /path/to/your/test.mobi
qlmanage: illegal option --
Usage: qlmanage [OPTIONS] path...
-h Display this help
-r Force reloading Generators list
-r cache Reset thumbnail disk cache
-m [name ...] Display statistics about quicklookd. Stats names:
* plugins Show the generators list
* server Show quicklookd life information
* memory Show quicklookd memory consumption
* burst Show statistics about the last burst
* threads Show concurrent accesses stats
* other Show other information about quicklookd
-p Compute previews of the documents
-t Compute thumbnails of the documents
-x Use quicklookd (remote computation)
-i Compute thumbnail in icon mode
-s size Size for the thumbnail
-f factor Scale factor for the thumbnail
-F factor Scale factor for the thumbnail, draw downscaled and compare to 1x
-z Display generation performance info (don't display thumbnails)
-o dir Output result in dir (don't display thumbnails or previews)
-c contentType Force the content type used for the documents
-g generator Force the generator to use
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.