Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sweep-Ultra-Cleaner

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.

Platform Swift Chip

Features

  • App Uninstaller — every app in /Applications and ~/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.

Requirements

  • macOS 13 or later (developed and tested on macOS 26, Apple Silicon)
  • Xcode command line tools (xcode-select --install) — only needed to build

Build & Run

cd Sweep
swift build -c release
cp .build/release/Sweep "Sweep.app/Contents/MacOS/Sweep"
open Sweep.app

Or double-click Sweep.app if it's already built.

How to use

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.

How it works

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

Project layout

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

Author

Ahmed Hany (EngOREOO)

About

Ultra cleaner for macOS — uninstall apps completely with leftover-file detection, disk space analyzer with drill-down, and one-tap free-up-space recommendations. Native SwiftUI, dark modern UI, everything goes to Trash safely.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages