claudedwithlove
explore/phalladar-macdirstat

MacDirStat

Cherished

MacDirStat visualizes disk usage on macOS using interactive treemaps, letting users quickly identify which files and folders consume storage space. Built as a native SwiftUI application with low-level BSD scanning, it provides the disk analysis experience of WinDirStat for Windows users transitioning to Mac, without subscriptions or external dependencies.

·12·forks 2··submitted April 17, 2026
View on GitHub
Clauded With Love Rating
7.6 / 10

MacDirStat is a native SwiftUI disk space analyzer for macOS that provides WinDirStat-like treemap visualizations using low-level BSD APIs for fast file system scanning. The project fills a clear gap by offering a free, privacy-focused alternative to commercial disk analyzers while maintaining familiar functionality for Windows users transitioning to Mac.

Code Quality7.5
Usefulness8.5
Claude Usage7.0
Documentation8.5
Originality6.5
Highlights
  • Clean architecture with single @Observable AppState driving all views and proper separation of concerns across scanning, treemap rendering, and UI layers
  • Performance-focused implementation using BSD fts APIs instead of slower FileManager calls, with thoughtful UI throttling at 50ms intervals
  • Comprehensive documentation with clear installation instructions, architecture overview, and feature comparison to established tools
To Improve
  • Add unit tests for core components like FileScanner, treemap layout algorithms, and file categorization logic to ensure reliability
  • Implement error handling for permission denied scenarios and provide user-friendly feedback when scanning protected system directories