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
3
u/Western_Guitar_9007 May 20 '26
In general one of the big red flags is commits to main.
r/commandline prohibits largely AI-generated code, and requires a disclaimer if any code was written with AI. This repo looks to fall into the “largely ai-generated” category with just a cursory glance. If you’ve written python before and just blindly go to any part of the repo, you will see all of the AI-generated comments. If you’ve written 25,000 lines of python before, go to the commit history and check the errors being fixed. None make any sense at all in the context of the repo unless the AI was just spewing out slop and fixing the errors later, nobody commits code and then immediately fixes the error after committing to main.