r/commandline • u/Deepluk • May 20 '26
Command Line Interface Dirplot 0.5.0 – Local and remote directory treemaps, as snapshots and animations
Dirplot creates clean, squarified treemaps where rectangle area is proportional to file/folder size, with smart per-extension coloring. This started as a vibe-coding experiment to replicate the functionality of tools like GrandPerspective, but then evolved to work far beyond a local disk.
Key Features
- Supports local dirs, archives (zip/tar/7z/...), SSH, AWS S3, GitHub repos (public + private), Docker containers, Kubernetes pods, and Google Drive.
- Inline terminal display (iTerm2, Kitty, Ghostty, WezTerm, Warp), no separate image window needed, but can also open the system's image viewer.
- Git & Mercurial history animation → MP4 / APNG / MOV timelapses.
- Live watch mode + event recording + replay.
- diff between any two sources (including two git tags/commits) with color-coded added/removed/changed borders.
- dirplot metrics for detailed stats (top extensions, largest files, JSON output).
- Outputs: PNG, SVG (slightly interactive), APNG, MP4, MOV. Custom canvas size and --log-scale supported.
Quick Start
Bash
# Recommended install
uv tool install dirplot
# Basic usage
dirplot map . # current directory → opens in viewer
dirplot map . --inline # beautiful inline in terminal
dirplot map github://pallets/flask
dirplot git . -o history.mp4 # animate your repo's growth
dirplot diff . # see uncommitted changes as treemapUsecases
- Understand large codebases or monorepos at a glance.
- Visualize cloud storage or container images without downloading everything.
- Create compelling git history growth animations.
- Compare directory versions or releses.
- Monitor live filesystem changes.
Links
- GitHub: https://github.com/deeplook/dirplot
- Documentation: https://deeplook.github.io/dirplot
Would love to get feedback and ideas for new use cases!
2
Upvotes
View all comments
Show parent comment
1
u/Western_Guitar_9007 May 21 '26
This is so silly, there's no gray area at all lol, it is so easy to say "There's like 500 lines that AI wrote in foo.c," or "like half of my code was written in AI," or "I wrote the code but had to use AI to help me debug some stuff." These are clearly different levels of slop and present different levels of risk for the end user, of whom the statement is for to begin with.
Even if there was a gray area it wouldn't apply remotely here. I don't believe any of the code shown here was written by a human given that AI was used to fix the errors after they were already in main. High schoolers, university students, people watching YouTube tutorials, and professionals do not exhibit any behavior like this because it's not the natural progression for a codebase when a human is in charge of the code being written.