Add MacTree, a WizTree-style disk space analyzer for macOS - #1
Merged
Merged
Conversation
- Parallel getattrlistbulk scanner that counts the boot volume once: it follows APFS firmlinks once, stays within the container, and never downloads iCloud placeholders. - Tree View, File View with wildcard search, and per-extension totals. - Cushion treemap with continuous zoom around the pointer and drag to pan. - Size / allocated-size toggle, Quick Look, Move to Trash, rescan of a single folder, and CSV export (also headless via --export). - Delete marks items with red borders; Delete Permanently removes them after one confirmation. - Full Disk Access guidance sheet with fresh-process detection and relaunch. - English / Korean UI; build script with icon generation and signing; CI workflow that builds on macOS and publishes releases for v* tags. Claude-Session: https://claude.ai/code/session_0115d7b3mfRT6Gs8mgqtAt1x
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Native macOS 15+ app (Swift / AppKit) that shows what is using disk space, in the style of WizTree.
What's in it
getattrlistbulk(2)on 16 threads. On an M-series Mac it scanned about 6.7 M items (the whole boot disk) in about 25 s, and 1.2 M items (/Applications) in about 3 s. Totals matchduto within 0.1 %. It counts APFS firmlinks once, stays inside the root's APFS container, skips other disks, network and autofs mounts, and never downloads iCloud "dataless" files.;or|combine terms.MacTree --export / out.csv).Build
./scripts/build-app.shproducesbuild/MacTree.app. The script generates the icon and signs with the first "Apple Development" identity if one is present, otherwise ad-hoc.SIGN_IDENTITYoverrides the choice.CI
.github/workflows/build.yml:main, builds onmacos-15with the latest stable Xcode.MacTree.zip.v*tags, also publishes a GitHub release with the zip.Notes
https://claude.ai/code/session_0115d7b3mfRT6Gs8mgqtAt1x