A powerful macOS Quick Look extension for previewing files Finder can't
- Markdown Preview — Renders
.mdfiles with full formatting - JSON Preview — Pretty-printed, syntax-highlighted JSON viewing
- CSV Tables — View CSV files as formatted tables
- Source Code Highlighting — Syntax highlighting for multiple languages with themes
- Archive Browsing — Peek inside ZIP files without extracting
- Folder Previews — Visual grid view of folder contents
- Image Previews — Enhanced image file previewing
- Configurable Settings — Customize preview behavior via the companion app
Screenshots coming soon
| Category | Formats |
|---|---|
| Documents | Markdown, JSON, CSV |
| Archives | ZIP |
| Code | Multi-language syntax highlighting |
| Media | Images |
| Filesystem | Folders |
- macOS 13.0+
- Xcode 15+
The app lives in the QuickLookProApp git submodule, so clone recursively:
git clone --recurse-submodules https://github.com/markksantos/Peeky.git
cd Peeky
open QuickLookProApp/QuickLookProApp.xcodeprojIf you already cloned without submodules, run git submodule update --init --recursive.
Build and run the QuickLookProApp scheme (the product is Peeky.app), then enable the Quick Look extension in System Settings → Extensions → Quick Look.
The project ships with Manual code signing and an ad-hoc identity (CODE_SIGN_IDENTITY = "-"),
so it builds and runs locally on any Mac with no Apple Developer account:
cd QuickLookProApp
xcodebuild -scheme QuickLookProApp -configuration Release \
CODE_SIGN_IDENTITY="-" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO buildFor a distributable build (notarized DMG or Mac App Store) you must supply a Developer ID
or App Store signing identity and notarize the app + embedded .appex. The App Sandbox
and shared-app-group entitlements required for distribution are already configured.
The pure parsing logic (CSV, ZIP) is covered by a standalone Swift Package that runs headlessly without code signing:
cd PeekyCoreTests
swift testThe in-Xcode unit test target (QuickLookProAppTests) runs against the app module and
passes under the local ad-hoc signing configuration:
cd QuickLookProApp
xcodebuild test -scheme QuickLookProApp -destination 'platform=macOS' \
CODE_SIGN_IDENTITY="-" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NOThe shared QuickLookProApp scheme intentionally skips the QuickLookProAppUITests
target, which launches a full UI test host and needs a real code-signing identity.
| Category | Technology |
|---|---|
| Language | Swift 5.9 |
| UI | SwiftUI, AppKit |
| Platform | macOS Quick Look Extension |
| Parsing | Custom Markdown, CSV, JSON, and syntax parsers |
Peeky/
├── QuickLookProApp/ # ► Canonical app (git submodule)
│ ├── Quick Look Preview Extension/ # Main Quick Look extension
│ │ ├── ArchivePreviewRenderer.swift
│ │ ├── CSVPreviewRenderer.swift
│ │ ├── JSONPreviewRenderer.swift
│ │ ├── MarkdownPreviewRenderer.swift
│ │ ├── SourceCodePreviewRenderer.swift
│ │ ├── ImagePreviewRenderer.swift
│ │ ├── SyntaxHighlighter.swift
│ │ └── FileTypeRouter.swift
│ └── QuickLookProApp/ # Companion settings app (dock / menu-bar)
├── QuickLookPro/ # Legacy Quick Look generator (deprecated, git submodule)
├── PeekyCoreTests/ # Headless SwiftPM tests for the parsing logic
├── website/ # Next.js marketing site (Vercel)
└── tasks/
Note:
QuickLookProAppis the canonical, actively maintained app.QuickLookProis an earlier folder-only generator kept for reference only — it is not part of the shipping product.
MIT License © 2025 Mark Santos