A Windows 11 desktop app that scans a drive or folder (read-only) and shows what is taking up space: a folder tree, a treemap, the largest files, and a breakdown by file type.
Built with Tauri 2: a Rust core does the scanning, and a React + TypeScript interface (styled with Tailwind CSS) displays the results.
- Read-only scanning of whole drives or any folder, with live progress and cancellation.
- Tree view with lazily loaded folders, sorting by name, size, size on disk or file count, and a context menu (open in File Explorer, copy path, show in treemap).
- Treemap to drill down into the biggest folders at a glance.
- Top files: the 40 largest files of the scan, filterable by type.
- Types: breakdown of space by file type and extension.
- Installed apps: lists the Windows desktop apps and measures how much space their folders use.
- Light and dark themes, recent folders, keyboard navigation.
Prebuilt installers are published on the GitHub Releases page of this repository.
Windows SmartScreen warning: the installer is not code-signed, so Windows may show "Windows protected your PC" when you run it. This is expected for unsigned open-source software. Click More info → Run anyway to continue. You can verify the download against the SHA-256 checksum listed in the release notes (
Get-FileHash .\<file>.exein PowerShell). If you prefer, build it yourself from source (see below).
- Core: Rust, Tauri 2,
ts-rs(generates the shared TypeScript types) - Frontend: React 19, TypeScript, Vite, Tailwind CSS 4, Zustand, lucide-react
- Tests and tooling: Vitest, ESLint, Prettier, Clippy
- Node.js 20+ and npm
- Rust (MSVC toolchain) and the Visual Studio Build Tools with the "Desktop development with C++" workload
- WebView2 (already present on Windows 11)
npm install
npm run tauri devThe frontend only works inside Tauri: scans and data come from the Rust core, so there is no browser-only mode.
| Command | What it does |
|---|---|
npm install |
Installs the frontend dependencies |
npm run tauri dev |
Runs the app in development (reloads on change) |
npm run tauri build |
Builds the app and creates the installer in src-tauri/target/release/bundle |
npm test |
Frontend tests (Vitest) |
cargo test |
Rust core tests, from src-tauri/; also regenerates src/bindings |
npm run lint |
ESLint |
npm run format:check |
Prettier (use npm run format to fix) |
cargo clippy --all-targets |
Rust core lint, from src-tauri/ |
- Build memory: on machines with little free RAM,
rustccan fail without of memory(seen ontokio). The errorsmemory allocation … failedand, as a consequence,only metadata stub found for rlib dependency coreindicate that the Windows commit limit is exhausted (not just RAM). Limit parallelism withCARGO_BUILD_JOBS=3(or1if it still fails; slower, roughly 10 minutes from scratch, ~2 GB peak per compiler). Dependencies are built without debug info (seeCargo.toml). - Shared types: the types in
src/bindings/are generated byts-rsfromsrc-tauri/src/model.rs; do not edit them by hand. If you change the Rust model, runcargo test. - Logs:
%LOCALAPPDATA%\com.personal.diskanalyzer\logs\. Change the level with theRUST_LOGenvironment variable (e.g.RUST_LOG=debug).