-
Navigate to project:
cd ZipViewer -
Build the app:
swift build
-
Run the app:
swift run
-
Build the app bundle:
./build-app.sh
-
Run the app:
open .build/release/Grizzly.app
-
Optional - Install to Applications:
cp -r .build/release/Grizzly.app /Applications/
This creates a proper macOS app with:
- Custom app icon
- File associations for .zip files (double-click to open)
- Can be launched from Finder or Spotlight
- Drag & Drop: Drag any .zip file onto the app window
- File Menu: Press
Cmd+Oor use File → Open - The app will display the zip contents in a hierarchical tree view
- Double-click folders to navigate into them
- Use the Back button or breadcrumb trail to navigate up/to specific folder
- Single-click to select a file or folder
- Arrow keys (↑/↓) to navigate between items
- Return to open file or enter folder
- Use search bar to filter items (works across all folders)
Open a file (extract and launch):
- Double-click any file to extract it and open with default application
Preview without extracting:
- Select a file (not a folder)
- Press Spacebar to Quick Look preview
- Works with images, PDFs, text files, code files, and more
Extract Selected Items:
- Select one or more files/folders (Cmd+Click for multiple)
- Click "Extract" button in toolbar
- Choose destination folder
- Click "Extract" to confirm
Extract Everything:
- With no items selected, click "Extract" button
- Choose destination folder
- Click "Extract"
Extract via Right-Click:
- Right-click any item
- Select "Extract..." from context menu
- Choose destination
↑/↓- Navigate between itemsShift+↑/↓- Extend selection (range select)Cmd+↑- Navigate up to parent folderCmd+↓- Navigate into selected folderReturn- Open file or enter folderDelete- Clear selection or go up
Cmd+A- Select allEscape- Clear selectionCmd+C- Copy file paths
Cmd+O- Open zip file / Open selected filesSpacebar- Quick Look previewCmd+E- Extract selected itemsCmd+Shift+E- Extract allCmd+F- Focus search
✅ Finder-like tree navigation with breadcrumb trail ✅ Multiple file selection (Cmd+Click, Shift+Click) ✅ Quick Look preview (Spacebar) ✅ Recursive search and filter ✅ Drag & drop support ✅ Progress tracking during extraction and loading ✅ Context menu support ✅ Full keyboard navigation ✅ Memory-efficient - handles large archives (GB+) ✅ Detail panel with file information
- You can select multiple items to extract them all at once
- The search works recursively across all folders
- Preview works for most file types supported by macOS Quick Look
- Extraction preserves the folder structure
- The app shows file sizes and compression ratios in the detail panel
- Use keyboard shortcuts for faster navigation
- The app efficiently handles large archives - only metadata is kept in memory
- Use
Cmd+Cto copy file paths from the archive
App won't build:
# Clean and rebuild
rm -rf .build
swift package clean
swift buildCan't open in Xcode:
# Open Package.swift directly
open Package.swiftPreview not working:
- Make sure you selected a file (not a folder)
- Some file types may not support Quick Look preview