
🗂️ Leaves is a disk usage analyzer inspired by WinDirStat and QDirStat, but designed to run entirely in text mode.
The tool displays files and directories as nested rectangles. Each rectangle’s area roughly represents its size, so large files stand out quickly. A sidebar tree lets users navigate, select items, and focus on a particular folder.
Because it works with characters, the visualization is less precise than a graphical interface, but it works well over SSH or on servers without a desktop. The program is written in Rust and can be installed with Cargo.
🔍 Leaves ignores hidden files and .gitignore rules by default, lets users include them with options, groups files by extension through x-ray mode, and expands or summarizes directories while running. Color themes and environment variables can also customize the interface.
💡 Explanation in a nutshell#
A treemap turns a difficult-to-read list into a map: the more space a file uses, the more space it receives on screen. Leaves brings that idea to the terminal, so you can discover what is filling a disk even when you only have remote access.
More information at the link 👇
