- 版本
- v1.0.0
- 发布日期
- 2026-07-23
- 平台
- macOS
- 安装包大小
- macOS 4.3 MB
- 发布者
- birdyzzz
FilePilot
macOS 15+ · Swift 6 · SwiftUI · Native Launch Services
README
FilePilot
Take control of how your files open.
English · 简体中文
macOS 15+ · Swift 6 · SwiftUI · Native Launch Services
FilePilot is a native macOS utility for managing file type associations. Browse, search, and change default handlers, back up and restore your configuration, and diagnose broken handlers — all locally, with no network required.
Features
| Module | Description |
|---|---|
| File Associations | Browse defaults by extension; search, filter, sort; change or restore handlers |
| Applications | Inspect installed apps and their declared file types and URL schemes |
| URL Schemes | Manage default handlers for http://, custom://, etc. |
| Browsers / Mail | Quickly set default browser and mail client |
| Diagnostics | Detect missing apps and invalid handlers; one-click repair |
| Backup / Restore | Export / import associations as JSON (skips unchanged entries to avoid redundant system prompts) |
Requirements
- macOS 15 (Sequoia) or later
- Xcode 16+ (Swift 6) to build locally
Install
Homebrew
brew tap birdyzzz/tap
brew trust birdyzzz/tap
brew install --cask filepilot
Requires the birdyzzz/homebrew-tap repository. See homebrew/README.md for maintainer setup.
GitHub Release
Download .zip or .dmg from Releases.
Quick Start
Open in Xcode
git clone https://github.com/birdyzzz/FilePilot.git
cd FilePilot
open FilePilot.xcodeproj
Select the FilePilot scheme and press ⌘R.
Build from Terminal
xcodebuild -scheme FilePilot -configuration Debug build
With Xcode Beta:
DEVELOPER_DIR=/Applications/Xcode-beta.app/Contents/Developer \
xcodebuild -scheme FilePilot -configuration Debug build
Usage
Keyboard shortcuts
| Shortcut | Action |
|---|---|
| ⌘F | Focus search |
| ⌘R | Refresh indexes / rescan |
| ⌘E | Export backup |
| ⌘I | Import backup |
| ⌘⇧1–6 | Switch sidebar modules |
Backup format
Envelope format (recommended)
{
"associations": {
"pdf": "com.adobe.Reader",
"jpg": "com.apple.Preview"
}
}
Flat format
{
"pdf": "com.adobe.Reader",
"jpg": "com.apple.Preview"
}
Import skips entries that already match system defaults, avoiding repeated macOS confirmation dialogs.
Architecture
FilePilot/
├── App/ # Entry point, commands
├── Views/ # SwiftUI module views
├── ViewModels/ # @Observable view models
├── Repositories/ # Association / app / URL scheme indexes
├── Managers/ # Launch Services, app scanning
├── Services/ # Import/export, diagnostics, workspace bridges
├── Components/ # Design system components
└── Resources/ # Localization, assets
| Layer | Role |
|---|---|
| LaunchServicesManager | Read/write default apps and URL scheme handlers |
| ApplicationScanner | Scan /Applications, parse Info.plist |
| RepositoryStore | Merge LS + scan data; parallel index rebuild |
| IconCache | Async app icons; 512 entries / 32 MB cap |
Localization
- English (
en) — default development language - Simplified Chinese (
zh-Hans) — follows system locale
Strings live in L10n.swift and Localizable.xcstrings.
Contributing
Issues and pull requests are welcome. See CONTRIBUTING.md.
Privacy
FilePilot runs entirely on your Mac. It does not collect data or make network requests.
License
MIT License © 2026 FilePilot contributors
Acknowledgements
Built on macOS Launch Services and NSWorkspace.