Repolode
iliyami

iliyami/MacSai

Free, open-source macOS cleaner, optimizer, and malware scanner built with Swift 6 and SwiftUI, positioned as an alternative to CleanMyMac.

Open-source alternative to:CleanMyMac

Stars
1,933
Forks
115
Open issues
17
Last commit
6 hours ago

What is it?

Mac Sai is a macOS maintenance app that bundles disk cleanup, protection, performance tuning, uninstalling, and file management into one interface. It covers system junk, mail attachments, trash, project build folders, Docker and Xcode simulator leftovers, duplicate files, and large or old files, with a signature-based malware scanner and browser privacy cleaning as well.

Deletion defaults to the Trash, a protected-paths blocklist keeps system directories off limits, and a dry-run mode previews changes before anything is removed. The app has no telemetry; its only optional network calls are an update check and reading other apps' Sparkle update feeds. A menu-bar widget shows live CPU, memory, disk, battery, and network stats.

The project requires macOS 14 or later and can be installed with Homebrew cask or a notarized DMG. It is released under the BSD-3-Clause license and includes a 1,048-test XCTest suite.

Key features

  • 01One-click Smart Scan runs cleanup, protection, and performance modules together.
  • 02Finds regenerable build folders such as node_modules, target, and Pods, sending them to the Trash.
  • 03Signature-based malware scanning at Quick, Balanced, and Deep depths.
  • 04Duplicate finder that can reclaim space with APFS copy-on-write clones.
  • 05Uninstaller that removes associated Library files and can reset apps to defaults.
  • 06Menu-bar widget with live system stats and cleanup recommendations.

Use cases

  • Freeing disk space on a developer Mac cluttered with build artifacts and Docker images.
  • Removing an app along with its leftover caches and preferences.
  • Finding large, old, or duplicate files in a home folder before backing up.
  • Running a periodic cleanup without paying for a CleanMyMac subscription.

Quick start

  1. 1

    Install with Homebrew

    brew install --cask mac-sai
  2. 2

    Or download the latest DMG from the releases page and drag the app to Applications

Things to know

  • macOS 14 or later only.
  • Malware scanning is signature-based and is not a full antivirus.
  • Some modules need Full Disk Access to scan protected areas.

Topics

FAQ

What is MacSai?
Free, open-source macOS cleaner, optimizer, and malware scanner built with Swift 6 and SwiftUI, positioned as an alternative to CleanMyMac. Mac Sai is a macOS maintenance app that bundles disk cleanup, protection, performance tuning, uninstalling, and file management into one interface. It covers system junk, mail attachments, trash, project build folders, Docker and Xcode simulator leftovers, duplicate files, and large or old files, with a signature-based malware scanner and browser privacy cleaning as well.
Is MacSai free to use? What license does it have?
MacSai is open source under the BSD-3-Clause license. Check the license terms before using it in commercial products.
Is MacSai still maintained?
Actively maintained. The last commit to MacSai was on Oct 21, 2026.
What can I use MacSai for?
Freeing disk space on a developer Mac cluttered with build artifacts and Docker images. Removing an app along with its leftover caches and preferences. Finding large, old, or duplicate files in a home folder before backing up. Running a periodic cleanup without paying for a CleanMyMac subscription.
How do I install MacSai?
Install with Homebrew: brew install --cask mac-sai Or download the latest DMG from the releases page and drag the app to Applications
Where can I get MacSai?
The source code and installation instructions are on GitHub: https://github.com/iliyami/MacSai

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects