Skip to content

A native macOS maintenance utility built with Swift and SwiftUI

License

Notifications You must be signed in to change notification settings

Prot10/MyMacCleaner

Repository files navigation

MyMacCleaner

A modern, open-source macOS system utility app with Apple's Liquid Glass UI design.

macOS Swift License Buy Me a Coffee PayPal

Website | Documentation | Download

Overview

MyMacCleaner is a free, open-source alternative to commercial Mac cleaning apps like CleanMyMac. Built with SwiftUI and featuring Apple's latest Liquid Glass design language, it provides a beautiful and efficient way to maintain your Mac.

Features

Feature Description
Smart Scan One-click scan of all cleanup categories
Disk Cleaner Remove system junk, caches, logs, and temporary files
Browser Privacy Deep clean browser history, cookies, cache, and passwords
Space Lens Visual treemap of disk usage to find large files
Orphaned Files Find and remove leftover files from uninstalled apps
Duplicates Find exact duplicate files using SHA256 hashing
Performance RAM optimization and maintenance scripts
Applications Uninstall apps completely with leftover detection
Port Management View and kill processes using network ports
System Health Manage startup items and monitor system stats
Permissions Review and manage folder access permissions
Menu Bar Monitor CPU and RAM usage from the menu bar

Screenshots

Home & Smart Scan

Home Screen Smart Scan Results

Disk Cleaner & Space Lens

Disk Cleaner Space Lens

Performance & System Health

Performance System Health

Applications & Port Management

Applications Port Management

Duplicates & Orphaned Files

Duplicates Orphaned Files

Startup Items & Permissions

Startup Items Permissions

Menu Bar Monitor

Menu Bar

Requirements

  • macOS 14.0 (Sonoma) or later
  • For native Liquid Glass effects: macOS 26.0 (Tahoe) or later
  • On macOS 14-15: Beautiful material-based fallback UI

Installation

Download

  1. Download the latest .dmg from the Releases page
  2. Open the DMG and drag MyMacCleaner to your Applications folder
  3. First Launch - Since the app is not notarized, macOS will show a security warning

Bypassing Gatekeeper (Required on First Launch)

Since MyMacCleaner is distributed for free without Apple Developer signing, macOS Gatekeeper will block it initially. This is normal for open-source apps distributed outside the App Store.

To open the app:

  1. Try to open MyMacCleaner → You'll see "Apple cannot check it for malicious software"
  2. Open System SettingsPrivacy & Security
  3. Scroll down to the Security section
  4. Find the message about MyMacCleaner being blocked
  5. Click "Open Anyway"
  6. Enter your password to confirm

After this one-time setup, the app will open normally.

Alternative: Right-click the app and select "Open" from the context menu, then click "Open" in the dialog.

Build from Source

# Clone the repository
git clone https://github.com/Prot10/MyMacCleaner.git

# Open in Xcode
cd MyMacCleaner
open MyMacCleaner.xcodeproj

# Build and run (Cmd + R)

Permissions

MyMacCleaner requests permissions only when needed:

Permission When Requested Why Needed
Full Disk Access When scanning system directories Access caches, logs, and app data
Automation When uninstalling apps Clean up app leftovers completely

See Permissions Guide for detailed information.

Documentation

Automatic Updates

MyMacCleaner includes built-in automatic update checking powered by the Sparkle framework. The app periodically checks for new versions in the background, and when an update is available, a notification button appears next to the language switcher in the app toolbar. This provides a seamless update experience - simply click the button to download and install the latest version without leaving the app.

Tech Stack

  • Language: Swift 5.9+
  • UI Framework: SwiftUI
  • Design: Apple Liquid Glass (macOS Tahoe style)
  • Concurrency: Swift async/await, TaskGroups
  • Updates: Sparkle Framework (automatic background checks with in-app notification)

Attribution

This project builds upon and is inspired by several excellent open-source projects:

Project Usage License
Pearcleaner App uninstallation patterns Apache 2.0
Stats System monitoring techniques MIT
Clean-Me Junk file categories MIT
Latest App update detection MIT
Sparkle Auto-update framework MIT
FullDiskAccess Permission handling MIT

Contributing

Contributions are welcome! Please read our contributing guidelines before submitting a PR.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

If you find MyMacCleaner useful, consider supporting the project:

PayPal Buy Me a Coffee


Made with ❤️ for the Mac community by Andrea Protani

About

A native macOS maintenance utility built with Swift and SwiftUI

Resources

License

Contributing

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 2

  •  
  •