Show HN: Yeet – CLI tool to find and reclaim disk space

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.
4 points sohanmanju 10 months ago 3 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton