Story

Show HN: DevSweep – A TDD-backed CLI to clean artifacts safely

ascinfo Tuesday, February 03, 2026

Hi HN,

I built DevSweep because I was tired of manually hunting down abandoned node_modules, dangling Docker images, and massive Gradle/Maven caches to free up space on my Mac.

I looked at existing "system cleaners," but they are often too generic (clearing browser caches) or too opaque. On the other hand, finding random rm -rf snippets online felt risky for a production machine.

DevSweep is designed to be:

Safe: It features a comprehensive test suite (100+ tests/assertions). It validates targets before deleting.

Specific: It only targets developer artifacts (Docker, Gradle, Maven, NuGet, Node.js, old JetBrains logs).

Auditable: Currently written in pure Bash so you can see exactly what it does.

Roadmap: I'm currently planning a rewrite in .NET 10 / Native AOT to ship a standalone binary with a proper TUI (using Spectre.Console), but the current Bash version is stable and usable.

I'd love your feedback on the safety checks or suggestions for other dev tools/stacks to add.

1 0
github.com
Visit article Read on Hacker News