Remix.run Logo
▲ Dfdu: Fast disk usage browser for the terminal and desktop(github.com)
52 points by b--l 2 days ago | 13 comments
▲baalimago 3 hours ago | parent | next [-]

Neat! I don't mean to do the classic HN "comment to promote other thing" (even if I technically am), but I built https://github.com/baalimago/duls which also spawned from wanting to have a faster du/df experience. Pivot I took with duls is to bake in context from files directly into the view, and summarize "all you need to know" into a limited terminal space (as opposed to a tui). It also scans until the time runs out, giving best effort within that window, continuously appending context.

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!

▲Tepix 3 hours ago | parent | prev | next [-]

Why not upstream improvements to ncdu? Have you tried?

▲wging 34 minutes ago | parent [-]

Yorhel, the author of ncdu, died earlier this year (March).

▲wanghq 2 hours ago | parent | prev | next [-]

Nice, wish you great success so you can acquire my dfdu.com in the future :)

▲webprofusion an hour ago | parent | prev | next [-]

Looks great! I'm not convinced it's any faster than Treesize Free currently

▲webprofusion an hour ago | parent [-]

I like the Cleanup view !

▲webprofusion an hour ago | parent [-]

Seems to have a bug (Windows) where it like small files (like json) are Exabytes in size (EiB) so they appear before GB sized files. This in the "Largest" view.

▲wolfi1 an hour ago | parent | prev | next [-]

why should I install this via 'curl | sh'?

▲bdzr 36 minutes ago | parent [-]

because it's no less safe than installing through a package manager; that code hasn't been audited either.

▲pcj-github 3 hours ago | parent | prev | next [-]

loving this

▲Kushvinthe 5 hours ago | parent | prev [-]

Been using ncdu and gdu for years, curious how this compares on speed for huge directories with lots of small files (like node_modules). Having both a TUI and a desktop UI in one tool is a nice touch though.

▲pragmatick 4 hours ago | parent [-]

5.5 seconds for dfdu, 8.5 seconds for ncdu on my projects folder (1.4 million items).

10 seconds for dfdu, 23 seconds for dfdu on my home directory (2.6 million items).

▲gozucito 3 hours ago | parent [-]

> 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! ;)