Skip to content

Panonim/treegraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

treegraph

WizTree-like disk usage TUI, written in Rust.

treegraph scans a directory tree and shows disk usage as a squarified treemap right in your terminal, so you can spot what's eating space at a glance instead of digging through du output. Navigate into folders, sort by size, name, or file count, filter by regex, and delete or open files without leaving the TUI. Scanning is multi-threaded (via jwalk), shows live progress as it runs, and skips virtual/system paths (/proc, /sys, System32, System Volume Information, ...) that are slow or meaningless to scan.

treegraph preview

Install

Install script (recommended)

Downloads the latest prebuilt binary for your platform, verifies its checksum, and puts it on your PATH.

Linux / macOS

curl -fsSL https://raw.githubusercontent.com/Panonim/treegraph/main/install.sh | sh

Installs to /usr/local/bin (or ~/.local/bin if that isn't writable). Override with INSTALL_DIR=... or pin a tag with VERSION=v1.0.0.

Windows (PowerShell)

irm https://raw.githubusercontent.com/Panonim/treegraph/main/install.ps1 | iex

Installs to %LOCALAPPDATA%\Programs\treegraph and adds it to your user PATH.

Prebuilt binaries (no Rust needed)

Grab an archive for your platform from the latest release, extract it, and put the treegraph binary on your PATH. Builds are published for Linux (x86_64, arm64), macOS (Intel, Apple Silicon), and Windows (x86_64).

Debian/Ubuntu users can install a .deb instead:

sudo dpkg -i treegraph_*_amd64.deb   # or _arm64.deb

From source

cargo install --path .

Usage

treegraph [PATH] [OPTIONS]
  • PATH — directory to scan (defaults to / on Unix, or all drive letters on Windows)
  • -r, --regex <REGEX> — only count files whose name matches this regex
  • --threads <N> — scan threads (defaults to CPU core count)
  • -t, --tree — print the tree straight to the terminal instead of launching the TUI

About

Fast and simple TUI tool for viewing your disk usage based on containers

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors