Skip to main content

poof. your dev junk vanished. Smart cleanup for developers.

Project description

vanish — poof. your dev junk vanished.

PyPI version License: MIT

Every AI-assisted coding session spins up a fresh venv, node_modules, or build cache. Multiply that by dozens of projects and your disk is quietly eaten alive. vanish finds every stale environment across your entire machine and reclaims the space in seconds — so you can keep vibe coding without ever worrying about storage.

pipx install vanish && vanish scan --dry-run

Why vanish?

Vibe coding with Cursor, Copilot, Bolt, Windsurf, or any AI tool is incredibly productive — but it leaves behind a trail of heavyweight folders that pile up fast:

Folder Typical size Created by
venv / .venv 200 MB – 2 GB Every Python project
node_modules 300 MB – 1 GB+ Every JS/TS project
__pycache__ 1 – 50 MB Python runtime
build / dist varies Every build cycle

A few weeks of vibe coding can silently consume 20–50 GB. vanish scans your entire home directory, identifies projects you haven't touched in a while, and cleans up their heavy folders — automatically, safely, and in parallel.

Features

  • Universal — cleans venv, node_modules, build, dist, target, caches, or any custom folder via plugins
  • Smart staleness detection — only cleans folders whose parent project is genuinely inactive
  • Safe — dry-run, size caps, confirmations, archive with one-click restore, OS Trash support
  • Fast — single-pass parallel scan; prunes heavy dirs (.git, .cache, Library, $RECYCLE.BIN, etc.)
  • Beautiful — Rich terminal output with colored tables, progress bars, and gen-z meme notifications
  • Interactive — optional TUI mode for visual multi-select cleanup
  • Junk Score — see how much of each project is regenerable junk vs. source code
  • Doctor — full project health report (disk, Git, Docker, dependency staleness)
  • Scheduled — built-in cron / Task Scheduler support + watch/daemon mode
  • Gamified — streaks, milestones, and levels to keep you coming back
  • CI-ready — JSON output mode with threshold-based exit codes
  • Extensible — plugin system for custom cleanup targets
  • Cross-platform — macOS, Windows, Linux

Quick Start

vanish                        # Just works. Scan + clean.
vanish scan --dry-run         # Preview what would be deleted
vanish scan --archive         # Archive instead of delete
vanish scan --trash           # Send to OS Trash (needs: pip install vanish[trash])
vanish scan --interactive     # TUI mode (needs: pip install vanish[tui])
vanish restore                # Restore from last archive
vanish stats                  # Dashboard + savings history
vanish stats --json           # Machine-readable for scripts
vanish junk-score             # Project junk vs source ratio
vanish doctor                 # Full project health report
vanish ci --max-junk 5        # CI mode: exit 1 if junk > 5 GB
vanish watch                  # Daemon mode (periodic scan)
vanish schedule daily         # Set up recurring cleanup
vanish profile                # Your gamification stats
vanish plugin list            # Show loaded plugins
vanish config generate        # Create sample config
vanish telemetry status       # Check telemetry

Install

macOS

brew install pipx
pipx ensurepath
source ~/.zshrc
pipx install "vanish[all]"
vanish scan --dry-run

Windows (PowerShell)

pip install pipx
pipx ensurepath
# Restart your terminal, then:
pipx install "vanish[all]"
vanish scan --dry-run

Linux

sudo apt install pipx   # or: pip install pipx
pipx ensurepath
source ~/.bashrc
pipx install "vanish[all]"
vanish scan --dry-run

Alternative (pip)

pip install "vanish[all]"
# If 'vanish' command not found, add pip's bin to PATH:
# macOS/Linux: export PATH="$HOME/.local/bin:$PATH"
# Then run: vanish scan --dry-run

Privacy & Telemetry

Anonymous telemetry tracks global space savings (random ID, bytes saved, OS, version — nothing else).

  • Disable: vanish telemetry off
  • Status: vanish telemetry status

License

MIT — see LICENSE


If this saved you GBs, please star the repo.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vanish-1.0.2.tar.gz (1.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vanish-1.0.2-py3-none-any.whl (1.0 MB view details)

Uploaded Python 3

File details

Details for the file vanish-1.0.2.tar.gz.

File metadata

  • Download URL: vanish-1.0.2.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for vanish-1.0.2.tar.gz
Algorithm Hash digest
SHA256 02c0119ca1445bf644e1ba1cf29343da114bb46662263ba5edf99fea7aee7fe1
MD5 a6251a9d5fbd11cb4af4f56b60c0b71e
BLAKE2b-256 38ac3a47477d778acf92b6784420ce117d031bb6651442079449a49cef5c8591

See more details on using hashes here.

File details

Details for the file vanish-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: vanish-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for vanish-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4743eb1da4eceec16c1fd607b64229fe13d79e912d7e61bbbdfa17a1940b73dd
MD5 f9e39fb7271c5159e8996a8d355a8308
BLAKE2b-256 560408332ae3dd91bfc4f886c7e36a3d6799c082973352bef6f06377b167845f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page