Show HN: Tiny TUI for disk usage exploration
1–10 of 10 posts
Re: Show HN: Tiny TUI for disk usage exploration
#2So github copilot and I wrote a little disk usage exploration tool in rust with very few dependencies.
It's called "syz" and I pronounce it "size" since it's all about exploring disk usage and figuring out what to trim.
Someone I respect started using it and reached out saying he liked it so I figured I'd dust it off and share it here!
After `cargo install syz`, use the `syz` command to enter the interactive cli starting at the current directory. Then use arrow keys to navigate directories and compare their recursive sizes.
Re: Show HN: Tiny TUI for disk usage exploration
#3Re: Show HN: Tiny TUI for disk usage exploration
#4Re: Show HN: Tiny TUI for disk usage exploration
#5 d — send the selected item to trash
D — delete the selected item directly (was d upstream)
e — open the selected item with $EDITOR
f — open the selected item with open(1)
y — copy the selected item's path to the clipboard
i — item info panel now shows a file(1) description in the Type row
I — open a scrollable mediainfo pager for the selected fileRe: Show HN: Tiny TUI for disk usage exploration
#6Nice and minimal. How does scanning speed compare to dust or ncdu on large trees? The "hide largest item to compare smaller ones" interaction is clever, haven't seen that in other du tools.
Good question. I haven't done any work yet to make this fast so it might not be too quick...
Re: Show HN: Tiny TUI for disk usage exploration
#7If you want feature ideas, here are some I vibe-coded into my ncdu fork: d — send the selected item to trash D — delete the selected item directly (was d upstream) e — open the selected item with $EDITOR f — open the selected item with open(1) y — copy the selected item's path to the clipboard i — item info panel now shows a file(1) description in the Type row I — open a scrollable mediainfo pager for the selected fi…
Re: Show HN: Tiny TUI for disk usage exploration
#8If you want feature ideas, here are some I vibe-coded into my ncdu fork: d — send the selected item to trash D — delete the selected item directly (was d upstream) e — open the selected item with $EDITOR f — open the selected item with open(1) y — copy the selected item's path to the clipboard i — item info panel now shows a file(1) description in the Type row I — open a scrollable mediainfo pager for the selected fi…
I hadn't even thought about these -- inspecting and deleting from the TUI makes a lot of sense.
Re: Show HN: Tiny TUI for disk usage exploration
#9Earlier quoted context omitted.
I hadn't even thought about these -- inspecting and deleting from the TUI makes a lot of sense.
I'd argue against adding most of these. While a delete/trash function makes sense for a tool aimed at freeing up disk space, adding features like opening files with $EDITOR, open(1), or mediainfo crosses the line into file manager territory (like ranger or yazi). It feels like it goes against the "tiny" and minimal core philosophy of the tool. Do one thing well!
Re: Show HN: Tiny TUI for disk usage exploration
#10Earlier quoted context omitted.
I hadn't even thought about these -- inspecting and deleting from the TUI makes a lot of sense.
I'd argue against adding most of these. While a delete/trash function makes sense for a tool aimed at freeing up disk space, adding features like opening files with $EDITOR, open(1), or mediainfo crosses the line into file manager territory (like ranger or yazi). It feels like it goes against the "tiny" and minimal core philosophy of the tool. Do one thing well!