Expand description
ยงnull-e ๐ค
The Friendly Disk Cleanup Robot - Send your cruft to /dev/null!
null-e helps developers reclaim disk space by finding and cleaning
development artifacts like node_modules, target, .venv, and 30+ more.
ยงFeatures
- Multi-language support: Node.js, Rust, Python, Go, Java, .NET, Swift, and more
- Git integration: Protects uncommitted changes
- Trash support: Safe deletion with recovery option
- Parallel scanning: Fast directory traversal
- Interactive TUI: Beautiful terminal interface
- Docker support: Clean dangling images and volumes
ยงQuick Start
use null_e::prelude::*;
// Create a scanner with default plugins
let registry = PluginRegistry::with_builtins();
let scanner = ParallelScanner::new(std::sync::Arc::new(registry));
// Scan a directory
let config = ScanConfig::new("/path/to/projects");
let result = scanner.scan(&config).unwrap();
println!("Found {} projects with {} cleanable",
result.projects.len(),
humansize::format_size(result.total_cleanable, humansize::BINARY)
);ยงArchitecture
null-e uses a plugin-based architecture where each language/framework
is handled by a dedicated plugin. Plugins implement the Plugin trait
and register themselves with the PluginRegistry.
.---.
|o o|
| ^ | โโโโโโโโโโโโโโโโโโโ
| === | โ CLI/TUI โ
`-----' โโโโโโโโโโฌโโโโโโโโโ
/| |\ โ
โโโโโโโโโโผโโโโโโโโโ
โ Core Engine โ
โ - Scanner โ
โ - Cleaner โ
โโโโโโโโโโฌโโโโโโโโโ
โ
โโโโโโโโโโผโโโโโโโโโ
โ Plugin Registry โ
โ - Node.js โ
โ - Rust โ
โ - Python โ
โ - ... โ
โโโโโโโโโโโโโโโโโโโModulesยง
- analysis
- Analysis modules for deeper codebase insights
- cache
- Scan result caching for faster subsequent scans
- caches
- Global developer cache detection and cleaning
- cleaners
- Specialized cleanup modules for different development environments
- config
- Configuration management
- core
- Core types and traits for DevSweep
- docker
- Docker integration for cleaning containers, images, and volumes
- error
- Error handling for DevSweep
- git
- Git integration for safety checks
- plugins
- Plugin system for DevSweep
- prelude
- Prelude module for convenient imports
- scanner
- Parallel filesystem scanner
- trash
- Trash support - safe deletion with recovery
- tui
- Terminal User Interface