I created a fork of ncdutils - to list all my heavy node_modules and venv folders.
Introduction
ncdutils is a content viewer of binary .ncdu files.
.ncdu file is a export file format of the ncdu, a alternative of classic file space usage estimator program du with better performance and more features, by yorhel.
You can use the ncdu -O command to create a directory tree and export it as a .ncdu file. You can browse the directory tree from that file with ncdu or ncdutils and see each directory's disk usage.
The ncdutils project is currently in a work-in-progress state. However, I was able to successfully use it without encountering any issues.
Added features
cleanup: List unnecessary directories like node_modules, (pytohn) venv, dist and more.freq: Show most frequent directory namelargest: Show top 100 largest single files
Links
My fork repository: https://github.com/atjsh/ncdutils
Original: https://code.blicky.net/yorhel/ncdutils
Credit
I would like to thank yorhel for creating these amazing tools and open sourcing all of them.
Behind the scene
The source code was written in Crystal-lang, and I didn't know that language even existed.
I implemented these new features with Visual Studio Code's GitHub Copilot, especially GitHub Copilot Edit.
I set o3-mini as an AI engine. After 5~10 shots, it implemented one command that suited my needs. The whole thing took like just 2 hours.