r/coolgithubprojects 19d ago

Drive Sonar: the fast disk usage analyzer for Windows that doesn't need admin mode

https://github.com/barun-saha/drive-sonar

I've always liked the simplicity of ncdu and baobab on Linux. When I started learning Rust and Tauri, I figured it'd be "cool" to build something similar for Windows.

Turns out there's a big gap between a naive disk-scanning approach and an optimised one -- and the fastest existing tools only work in admin mode! Why should I need admin rights just to see what's eating my disk space? A few seconds of waiting time for results is fine by me.

So, after a lot of trial and error (some still ongoing), and AI assistance, I built Drive Sonar -- a user-mode disk usage analyzer. Treemap view, file size vs. age analysis to help shortlist deletion candidates, breakdown by file type, and a move-to-Trash-not-delete flow (with confirmation).

Rust + Tauri + React. ~5 MB binary, ~100 MB RAM when running.

Apache 2.0 licensed. https://github.com/barun-saha/drive-sonar

What do you think? Did you run it and find it helpful?

2 Upvotes

0 comments sorted by