๐Ÿงน Mac Janitor

Professional macOS System Maintenance & Optimization

Mac Janitor is a native macOS maintenance application built with modern SwiftUI that cleans and optimizes your Mac through comprehensive system maintenance. Designed to handle cleaning tasks that other programs have failed to do, Mac Janitor ensures your Mac runs smoothly with advanced safety features and intelligent caching strategies.

โฌ‡๏ธ Download Mac Janitor v5.0

Key Features

๐Ÿงน Cleaning & Maintenance

Cache Cleanup

Clean user and system caches with intelligent 7-day retention policy to preserve recent data while freeing up space.

Log Cleanup

Remove diagnostic logs safely while maintaining a 7-day retention window for troubleshooting and diagnostics.

Trash Emptying

Completely empty trash on all volumes including hidden files for complete disk cleanup.

Browser Cache

Clean Safari and other browser caches to reclaim disk space and improve browsing performance.

โšก System Optimization

DNS Cache Flush

Clear DNS cache to resolve network issues and improve browsing speed.

Font Cache Cleanup

Remove accumulated font cache files that can slow down system performance.

Memory Purge

Free up unused memory to improve overall system responsiveness and performance.

Disk Maintenance

Verify and optimize disk structure for better long-term performance.

๐Ÿ”’ Security & Safety

7-Day Retention

Smart retention policy ensures recent files and data are preserved while old files are safely cleaned.

Time Machine Snapshots

Automatic Time Machine snapshots created before major operations for complete system recovery.

Secure Operations

Command escaping prevents injection attacks with AppleScript GUI password prompts.

Operation Logging

Comprehensive logging with timestamps tracks all maintenance operations for transparency and debugging.

๐Ÿ› ๏ธ Developer Tools

Dev Mode (Hidden)

Advanced developer mode accessible with Cmd+Shift+2 for power users and developers.

Live Log Viewer

Real-time logging display shows detailed operation history and system information.

Operation Logging

Detailed logs stored at ~/Library/Logs/MacJanitor/ with full operation history.

System Requirements

Technical Specifications

Framework
SwiftUI (Modern Native macOS)
Architecture
MVVM with @Observable
Languages
Swift 5.8+, Shell, Makefile
Minimum macOS
macOS 12.0 (Monterey)
Package Manager
Swift Package Manager
Current Version
v5.0 (Final Release)
License
MIT Open Source
Hardware
Apple Silicon & Intel

Architecture Highlights

Mac Janitor uses a modern MVVM architecture with SwiftUI, ensuring a responsive and intuitive user interface. The application is built entirely with Swift and leverages the latest macOS APIs while maintaining backward compatibility with macOS 12+. System Integrity Protection awareness and graceful error handling ensure safe operations even on locked-down systems.