
D
Duls
Open Source๐ Alt to ncduCombine du and ls for intelligent directory size exploration
๐ณ Self-Hostable๐ No Sign-upโก Editorial Signal: 72/100โ
8 Stars
go install github.com/baalimago/duls@latestDuls is a command-line utility that merges the recursive disk usage metrics of 'du' with the file listing clarity of 'ls'. It helps developers quickly identify space-hogging directories and files within a single, unified terminal interface.
Displays file and folder sizes alongside standard listing attributes in one view.
Quickly calculates disk space consumption recursively across complex directory trees.
Fast execution with minimal resource overhead for rapid terminal workflows.
Auditing local development environments to clean up forgotten node_modules or build caches
Quickly inspecting remote server disk utilization via SSH without installing heavy diagnostic tools
Scripting disk space checks where traditional du and ls outputs need to be combined
Unlike ncdu which provides a dedicated interactive screen, Duls focuses on combining traditional text-based output streams for quick inspection and scripting.
System administrators, DevOps engineers, and developers who spend significant time navigating and cleaning up filesystem storage via terminal.
Duls is engineered to eliminate critical operational friction in devtools & cli. From an architectural standpoint, the system adopts a local-first, self-contained deployment posture, ensuring streamlined onboarding and minimal setup overhead.
Because the underlying code is fully open-source, engineering teams can audit security implementations, inspect telemetry vectors, and extend functionality via custom fork without risk of sudden vendor deprecation.
Duls is a modern command-line storage exploration utility engineered in Go that combines the recursive disk allocation auditing of the standard Unix 'du' tool with the listing clarity and sorting elegance of 'ls'. Architecturally, Duls addresses the runtime inefficiencies of chaining Unix shell pipes (e.g., 'du -sh * | sort -h') by executing a unified, highly concurrent filesystem traversal engine within a single compiled binary. At its execution core, Duls utilizes Go's standard library filepath.WalkDir and os.ReadDir primitives, orchestrating directory traversal across multi-threaded goroutine worker pools. Rather than merely accumulating nominal file length bytes, Duls performs direct low-level POSIX stat calls via syscall.Stat_t, interrogating the allocated block count (st_blocks multiplied by 512 bytes) to compute true physical filesystem storage consumption accurately. This distinction is critical for evaluating sparse files, compressed filesystems, and unallocated metadata overhead. To prevent infinite loops and skewed aggregations across complex directory graphs, the traversal engine tracks filesystem device and inode tuples, correctly handling hard links and cyclic symbolic references. Intermediate directory sizes are aggregated in-memory using compact tree data structures before undergoing deterministic descending sort operations prior to terminal rendering.
Developer ergonomics in Duls center on speed, visual clarity, and muscle-memory alignment with standard Unix command paradigms. Installation is seamless through the standard Go toolchain via 'go install github.com/baalimago/duls@latest' or through pre-compiled static binaries for Linux, macOS, and Windows. The command-line interface accepts intuitive flags controlling recursion depth, sorting preferences, and human-readable output formatting (rendering byte counts automatically in KiB, MiB, GiB, or TiB). Unlike heavyweight terminal user interface (TUI) utilities such as ncdu or gdu that take over the terminal screen with modal curses windows, Duls writes formatted tabular streams directly to standard output. This design makes it instantly composable with traditional command-line pipelines, enabling developers to redirect results cleanly into head, grep, or remote logging systems. Visual output employs subtle ANSI color-coding to distinguish directories from regular files and highlight massive space-consuming nodes at a glance. Error reporting gracefully skips permission-restricted directories with clean, non-fatal stderr diagnostics, ensuring that administrative scans continue smoothly across large production filesystems without halting mid-traversal. The resulting CLI experience reduces context-switching during critical production disk space triage operations over remote SSH sessions on busy production nodes.
Duls is released as open-source software under the permissive MIT License, granting individual developers, systems administrators, and commercial enterprises unencumbered rights to inspect, build, modify, and distribute the binary across internal fleets. From a Total Cost of Ownership evaluation, Duls introduces zero recurring software licensing costs or vendor contracts. Its compiled Go runtime yields a self-contained, statically linked binary with zero shared library dependencies (glibc-free when built with CGO_ENABLED=0), enabling instant portability across minimal Linux distribution images like Alpine, distroless containers, and bare-metal servers. The runtime overhead is negligible: startup latency measures under five milliseconds, and execution memory consumption remains tightly bounded between fifteen and thirty-five megabytes of RAM even when scanning deep filesystem hierarchies with hundreds of thousands of files. An audit of network activity confirms that Duls executes entirely offline with absolute operational privacy: no telemetry beacons, version checks, or analytics pings escape network interfaces. This air-gapped operational guarantee makes Duls compliant with strict enterprise security policies and sensitive server environments, ensuring complete infrastructure audit safety, regulatory compliance, and computational predictability across mission-critical corporate infrastructure and high-compliance data centers.
Duls is production-ready as a high-efficiency utility for DevOps engineers, site reliability engineers, and system administrators who routinely audit server storage, debug ballooning container volumes, and clean up abandoned build artifacts over SSH sessions. Its non-interactive, stream-oriented architecture provides a faster and more scriptable alternative to interactive TUI monitors when triaging disk exhaustion emergencies. However, for continuous background filesystem monitoring or multi-terabyte enterprise NAS storage arrays where indexing databases are required, teams should rely on persistent storage monitoring agents like Prometheus node-exporter or dedicated storage analytical suites. For optimal production rollout, platform teams should package the static binary into standardized administrative toolboxes, jump hosts, and container base images. Configure administrative shell aliases (e.g., alias duls='duls -h -d 2') across developer workstations and staging bastions. When auditing network-attached storage mounts (such as NFS or SMB shares), pass explicit depth constraints to prevent excessive network roundtrip latency during remote directory metadata enumeration, and embed duls within automated cron cleanup scripts to log directory growth trends over time, preventing unplanned disk exhaustion outages, container eviction events, and filesystem write locks across production Kubernetes cluster worker nodes.
Duls is 100% free and open-source under an open software license. There are no mandatory monthly subscription fees to access the source code or run it locally.
Unlike ncdu which provides a dedicated interactive screen, Duls focuses on combining traditional text-based output streams for quick inspection and scripting.
Yes. Duls is designed for self-hosting via Docker or direct server deployment. Running on your own infrastructure allows you to maintain direct control over your local compute, database storage, and operational environment.
No account creation or credit card is required to evaluate Duls. You can immediately access core features or run it locally without onboarding friction.
You can launch or test Duls quickly using the following command: go install github.com/baalimago/duls@latest Visit the official portal at https://github.com/baalimago/duls for documentation and guides.
ToolsRadar maintains strict editorial independence. This review of Duls was conducted using our standardized 5-pillar evaluation framework (Setup, Code Auditability, Maintenance Vitality, Cost Advantage, and Community Signal). We do not accept paid placements to inflate benchmark scores.
Maintainers of Duls and community advocates can display this real-time verification badge in your GitHub README, official documentation, or landing page.
[](https://lordorange.top/tool/duls)<a href="https://lordorange.top/tool/duls" target="_blank"><img src="https://lordorange.top/badge/duls.svg" alt="Featured on ToolsRadar" /></a>Compare other trending developer tools and open-source projects in this space.
Cross-referenced architectural playbooks and category rankings featuring Duls.
High-signal, production-tested utilities with transparent codebases and active communities.
Take back data ownership by replacing expensive monthly cloud subscriptions with self-hosted software.
The definitive guide to escaping SaaS subscription sprawl with Coolify, Traefik, Tailscale, and automated S3 backup pipelines.
Replace sluggish 1970s Unix utilities with blisteringly fast, memory-safe Rust and Go modern CLI powerhouses.