nextclean
♥Cherished
A command-line utility written in Go that recursively scans your filesystem to locate and remove Next.js build artifacts (.next, out, node_modules/.cache), freeing up disk space without manual cleanup. It intelligently skips irrelevant directories during scanning and includes a dry-run mode to preview deletions before committing changes.
Clauded With Love Rating
7.2 / 10
nextclean is a Go CLI tool that recursively scans filesystems to find and remove Next.js build artifacts like .next, out, and node_modules/.cache directories. It includes safety features like dry-run mode and intelligent directory skipping to avoid false positives.
Code Quality6.5
Usefulness8.5
Claude Usage7.0
Documentation8.0
Originality6.0
Highlights
- ✓Smart false-positive prevention by checking for next.config.* files before deleting 'out' directories
- ✓Comprehensive installation options including curl one-liner, Go install, and source builds
- ✓Well-designed CLI interface with logical flag combinations and clear usage examples
To Improve
- →Add unit tests and error handling for edge cases like permission issues or corrupted filesystems
- →Implement progress indicators and size estimates during scanning for better user experience on large directories