A modern disk space visualization tool built with Rust, specifically designed for macOS. This application helps you understand and manage your disk space usage through an interactive heat map visualization.
-
Interactive Heat Map Visualization
- Visual representation of file and directory sizes
- Color intensity indicates relative file sizes
- Real-time updates during scanning
-
File System Navigation
- Scan any directory or disk on your Mac
- Custom path input for targeted analysis
- Progress tracking during directory scanning
-
File Management
- Open files/folders directly in Finder
- Delete files/folders from within the application
- View detailed size information
-
Advanced Filtering
- Filter by file age
- Filter by file size
- Real-time filter updates
- Rust (1.70 or later)
- macOS (10.15 or later)
- Clone the repository:
git clone https://github.com/chan4lk/mac-space-explorer.git
cd mac-space-explorer- Build the application:
cargo build --release- Run the application:
cargo run --release-
Starting the Application
- Launch the application
- The default path is set to your home directory
-
Scanning Directories
- Enter a path in the text input field
- Click "Scan" to analyze the directory
- Watch the progress bar for scanning status
-
Interpreting the Heat Map
- Each bar represents a file or directory
- Height indicates relative size
- Color intensity increases with file size (red = larger files)
-
Managing Files
- Click on any item to select it
- Use "Open in Finder" to view in Finder
- Use "Delete" to remove files/folders (use with caution)
mac-space-explorer/
├── src/
│ ├── core/
│ │ ├── mod.rs
│ │ └── scanner.rs # File system scanning logic
│ ├── ui/
│ │ ├── mod.rs
│ │ └── heat_map.rs # Heat map visualization
│ └── main.rs # Application entry point and UI
└── Cargo.toml # Project dependencies
iced: GUI frameworkwalkdir: Directory traversalhumansize: Human-readable file sizesopen: Finder integration
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with Iced - A cross-platform GUI library for Rust
- Inspired by tools like DaisyDisk and WinDirStat