rip 1.0.1 copy "rip: ^1.0.1" to clipboard
rip: ^1.0.1 copied to clipboard

Fast, safe, and beautiful CLI & TUI cleanup tool for macOS, Windows, and Linux (Review, Inspect, Purge).

RIP โ€” Review, Inspect, Purge (rip) #

Fast, safe, and beautiful CLI & TUI cleanup tool for macOS, Windows, and Linux, written in Dart with Nocterm.

License: MIT Repository

rip is a full-fledged system and software project cleanup tool. Inspired by Mole, rip scans and safely reclaims gigabytes of disk space while guaranteeing system safety through strict path validation and user whitelist protections.


๐Ÿš€ Features #

  • ๐Ÿ–ฅ๏ธ Interactive Nocterm TUI: Sleek 2-pane terminal user interface with compact borders, powered by nocterm: ^0.8.0.
  • โšก Concurrent Parallel Scanning: Scans all 7 categories concurrently in parallel via Future.wait for maximum speed.
  • ๐Ÿ“ก Live Streaming & Animated Spinner: Real-time streaming item discovery with live jumping item counts, byte sizes, and smooth braille dot spinners (โ ‹).
  • ๐Ÿ›ก๏ธ Safety-First Design: Guarantees zero accidental deletions of active user documents, code, or OS binaries. Trash & Downloads and Leftovers are safely un-checked by default.
  • โš™๏ธ System & App Caches: Reclaims caches from VS Code, Xcode, Zed, Slack, Discord, Telegram, Zoom, Spotify, Chrome, Safari, Firefox, Arc, etc.
  • ๐Ÿ› ๏ธ Developer Tooling: Cleans Xcode DerivedData, Simulator logs, Rust/Cargo caches, Go build caches, npm/yarn/pnpm/Bun caches, Pip/Poetry caches, CocoaPods, and Maven/Gradle repositories.
  • ๐Ÿ“ฆ Project Artifact Purge: Deep-scans code directories for heavy build folders (node_modules, target, build, .dart_tool, dist, .next, .nuxt, venv, etc.).
  • ๐Ÿ—‘๏ธ Trash & Installers: Cleans system Trash and removes leftover installer files (.dmg, .pkg, .iso, .msi, .deb, .rpm, .AppImage) in Downloads.
  • ๐Ÿงน Uninstalled App Leftovers: Scans for orphaned configuration and cache folders left behind by uninstalled applications.
  • ๐Ÿ›ก๏ธ Whitelist Protection: Exclude custom paths or directories persistently (~/.sofluffy/rip/whitelist.json).
  • ๐Ÿ“œ Operation Audit History: Records all cleanup runs with size saved breakdown (~/.sofluffy/rip/history.json).

๐Ÿ“ฅ Installation & Running #

Run directly via Dart #

dart run bin/rip.dart           # Launch Nocterm Interactive TUI

Global Install #

dart pub global activate --source git https://github.com/simonpham/rip.git
rip                             # Launch interactive TUI anywhere

๐Ÿ’ป CLI Commands #

1. Interactive Terminal UI (TUI) #

rip

Keybindings:

  • Tab: Switch focus between Categories and Items
  • โ† / โ†’ (or h / l): Move focus between Category and Detail panes
  • โ†‘ / โ†“ (or k / j): Navigate items
  • Space / Enter: Toggle selection (also supports mouse clicks)
  • S: Cycle size sorting mode (largest first โ†’ smallest first โ†’ default)
  • A: Toggle Select All / None
  • N: Unselect All
  • C: Execute Safe Cleanup
  • D: Run Dry-Run Simulation
  • W: Toggle Whitelist on item / Open Whitelist View
  • r: Refresh active focused category
  • Shift + R: Rescan all categories
  • Esc / X: Cancel background scan
  • Q: Quit

2. CLI Clean #

rip clean                     # Scan & clean system & app caches
rip clean --dry-run           # Preview cleanup without deleting files
rip clean -y                  # Auto-confirm cleanup
rip clean -c system -c dev    # Filter by specific categories
rip clean --json              # Output result as JSON

3. Project Build Artifact Purge #

rip purge                     # Purge build folders in current directory
rip purge /path/to/code       # Target specific workspace folder
rip purge --all               # Purge build folders across all workspace directories (~/Projects, etc.)
rip purge --dry-run           # Dry-run preview

4. System Scan #

rip scan                      # Print scan report and reclaimable space
rip scan --json               # Output scan report as JSON

5. Manage Whitelist #

rip whitelist                 # List whitelisted path exclusions
rip whitelist add ~/Projects  # Whitelist a folder or file
rip whitelist remove ~/Path   # Remove folder from whitelist

6. View History #

rip history                   # View past cleanup logs and total space freed

๐Ÿ“„ License #

Licensed under the MIT License. Repository: https://github.com/simonpham/rip

1
likes
160
points
113
downloads

Documentation

API reference

Publisher

verified publishersofluffy.io

Weekly Downloads

Fast, safe, and beautiful CLI & TUI cleanup tool for macOS, Windows, and Linux (Review, Inspect, Purge).

Repository (GitHub)
View/report issues

Topics

#cli #tui #cleaner

License

MIT (license)

Dependencies

args, nocterm, path

More

Packages that depend on rip