QuickLook.Plugin.SumatraPDFReader
This plugin allows QuickLook to preview multi-format (EPUB, MOBI, CBZ, CBR, FB2, CHM, XPS, DjVu) from SumatraPDF.
Install / Use
/learn @emako/QuickLook.Plugin.SumatraPDFReaderREADME

QuickLook.Plugin.SumatraPDFReader
This plugin allows QuickLook to preview multi-format (EPUB, MOBI, CBZ, CBR, FB2, CHM, XPS, DjVu) from SumatraPDF.
SumatraPDF Reader is not a replacement of PDF Viewer for QuickLook.
Alternative PDF Viewer: QuickLook.Plugin.PdfViewer-Native
Supported extensions
The following file extensions are treated as SumatraPDF Reader supporting files.
- epub
- mobi
- cbz
- cbr
- fb2
- chm
- xps
- djvu
- pdf (optional, disabled by default)
Configuration
How to enable PDF Support?
By default, this plugin does not handle PDF files to avoid conflicts with the default QuickLook PDF viewer. If you prefer to use SumatraPDF for viewing PDF files, you can enable PDF support by adding the following setting to your QuickLook configuration file:
Configuration file location:
- Standard installation:
%APPDATA%\pooi.moe\QuickLook\QuickLook.Plugin.SumatraPDFReader.config - Portable installation:
<QuickLook Installation>\UserData\QuickLook.Plugin.SumatraPDFReader.config
Add this line to the configuration file:
<?xml version="1.0" encoding="utf-8"?>
<Settings>
<EnablePdf>true</EnablePdf>
</Settings>
After enabling this setting, restart QuickLook for the changes to take effect.
Developer
How to apply the modification of SumatraPDF.exe?
cd SumatraPDF && git apply ../QuickLook.Plugin.SumatraPDFReader.patch
How to install VS2022?
winget install --id "Microsoft.VisualStudio.2022.Community" --version "17.10.0" --override "–installPath=""D:\Program Files (x86)\Visual Studio 2022"""
Thanks
https://github.com/sumatrapdfreader/sumatrapdf
https://github.com/marcoscmonteiro/SumatraPDFControl
Licenses

This project references many other open-source projects. See here for the full list.
All source codes are licensed under GPL-3.0.
If you want to make any modification on these source codes while keeping new codes not protected by GPL-3.0, please contact me for a sublicense instead.
Related Skills
node-connect
342.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.7kCommit, push, and open a PR
