Skip to content

Latest commit

 

History

952 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DiskRaptor Logo

DiskRaptor Website Latest Release License Microsoft Store Mac App Store

DiskRaptor

Ultra-fast disk space analyzer — find what's filling your SSD or hard drive in seconds. DiskRaptor is a free, open-source, cross-platform disk usage analyzer and storage cleaner for Windows, macOS and Linux, built with Rust + Tauri 2. A modern successor to WinDirStat / DaisyDisk: scan millions of files, visualize disk usage, find duplicates and free up space.

Visit the official website: https://www.diskraptor.com — documentation, screenshots and download links.

DiskRaptor Demo

DiskRaptor scans directories using a parallel jwalk engine (macOS), walkdir (Windows/Linux) and renders results in a virtual tree view capable of handling 20+ million files without UI lag.

Benchmark (sample scan)

Files Directories Total size Scan time
12,109,741 100,292 561.21 GB 22.77 s

Sample figures from a real large-drive scan (your drive will differ).

DiskRaptor vs other disk analyzers

DiskRaptor WinDirStat WizTree DaisyDisk TreeSize Free
Price Free, MIT open source Free Free for personal use Paid Free / paid Pro
Windows / macOS / Linux ✅ / ✅ / ✅ Windows only Windows only macOS only Windows only
Duplicate file finder ✅ (xxHash3) ❌ ✅ ❌ Partially (Pro)
3D galaxy view ✅ ❌ ❌ ❌ ❌
Handles 10M+ files ✅ (virtual tree) Slow ✅ (MFT) ✅ ✅
No tracking / offline ✅ ✅ ✅ ✅ ✅

WinDirStat hasn't seen a major release in years; WizTree is Windows-only and closed source. DiskRaptor is the free, open-source, cross-platform alternative.


Architecture

┌──────────────────────────────┐
│  Tauri 2 (Rust)              │ ← Window, menus, native dialogs, IPC
│  ┌────────────────────────┐  │
│  │  System WebView        │  │ ← WKWebView (macOS) / WebView2 (Win) /
│  │  (frontend/index.html) │  │    WebKitGTK (Linux)
│  │  ┌──────────────────┐  │  │
│  │  │  Frontend (JS)    │  │  │ ← DOM-based virtual tree, diagrams,
│  │  │  app.js, scan.js, │  │  │    galaxy 3D view, i18n
│  │  │  diagrams.js, ... │  │  │
│  │  └──────────────────┘  │  │
│  │         ↕ tauri invoke  │  │ ← JSON IPC (Rust commands)
│  │  ┌──────────────────┐  │  │
│  │  │  Rust Commands    │  │  │ ← scan, file_ops, settings, trash,
│  │  │  (main.rs)        │  │  │    SMART, browser cleanup
│  │  └──────────────────┘  │  │
│  └────────────────────────┘  │
│              ↕ crate         │
│  ┌────────────────────────┐  │
│  │  diskraptor_scanner     │  │ ← Parallel directory walker (Rust)
│  └────────────────────────┘  │
└──────────────────────────────┘

The UI is pure JavaScript rendered in the system webview (no bundled Chromium — Tauri uses the OS webview: WKWebView on macOS, WebView2 on Windows, WebKitGTK on Linux). Communication with the native layer uses Tauri's IPC (window.__TAURI__.invoke). The scanner is a Rust crate (diskraptor_scanner).


Features

Scanning

  • Parallel jwalk engine (macOS) -- Multi-threaded directory traversal, 2-6x faster than single-threaded
  • walkdir engine (Windows/Linux) -- Reliable cross-platform scanning
  • Permission resilience -- Gracefully handles access-denied folders, logs errors, continues scanning
  • 20M node limit -- Scans entire drives with millions of files
  • Multi-path scan -- Scan multiple paths sequentially (path1; path2; path3)

Visualization

  • Virtual TreeView -- Renders only visible DOM nodes, handles 10M+ files
  • Pie Chart + Squarified Treemap + Bar Chart + Galaxy 3D View -- Top 50 largest files, hover tooltip, click to jump to tree
  • File type icons -- Emoji icons per file type (images, video, audio, archives, code, etc.)
  • Percentage bars -- Colored gradient bars per tree row showing size relative to parent
  • File age column -- Last modification date, sortable

Scan Timeouts

  • Preferences > Scan idle timeout controls how long a scan may go without completing work. The default is 120 seconds; values from 0 to 3600 are accepted. Set 0 to disable the watchdog; Cancel remains available. This is not a total scan-duration limit.
  • On timeout, diagnostics show recorded active directories/operations and recent OS errors. Directory enumeration cannot always identify an exact blocked file. Windows enumeration does not request UAC elevation, and the diagnostics cannot detect hidden permission dialogs.
  • Retry with a longer timeout restarts the same path from the beginning, doubles the timeout (minimum 120, maximum 3600 seconds), and leaves the saved preference unchanged. Retries are never automatic.
  • Check the connection and responsiveness of an external drive before retrying. Cancellation cannot forcibly interrupt a blocked OS call; it may remain pending until the OS returns. Its late progress is isolated from subsequent scans.
  • Windows native enumeration reports activity within a directory. The jwalk fallback (also used on Linux) still batches whole directories and may time out on a very slow batch; increase or disable the idle timeout in that case.

Interaction

  • Context menus -- Right-click anywhere (Tree, Top 50, Diagram): Open in Explorer, Open Terminal, Properties, Copy Path, Copy Size, Move to Trash, Jump in Tree, Scan this Folder
  • Keyboard navigation -- Arrow keys to navigate tree, Enter to open files
  • Drag & drop -- Drag folders from Finder/Explorer onto the app to scan
  • Resizable panels -- Drag to resize tree, diagram, detail panel
  • Dark / Light mode -- Toggle with moon/sun button, persists in settings
  • 25 languages -- Full i18n with auto-detection and language switcher

Tools

  • Find Duplicates -- Detect duplicate files by content hash (xxhash3)
  • Trash Recovery -- Browse, restore, or permanently delete trashed files
  • Empty Folders -- List empty directories, click to jump to them
  • Find Files -- Search by filename pattern in scanned results
  • File type filter -- Show only images, video, audio, archives, or PDFs
  • Export HTML Report -- Standalone shareable report with stats + chart
  • Export CSV/JSON -- Export tree data or raw stats
  • Clear Scan -- Reset all results without reloading

Cross-Platform

  • macOS -- Universal binary (x86_64 + arm64), Apple Silicon native
  • Windows -- NSIS installer, native Windows icons via SHGetFileInfoW
  • Linux -- DEB package (Debian/Ubuntu)

Download

Pre-built binaries are available on the Releases page, or grab the latest version directly from the official website: https://www.diskraptor.com.

Microsoft Store: Install DiskRaptor from the Microsoft Store

Mac App Store: Install DiskRaptor from the Mac App Store

Platform Format
macOS .dmg (signed + notarized) or .pkg
Uninstall bash installer/uninstall.sh (macOS)
Windows .exe (NSIS Installer)
Linux .deb (Debian/Ubuntu)
Website www.diskraptor.com

Homebrew (macOS & Linux)

Install the cask directly from a local checkout:

git clone https://github.com/SunMe1977/DiskRaptor.git
cd DiskRaptor
brew install --cask ./homebrew/Casks/diskraptor.rb

The cask installs the .dmg (macOS) or .deb (Linux) from the Releases page. You can also download pre-built installers from the official website: www.diskraptor.com.

To install as brew install diskraptor (no tap, no path), the cask must first be merged into the official homebrew/homebrew-cask repository (macOS only) — submit a PR against Casks/d/diskraptor.rb once the macOS .dmg with a fixed SHA256 is published. Linux has no official cask repo.


Build from Source

Prerequisites

  • Rust (latest stable) -- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  • Node.js 18+ (for the Tauri CLI)
  • Linux: WebKitGTK 4.1 (sudo apt-get install libwebkit2gtk-4.1-dev libgtk-3-dev)

macOS

git clone https://github.com/SunMe1977/DiskRaptor.git
cd DiskRaptor
chmod +x build.sh
./build.sh

Windows

build.cmd

Linux

./build.sh
# Output: dist/DiskRaptor-*.deb

Manual Build (all platforms)

# Build the Tauri app
cd src-tauri
cargo build --release
cd ..

# Build the Windows installer (NSIS)
npx tauri build --bundles nsis --ci

Testing

# Rust unit tests (scanner tree, chunking, file accumulators)
cd src-tauri && cargo test

# JS syntax check
for f in frontend/*.js; do node --check "$f"; done

# Full UI test via CDP (requires the app built with the `test-server` feature)
node tests/test_ui.mjs

Project Structure

├── src-tauri/               # Rust scanner + Tauri commands
│   ├── src/
│   │   ├── scanner/         # Tree data structures, directory walker, duplicates
│   │   ├── streaming/       # Tree chunking for UI streaming
│   │   ├── menu.rs          # Native menu builder
│   │   ├── smart.rs         # S.M.A.R.T. disk health (native APIs)
│   │   ├── trash.rs         # Trash listing / restore / empty
│   │   ├── browser.rs       # Browser cache / cookie cleanup
│   │   └── main.rs          # Tauri command layer
│   └── Cargo.toml
├── frontend/                # JS UI rendered in the system WebView
│   ├── app.js               # Main app logic
│   ├── app-modules/         # Scan, drives, settings, tools, export
│   ├── galaxyview/          # 3D galaxy visualization
│   ├── format.js            # Shared human-readable size formatting
│   └── index.html
├── installer/               # Packaging scripts
│   ├── nsis/                # Windows NSIS installer
│   ├── build.sh             # macOS/Linux build + packaging
│   └── build.cmd            # Windows build + packaging
├── homebrew/               # Homebrew cask (macOS + Linux)
│   └── Casks/diskraptor.rb
├── test_*.mjs               # UI integration tests (CDP)
└── .github/workflows/       # CI pipelines

FAQ

What is DiskRaptor? A free, open-source disk space analyzer that shows which folders and files consume your storage — with treemap, pie/bar charts and a 3D galaxy view.

Is DiskRaptor really free? Yes — MIT licensed. No ads, no premium tiers, no data collection.

Which platforms are supported? Windows (NSIS installer + Microsoft Store), macOS (DMG + Mac App Store, Intel + Apple Silicon) and Linux (DEB).

Does DiskRaptor upload my data? No. Scanning is 100% local — no telemetry, no cloud, no tracking.

How is it different from WinDirStat / WizTree? It's cross-platform, open source, handles 10M+ files smoothly, and adds duplicate finding, trash recovery, S.M.A.R.T. monitoring and a 3D view. See the comparison table above.


License

MIT License -- see LICENSE for details.


www.diskraptor.com  ·  GitHub  ·  Releases

About

Diskraptor is a high‑performance, cross‑platform build and disk analysis engine built with Rust and Tauri. It scans millions of files using native Windows, macOS, and Linux APIs, delivers instant directory insights, highlights large folders, supports dark mode, exports structured JSON reports, and ships with fully automated multi‑OS build pipelines

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

16 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages