I kept running out of disk space and never knew where it all went. Paid apps exist for this, but paying $10-30 just to see what's eating your disk felt wrong. So I built an open-source alternative.
Yeet finds stale coding projects (detects by package.json, pyproject.toml, Cargo.toml, etc.), scans for large files, clears caches (browsers, npm, pip, cargo, Docker, Homebrew - 60+ locations), cleans up Xcode on macOS (simulator runtimes are sneaky - 5-10 GB each), and has an interactive disk explorer with vim keybindings.
Technical bits: uses native du instead of Python's os.walk for ~5x faster size calculation, parallel scanning with ThreadPoolExecutor, and moves to trash by default so you can recover mistakes. Had a fun bug where sparse files (VM disk images) showed 16 TB instead of actual size.
Install: pip install git+https://github.com/sohanmanju/yeet.git (or uv tool install if you use uv). Requires Python 3.10+. Works on macOS, Linux, Windows. MIT licensed.
Found about 40 GB on my machine I didn't need.
vishwasnavadak|1 month ago
dmarwicke|1 month ago
sohanmanju|1 month ago