Dirplot
Dirplot is a tool that creates nested treemap images for directory trees and can display them in various formats. It offers features such as animating git history, scanning remote filesystems, and visualizing codebases. The tool is compatible with multiple operating systems and supports various output formats for both static and animated visualizations.
- ▪Dirplot can visualize directory structures and file sizes using a squarified treemap layout.
- ▪It allows users to inspect files without unpacking archives and compare different versions of directories or repositories.
- ▪The tool supports inline display in terminal applications and can animate git history or filesystem events.
Opening excerpt (first ~120 words) tap to expand
dirplot¶ dirplot creates nested treemap images for directory trees. It can display them in the system image viewer or inline in the terminal (iTerm2 and Kitty protocols, auto-detected). It also animates git history, watches live filesystems, and scans remote sources. pip install dirplot dirplot map . # treemap of current directory, opens in system viewer dirplot map . --inline # display inline in terminal (iTerm2 / Kitty / Ghostty) Use cases¶ Find what's eating your disk — map ~/Downloads, ~/.cache, or node_modules across a monorepo to spot the culprits at a glance. Inspect before you install — visualise a Python wheel, JAR, or RPM without unpacking it. Understand a codebase instantly — map a legacy project or a large GitHub repo to grasp its structure before reading a single line.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at Github.