A fast, native macOS cleaner: uninstall apps completely (with all their leftover files), analyze what's eating your disk, and free up space with one-tap cleanup recommendations — in a modern dark UI.
- App Uninstaller — every app in
/Applicationsand~/Applications, sorted by true on-disk size. Expand any app to see its leftovers — Application Support, Caches, Containers, Preferences, LaunchAgents, saved state, crash reports — matched by bundle ID and app name, each with its own size and a checkbox. Uninstall moves the app and the selected leftovers to the Trash in one click. - Disk Analyzer — scan any folder and see the biggest space consumers as colored proportional bars; drill into folders with breadcrumb navigation.
- Free Up Space — live disk gauge + one-tap cleaners for user caches, logs, Trash, Xcode DerivedData, iOS device backups, and Homebrew cache, each showing its real size before you clean.
- Completion alerts — native macOS notifications tell you how much was freed.
- Safe by design — everything goes to the Trash first (recoverable);
no
rm -rf, no root, SIP-protected Apple apps simply refuse to move.
- macOS 13 or later (developed and tested on macOS 26, Apple Silicon)
- Xcode command line tools (
xcode-select --install) — only needed to build
cd Sweep
swift build -c release
cp .build/release/Sweep "Sweep.app/Contents/MacOS/Sweep"
open Sweep.appOr double-click Sweep.app if it's already built.
| Page | What it does |
|---|---|
| Uninstaller | Search apps, expand one to review its leftover files (uncheck anything you want to keep), then Uninstall — everything lands in the Trash. |
| Disk Analyzer | Starts at your Home folder; click a bar to drill into a folder, use the breadcrumb pills to go back, or Choose folder… to analyze any path (e.g. an external drive). |
| Free Up Space | Review the suggested cleanup targets with their real sizes and hit Clean on any of them. Check the disk gauge at the top before and after. |
| About | Author links and the safety note. |
- Sizes use
totalFileAllocatedSize(real disk usage, including bundle contents). - Leftover detection scans the standard locations (
~/Library/…,/Library/…) by bundle ID, exact app name, and glob matches for LaunchAgents and crash reports. - Deletion goes through
NSWorkspace.recycle— the Finder Trash API — so everything is recoverable until you empty the Trash. - No sandbox, no private frameworks, no network access.
Sweep/
├── Package.swift
├── Sweep.app/ Prebuilt app bundle
└── Sources/
├── SweepApp.swift App shell, sidebar, alerts
├── Theme.swift Design system (colors, cards, bytes formatting)
├── DiskScanner.swift Size engine, app scanner, leftover finder, Trash
├── UninstallerView.swift App list + leftover review + uninstall
├── AnalyzerView.swift Disk analyzer with drill-down
├── CleanupView.swift Free-up-space recommendations
└── AboutView.swift Author links
Ahmed Hany (EngOREOO)
- GitHub: @EngOREOO
- LinkedIn: codebyoreoo
- Facebook: hanyohnana
- Email: ahmed.hany.off@gmail.com