111 points · by b--l · 2d ago · 45 comments
https://tangled.org/zip.mu.social/getael
Getǣl is a read-only cross-platform home directory disk usage visualizer. It's written in Rust, runs in a tray or as a service, and opens a browser view with no less than 8 different views of what is using space in your homedir. I wanted it restricted to my $HOME because that was where most of the space was being used, mostly on Rust/cargo builds, but also the Library folder on macOS was bugging me.
It stays in memory and reads file events to keep up to date with your disk usage, saving it in a trimmed down sqlite db. Also shows time machine local snapshots if that's enabled on your macOS box. I think the constellation view is my favourite :)
(tangled is a git host that runs on ATProto, the same thing behind Bluesky)
Thank you for the praise, very much appreciated
Taking suggestions on ways to improve the others, or just fork and add your own, then upstream PR, whatever your preference is.
It's not at all as feature complete as Dfdu, and it doesn't try to be. Might serve for some inspiration for features. Good job OP!
https://github.com/jordond/dfdu/commits/main/
The commit history is roughly 99% bot generated, tweaking dependency versions. What's the value of all these? Is it to mostly simulate an active project?
ocy is a Rust CLI for cleaning up build caches, etc. I.e. it only does that part but tries to do it fast and thorough. It e.g. finds worktrees in hidden folders and the like.
It is also parallelized and usually takes seconds to build a list of stuff that can go. It supports filtering by language/tooling.
Do you inspect the code you run when installing from a package manager? Those often can have hooks that run as root IIRC.
Use a package manager.
What do you mean subject to more scrutiny? My understanding is the initial commit is scrutinized, and afterwards changes go through completely unreviewed. No Debian (for example) maintainer is checking release diffs to "over 70,000 packages".
Or anything you want about a repo, it's pretty useful for learning new stuff.
Speed comparison:
1.2TB, around 28M files
dfdu: 1m35s
gdu: 12s
10 seconds for dfdu, 23 seconds for dfdu on my home directory (2.6 million items).
I assume your last dfdu was meant to be ncdu ?
Thanks for the numbers! This looks extremely promising! 30-60% faster is incredible.
Great job OP! Way to reduce the amount of suffering in the world! ;)
Yes, sorry for the typo.