VoidKit - macOS Storage Cleanup Tool
Free up space on your Mac by identifying and managing System Data.
Overview
VoidKit is a macOS application designed to help you understand what's taking up space in the "System Data" category on your Mac. The app provides a tree view of all known System Data locations and displays the size of each folder and file, making it easy to identify large files and directories that may be candidates for cleanup.
Features
๐ Comprehensive Scanning: Automatically scans known System Data locations including:
- User Library Caches
- Application Support files
- Logs and temporary files
- Developer caches (Xcode DerivedData, Simulators)
- Safari and browser data
- Mail and Messages storage
- System-level caches and logs
๐ฆ Orphaned Containers Detection: Identifies application containers that remain after apps are uninstalled
- Scans ~/Library/Containers for app data
- Detects which applications are no longer installed
- Smart helper app detection: recognizes app extensions and helpers (e.g., com.app.helper)
- Displays orphaned containers with clear visual indicators
- Shows size information for each container
๐ Tree View Display: Hierarchical view of folders and files with expandable/collapsible navigation
๐ Size Calculation: Real-time calculation and display of folder and file sizes in human-readable format
๐ฏ Tab Navigation: Switch between System Data and App Containers views
โก Performance: Asynchronous scanning and size calculation to keep the UI responsive
Requirements
- macOS 13.0 or later
- Xcode 26 or later (for building)
Building the Project
Clone the repository:
git clone https://github.com/xabre/void-kit.git
cd void-kit
Open the Xcode project:
open VoidKit/VoidKit.xcodeproj
Build and run the project in Xcode (โR)
Usage
- Launch VoidKit
- The app has two main tabs:
- System Data: Explore system data locations
- App Containers: Find orphaned application containers
- Click the "Scan" button in either tab to start scanning
- Browse through results:
- In System Data: Click chevron icons to expand folders
- In App Containers: View which apps are installed (green) or orphaned (orange)
- Use the filter options to show only orphaned containers
- Size information is displayed for each item
Project Structure
VoidKit/
โโโ VoidKit.xcodeproj/ # Xcode project file
โโโ VoidKit/ # Source files
โโโ VoidKitApp.swift # App entry point
โโโ ContentView.swift # Main UI with tab navigation and System Data view
โโโ OrphanedContainersView.swift # Orphaned Containers tab
โโโ FileSystemScanner.swift # File system scanning logic
โโโ AppContainerScanner.swift # Container scanning and orphan detection
โโโ SystemDataPaths.swift # Known system data locations
โโโ ReviewDeleteView.swift # Review & Delete tab
โโโ DeletionManager.swift # Deletion queue; moves items to the Trash
โโโ FileUtilities.swift # Size calculation, TCC path filtering
โโโ PermissionsManager.swift # Full Disk Access management
โโโ UpdaterManager.swift # Sparkle auto-updates
โโโ SettingsView.swift # Settings window
โโโ AboutView.swift # About window
โโโ Assets.xcassets/ # App icons and assets
โโโ VoidKit.entitlements # App permissions
Technical Details
The app is built using:
- SwiftUI for the user interface
- Foundation for file system operations
- Combine for reactive updates
The app is not sandboxed, since it needs direct access to system directories. Grant it Full Disk Access in System Settings โ Privacy & Security to see every location. Deletion moves items to the Trash, never deleting them permanently, and locations marked "Do Not Delete" can't be selected.
Updates are delivered with Sparkle. Pushing a v* tag runs .github/workflows/build-and-release.yml, which builds, signs, notarizes, publishes the DMG, and updates appcast.xml.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is open source and available under the MIT License.
Disclaimer
This tool is designed to help identify large files and folders. Always be careful when deleting system files and make sure you understand what you're removing before taking any action.