Disk Inventory Y is a macOS disk usage visualizer. It scans a selected folder or volume and renders the result as a treemap, making large files and directories easy to spot.
This project is a modern SwiftUI rewrite inspired by Disk Inventory X.
This repository is a fork of diskinv/diy.
- Native macOS SwiftUI application.
- Treemap visualization rendered with SwiftUI
Canvas. - Async filesystem scanning with parallel directory traversal.
- Sidebar with file tree navigation and file kind statistics.
- Zoom in, zoom out, refresh, and folder selection commands.
- Optional display of free space, other space, package contents, and physical file size.
- macOS 14.0 or later.
- Xcode with the macOS SDK.
Scanning protected locations may require granting the app Full Disk Access in macOS System Settings.
Use the repository shell scripts instead of invoking xcodebuild directly. They keep build behavior consistent and write the latest build log to .tmp/log/build/.
Debug build:
./BuildDebug.shDebug app output:
build/Build/Products/Debug/Disk Inventory Y.app
Release build:
./BuildRelease.shRelease app output:
build/Build/Products/Release/Disk Inventory Y.app
App/- application entry point and global app state.Models/- filesystem tree and file kind statistics.Services/- async filesystem scanner.Views/- SwiftUI views for the sidebar, file list, settings, and treemap.Utilities/- file size formatting and file kind color assignment.
GPL v3. See the source headers and project metadata for copyright details.