A Rust CLI that scans a drive for regenerable build output directories (e.g., node_modules, target, .next) and reports their size, with an optional dry-run-first deletion mode.

Stars

14

7-day growth

No data

Forks

0

Open issues

0

License

MIT

Last updated

2026-07-29

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It provides a safety-first approach (dry-run by default, prompt before delete, marker-gating to avoid false positives) and offers a machine-readable streaming JSON output contract, enabling real-time UI integration (e.g., the included Electron example).

Who it is for

  • Developers managing multiple projects
  • System administrators freeing disk space
  • CI/CD pipeline engineers
  • App developers building disk-cleaning UIs

Use cases

  • Periodic cleanup of build artifacts across many repositories
  • Reclaiming space before CI builds or after failed builds
  • Integrating a cleaning UI into a desktop application (e.g., Electron)
  • Auditing total build waste across a filesystem

Strengths

  • Marker gating prevents accidental deletion of hand-written directories with common names
  • Streaming JSON events (`stream-json`) allow real-time progress and match display
  • Input-format contract (`--input-format`) supports scan-then-delete workflows from external UIs
  • Built-in safety: dry-run default, confirmation prompt, symlink avoidance

Considerations

  • Only targets known directory names (configurable but requires explicit listing)
  • Marker file requirement may miss some projects if the expected marker (e.g., Cargo.toml for target) is absent
  • Stdin input limited to 10,000 paths and 16 KiB per line

README quick start

Usage

Description

cleans build files

Related repositories

Similar projects matched by category, topics, and programming language.

l0ng-ai
Featured
l0ng-ai GitHub avatar

tty7

tty7 is a fast, GPU-accelerated terminal workbench with persistent sessions, built-in input tools, SSH support, and coding agent awareness.

Developer ToolsCLI & Terminal
359
steelbrain
Featured
steelbrain GitHub avatar

reims-vgpu

reims-vgpu is an experimental virtual GPU for macOS guests that uses QEMU to decode the guest's GPU command stream and execute it through Metal or Vulkan, leveraging the built-in AppleParavirtGPU driver without requiring custom kexts.

Desktop Apps
143
m-novotny
Featured
m-novotny GitHub avatar

memguard-rs

A Rust library that provides secure memory handling primitives including zeroization on drop, memory locking, constant-time comparison, and compile-time guarded regions, with zero dependencies and no_std support.

Embedded & IoTSecurity
131