Fast, lightweight disk space visualizer — a portable WinDirStat-style treemap you build yourself. No installer, no telemetry, no bundled junk.
- Parallel scanner (work-queue across CPU cores)
- Live progress while scanning
- Squarified treemap colored by file extension
- Zoom into folders (double-click / breadcrumbs; right-click zooms out)
- Reveal in Files opens the selection in Explorer / Finder / your Linux file manager
- Single native binary (~egui), Windows + Linux + best-effort macOS
Requires Rust 1.78+ (edition 2021).
git clone https://github.com/mmdmcy/dirsquat.git
cd dirsquat
cargo build --releaseBinary:
| Platform | Path |
|---|---|
| Linux / macOS | target/release/dirsquat |
| Windows | target\release\dirsquat.exe |
Copy that file anywhere and run it — no install step.
On Debian/Ubuntu you need GUI/dev libs for eframe/winit:
sudo apt update
sudo apt install build-essential pkg-config libgtk-3-dev libxcb-render0-dev \
libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-devOn Fedora:
sudo dnf install gcc pkg-config gtk3-devel libxcb-devel libxkbcommon-devel openssl-develThen cargo build --release as above. The same binary works on matching glibc distros; for wider distribution, build an AppImage on an older Ubuntu LTS or ship the raw binary for the same OS family.
Install Rust with the MSVC toolchain (Visual Studio Build Tools) or the GNU toolchain.
cargo build --release
# run: .\target\release\dirsquat.exeZip dirsquat.exe alone for a portable drop on another Windows PC (same architecture).
cargo build --release
./target/release/dirsquatOlder macOS releases may need a newer SDK or may fail on wgpu/Metal — treat macOS as secondary. Apple Silicon and Intel both work if the host can compile for them (rustup target add aarch64-apple-darwin / x86_64-apple-darwin).
- Launch
dirsquat - Enter a path or Browse… to a folder/drive
- Click Scan (Cancel to stop)
- Hover tiles for path/size; click to select; double-click a folder tile to zoom
- Use breadcrumbs or right-click the map to zoom out
- Reveal in Files (or the side-list context menu) opens the selection in your OS file manager
crates/
dirsquat-core/ # scanner, arena tree, treemap layout
dirsquat/ # egui desktop UI
v1 uses a parallel directory walk (not NTFS MFT). That is already far faster than classic WinDirStat on SSDs; an optional admin MFT fast-path on Windows is intentionally left for later.
Release builds use LTO + strip (Cargo.toml [profile.release]).
MIT