Skip to content
markksantosPublic

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

👁️ Peeky

A powerful macOS Quick Look extension for previewing files Finder can't

Swift macOS Quick Look

Features · Getting Started · Supported Formats


✨ Features

  • Markdown Preview — Renders .md files 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

Screenshots coming soon

📂 Supported Formats

Category Formats
Documents Markdown, JSON, CSV
Archives ZIP
Code Multi-language syntax highlighting
Media Images
Filesystem Folders

🚀 Getting Started

Prerequisites

  • macOS 13.0+
  • Xcode 15+

Building from Source

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.xcodeproj

If 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 build

For 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.

Running the tests

The pure parsing logic (CSV, ZIP) is covered by a standalone Swift Package that runs headlessly without code signing:

cd PeekyCoreTests
swift test

The 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=NO

The shared QuickLookProApp scheme intentionally skips the QuickLookProAppUITests target, which launches a full UI test host and needs a real code-signing identity.

🛠️ Tech Stack

Category Technology
Language Swift 5.9
UI SwiftUI, AppKit
Platform macOS Quick Look Extension
Parsing Custom Markdown, CSV, JSON, and syntax parsers

📁 Project Structure

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: QuickLookProApp is the canonical, actively maintained app. QuickLookPro is an earlier folder-only generator kept for reference only — it is not part of the shipping product.

📄 License

MIT License © 2025 Mark Santos

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages