hn.today

Ncdu: An Updated Fork

github.com16 points10 comments
Screenshot of Ncdu: An Updated Fork

An updated fork of Ncdu reimplements the NCurses Disk Usage tool in Zig (branded NCDU-ZIG) to provide a fast, simple disk-usage analyzer with an ncurses interface that can run in minimal POSIX-like environments. It targets use on remote servers without graphical toolkits while remaining useful on desktops, and marks a clear implementation change from the original C-based ncdu (1.x) to a Zig-based 2.x branch. The project emphasizes finding "space hogs" quickly and portability across FreeBSD, Linux and macOS environments.

The codebase includes source files, build.zig, a Makefile, README, ChangeLog and a manual page (ncdu.1). Build and install options support the Zig build system or straightforward make targets (example: make; sudo make install PREFIX=/usr). Required dependencies are Zig 0.17, ncurses and libzstd. The fork shows active development history (597 commits) and minimal community signals (5 stars, 1 fork) under the rcalixte account, and ships with license files. The description and files make it clear this is a practical reimplementation for environments where a lightweight, terminal-based disk usage inspector is preferred.

Read on github.com10 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Other

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.