{"id":28545971,"url":"https://github.com/abdorrahmani/clearance","last_synced_at":"2026-04-28T17:03:02.850Z","repository":{"id":298069563,"uuid":"998744361","full_name":"abdorrahmani/clearance","owner":"abdorrahmani","description":"A lightweight CLI tool to clean up development caches and free up disk space. Built with Go, Clearance helps you maintain a clean development environment by removing unnecessary cache files.","archived":false,"fork":false,"pushed_at":"2025-06-15T12:40:09.000Z","size":40,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-07T05:39:10.456Z","etag":null,"topics":["cleaner","cleanup","cleanup-script","docker-cache","go","golang","npm-cache","windows","windows-11","winsxs","yarn-cache"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abdorrahmani.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-09T07:18:44.000Z","updated_at":"2025-06-15T12:40:11.000Z","dependencies_parsed_at":"2025-06-09T08:43:53.965Z","dependency_job_id":"a79ee886-5e79-44c7-9919-f7a3971fc610","html_url":"https://github.com/abdorrahmani/clearance","commit_stats":null,"previous_names":["abdorrahmani/clearance"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/abdorrahmani/clearance","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdorrahmani%2Fclearance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdorrahmani%2Fclearance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdorrahmani%2Fclearance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdorrahmani%2Fclearance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abdorrahmani","download_url":"https://codeload.github.com/abdorrahmani/clearance/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdorrahmani%2Fclearance/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32390067,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cleaner","cleanup","cleanup-script","docker-cache","go","golang","npm-cache","windows","windows-11","winsxs","yarn-cache"],"created_at":"2025-06-09T23:08:48.399Z","updated_at":"2026-04-28T17:03:02.831Z","avatar_url":"https://github.com/abdorrahmani.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🧹 Clearance\n\n[![Go Version](https://img.shields.io/badge/Go-1.21+-00ADD8?style=flat-square\u0026logo=go\u0026logoColor=white)](https://golang.org)\n[![License](https://img.shields.io/badge/License-MIT-blue?style=flat-square\u0026logo=opensourceinitiative\u0026logoColor=white)](LICENSE)\n[![Windows](https://img.shields.io/badge/Windows-0078D6?style=flat-square\u0026logo=windows\u0026logoColor=white)](https://www.microsoft.com/windows)\n[![PowerShell](https://img.shields.io/badge/PowerShell-5391FE?style=flat-square\u0026logo=powershell\u0026logoColor=white)](https://docs.microsoft.com/powershell)\n[![GoReleaser](https://img.shields.io/badge/GoReleaser-00ADD8?style=flat-square\u0026logo=go\u0026logoColor=white)](https://goreleaser.com)\n[![Docker](https://img.shields.io/badge/Docker-2496ED?style=flat-square\u0026logo=docker\u0026logoColor=white)](https://www.docker.com)\n[![npm](https://img.shields.io/badge/npm-CB3837?style=flat-square\u0026logo=npm\u0026logoColor=white)](https://www.npmjs.com)\n[![Yarn](https://img.shields.io/badge/Yarn-2C8EBB?style=flat-square\u0026logo=yarn\u0026logoColor=white)](https://yarnpkg.com)\n[![GitHub Actions](https://img.shields.io/badge/GitHub_Actions-2088FF?style=flat-square\u0026logo=github-actions\u0026logoColor=white)](https://github.com/features/actions)\n[![Go Report Card](https://goreportcard.com/badge/github.com/abdorrahmani/clearance?style=flat-square)](https://goreportcard.com/report/github.com/abdorrahmani/clearance)\n\nA lightweight CLI tool to clean up development caches and free up disk space. Built with Go, Clearance helps you maintain a clean development environment by removing unnecessary cache files.\n\n## 🚀 Features\n\n- 🧹 Clean npm cache\n- 🧶 Clean yarn cache\n- 🐳 Clean Docker cache (optional)\n- 🪟 Clean Windows WinSxS temp files\n- 🔒 Safe, selectable cleanup operations\n- 🎨 Beautiful CLI interface with color support\n- ⚡ Fast and efficient cleanup operations\n\n## 📋 Requirements\n\n- Go 1.21 or higher\n- Administrator privileges (required for system folders and Docker commands)\n- npm, yarn, and/or Docker in PATH (if using respective cleanup options)\n\n## 🛠️ Installation\n\n### Using Go Install\n```bash\ngo install github.com/abdorrahmani/clearance@latest\n```\n\n### Using Binary Release\n1. Download the latest release from the [Releases page](https://github.com/abdorrahmani/clearance/releases)\n2. Extract the ZIP file\n3. Run `run-clearance.bat` or `clearance.exe` directly\n\n## 💻 Usage\n\n### Command Line Interface\n```bash\nclearance [--npm] [--yarn] [--docker] [--winsxs] [--all]\n```\n\n### Interactive Mode\nSimply run:\n```bash\nclearance\n```\n\n### Examples\n\n```bash\n# Clean npm and yarn caches\nclearance --npm --yarn\n\n# Clean everything\nclearance --all\n\n# Clean only Docker cache\nclearance --docker\n```\n\n## 🔧 Options\n\n| Flag      | Description                    |\n|-----------|--------------------------------|\n| `--npm`   | Clean npm cache               |\n| `--yarn`  | Clean yarn cache              |\n| `--docker`| Clean Docker cache            |\n| `--winsxs`| Clean WinSxS temp files       |\n| `--all`   | Clean all caches              |\n\n## ⚠️ Safety Notes\n\n- 🔒 Always run with administrator privileges\n- 🛡️ The tool only cleans known-safe locations\n- 📁 For WinSxS, only the Temp directory is cleaned\n- 🐳 Docker cleanup uses official Docker commands\n\n## 🛠️ Development\n\n### Building from Source\n```bash\ngit clone https://github.com/abdorrahmani/clearance.git\ncd clearance\ngo build -o clearance.exe\n```\n\n## 🤝 Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m '✨ feat: add amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## 📝 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## 🌟 Support\n\nIf you need help or have questions, please visit [anophel.com/en/contact-us](https://anophel.com/en/contact-us)\n\n---\n\nMade with ❤️ by [Abdorrahmani](https://github.com/abdorrahmani) ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdorrahmani%2Fclearance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdorrahmani%2Fclearance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdorrahmani%2Fclearance/lists"}