Latest / Developer tools

Leaves

github.com · Open source · Maintained

Text-mode disk usage treemap visualizer

Visit github.com ↗Share

  • disk usage
  • disk usage analyzer
  • terminal disk treemap
  • du alternative
  • ncdu alternative
  • disk space visualizer
Stars
410
Forks
9
Open issues
3
Last commit
Releases
4
Found
4 months ago

GitHub figures as of . They are context, not a ranking.

A terminal disk analyzer that draws a treemap instead of a single-directory list. It targets containers and remote servers where graphical tools are unavailable and du or ncdu feel limiting.

Positioned as an alternative to ncdu, WinDirStat, KDirStat.

Repository description on GitHub: “A text-mode disk usage visualization utility”

What it does

  • Treemap of nested rectangles sized by disk usage
  • Text-mode interface that works over remote shell connections
  • Written in Rust with pre-built binaries for select platforms
  • Nix packaging available

Good for

  • Find what fills a remote server's disk from a terminal
  • See a whole directory tree at once instead of one folder
  • Check disk usage inside a container

Suits: Sysadmins and developers on servers without a graphical desktop.

Worth knowing: Character-level resolution makes the treemap a coarser approximation than a graphical tool.

What you can try

Clone the repo and build it with cargo.

Install

brew install leaves

Confirmed against the package registry. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw Leaves on , when patonw posted it to Show HN. The oldest published release on GitHub is v0.1.0, dated . Leaves had been shipping tagged releases for 10 days before it was found. 4 releases have been published in total; the latest is v0.2.0-cross ().

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 93 points, 31 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 93 points, 31 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (4 in total, busiest month 4).
  1. Repository created on GitHub: patonw/leaves
  2. Release v0.1.0
  3. Release v0.1.1
  4. Release v0.2.0
  5. Release v0.2.0-cross
  6. Found: patonw posted it to Show HN. Show HN
  7. Day-7 check recorded by Kip (details)
  8. Day-30 check recorded by Kip (details)

Quick answers

When was Leaves released?
Its first tagged release on GitHub is dated 6 Jul 2026. Kip found it on Show HN on 16 Jul 2026.
Is Leaves open source?
Its source is public on GitHub at patonw/leaves under the MPL-2.0 licence.
What does Leaves run on?
Command line.
Is Leaves free?
It is open source, so the code is free to read and run; check the licence for terms.
Is Leaves still maintained?
It had a commit or release in the last year, though not in the last 90 days, as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositorypatonw/leaves
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-48936389. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.