Pearcleaner: A Swift App Cleaner for Mac

Pearcleaner

An open-source mac app cleaner inspired by Freemacsoft's AppCleaner and Sun Knudsen's Privacy Guides post on his app-cleaner script. This project was born out of wanting to learn more. There's probably parts of the code that could be done better as I'm fairly new to Swift, if you have suggestions I'm open to hearing them!

Features

  • 100% Swift/SwiftUI
  • Super small app size (~2MB)
  • Quick file search
  • Optional Sentinel monitor helper that can be enabled to watch Trash folder for deleted apps
  • Sentinel monitor is extremely small (210KB) and uses ~2mb of ram to run in the background and file watch. Communicates to app via custom url scheme instead of xpc to keep things even lighter
  • Mini mode which can be enabled from Settings
  • Can drop apps to uninstall directly on the Pearcleaner Dock icon itself or the drop target in the app window
  • Will differentiate between regular apps and Safari web-apps with a "web" label next to each item in the list
  • Will differentiate between regular apps and wrapped iOS apps with an "iOS" label next to each item in the list
  • Has clean uninstall menu option for the Pearcleaner app itself if you want to stop using it and get rid of all files and launch items
  • Requires Full Disk permission to search for files and also Accessibility to delete/restore files
  • Built-in auto-updater that pulls latest release notes and binaries from GitHub Releases (Might not work well if app is not in /Applications folder because of permissions)

Regular Mode

 

Mini Mode

 

Requirements

  • MacOS 13.0+
  • Using some newer SwiftUI code which requires 13.0+

Getting Pearcleaner

  • Releases

Pre-compiled, always up-to-date versions are available from my releases page. You might need to open this with right click-open since I don't have a paid developer account.

  • Homebrew

Since I don't have a paid developer account, I can't submit to the main Homebrew cask repo. You can still add the app via Homebrew by tapping my homebrew repo:

brew install alienator88/homebrew-cask/pearcleaner

Thanks

Much appreciation to Freemacsoft's AppCleaner and Sun Knudsen's app-cleaner script.


Status: Maintained 
Version: 2.4 
Download · Commits


Download Details:

Author: alienator88
Source Code: https://github.com/alienator88/Pearcleaner 
License: GPL-3.0 license

#swift #opensource #mac 

Pearcleaner: A Swift App Cleaner for Mac
1.40 GEEK