{"repo":"soldatov-ss/thanos","free":true,"listed":false,"github":"https://github.com/soldatov-ss/thanos","clone":"git clone https://github.com/soldatov-ss/thanos.git","description":"A CLI tool that deletes half your files — perfectly balanced, as all things should be.","language":"Python","stars":107,"topics":["cleanup","cli","python","thanos","utility"],"license":"MIT","category":"cli-tools","readme_excerpt":"🫰 Thanos \"Perfectly balanced, as all things should be.\" A Python CLI tool that randomly eliminates a configurable percentage of files in a directory with a snap (default: 50%). Inspired by Marvel's Thanos and his infamous snap. ⚠️ Warning This tool permanently deletes files! Use --dry-run first to preview what would be deleted. Deleted files cannot be recovered. Use at your own risk! ✨ Features 🗑️ Trash Mode : Optionally move files to the system trash/recycle bin instead of permanent deletion. ⚖️ Weighted Selection : Configure probabilities based on file age, size, or extension. 🛡️ Smart Protections : Automatically protects .git , node modules , venv , and system files. 🚫 Custom Ignore : Support for .thanosignore using gitignore syntax. 🎲 Reproducibility : Use seeds to ensure the exact same files are selected every time. 📁 Recursive Support : Optionally include files in subdirectories. 📦 Installation Using uv (recommended) Using pipx (recommended for CLI use) Installs thanos as an isolated CLI tool available system-wide without polluting your global Python environment. Using pip 🚀 Quick Start 1. Initialize Configuration Create default .thanosignore and .thanosrc.json files in your project: 2. Preview the Snap Always start with a dry run to see the \"dead\" files without deleting them: 3. Execute When you are ready to restore balance: ⚙️ Configuration Thanos supports advanced configuration to control the chaos. .thanosignore Protect specific files or folders from being s","default_branch":null,"files":null,"tree":[],"storefront":"/r/soldatov-ss","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/soldatov-ss/thanos/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}