Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dirsquat

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

Build

Requires Rust 1.78+ (edition 2021).

git clone https://github.com/mmdmcy/dirsquat.git
cd dirsquat
cargo build --release

Binary:

Platform Path
Linux / macOS target/release/dirsquat
Windows target\release\dirsquat.exe

Copy that file anywhere and run it — no install step.

Linux dependencies

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-dev

On Fedora:

sudo dnf install gcc pkg-config gtk3-devel libxcb-devel libxkbcommon-devel openssl-devel

Then 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.

Windows

Install Rust with the MSVC toolchain (Visual Studio Build Tools) or the GNU toolchain.

cargo build --release
# run: .\target\release\dirsquat.exe

Zip dirsquat.exe alone for a portable drop on another Windows PC (same architecture).

macOS (best-effort)

cargo build --release
./target/release/dirsquat

Older 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).

Usage

  1. Launch dirsquat
  2. Enter a path or Browse… to a folder/drive
  3. Click Scan (Cancel to stop)
  4. Hover tiles for path/size; click to select; double-click a folder tile to zoom
  5. Use breadcrumbs or right-click the map to zoom out
  6. Reveal in Files (or the side-list context menu) opens the selection in your OS file manager

Project layout

crates/
  dirsquat-core/   # scanner, arena tree, treemap layout
  dirsquat/        # egui desktop UI

Performance notes

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]).

License

MIT

About

Fast, lightweight disk space treemap visualizer (WinDirStat-style). Portable Rust + egui binary.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages