{"id":51012078,"url":"https://github.com/ohing504/devclean","last_synced_at":"2026-06-21T04:01:43.308Z","repository":{"id":355583481,"uuid":"1184376709","full_name":"ohing504/devclean","owner":"ohing504","description":"CLI tool to scan and clean developer build artifacts, caches, and dependencies across multiple ecosystems","archived":false,"fork":false,"pushed_at":"2026-05-04T09:38:47.000Z","size":1359,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-04T11:31:50.281Z","etag":null,"topics":["build-artifacts","cleanup","cli","developer-tools","devtools","disk-cleanup","golang","nodejs","ruby","rust"],"latest_commit_sha":null,"homepage":"https://github.com/ohing504/devclean/releases/latest","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/ohing504.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-17T14:27:11.000Z","updated_at":"2026-05-04T09:38:52.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ohing504/devclean","commit_stats":null,"previous_names":["ohing504/devclean"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ohing504/devclean","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohing504%2Fdevclean","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohing504%2Fdevclean/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohing504%2Fdevclean/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohing504%2Fdevclean/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ohing504","download_url":"https://codeload.github.com/ohing504/devclean/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohing504%2Fdevclean/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34593129,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-21T02:00:05.568Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["build-artifacts","cleanup","cli","developer-tools","devtools","disk-cleanup","golang","nodejs","ruby","rust"],"created_at":"2026-06-21T04:01:42.504Z","updated_at":"2026-06-21T04:01:43.300Z","avatar_url":"https://github.com/ohing504.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# devclean\n\nDeveloper disk cleanup CLI — scan and clean build artifacts, caches, dependencies, and runtimes across multiple ecosystems.\n\n## Screenshots\n\n### Scan\n\n![devclean scan](demo/scan.png)\n\n### Clean (Interactive Tree Selector)\n\n![devclean clean](demo/clean.png)\n\n## Supported Ecosystems\n\n| Ecosystem | Detection | Artifacts | Status |\n|-----------|-----------|-----------|--------|\n| **Node.js** | `package.json` | `node_modules`, `.next`, `.nuxt`, `dist`, `.turbo`, `.parcel-cache`, `.svelte-kit`, `coverage` | ✅ |\n| **Node.js + React Native / Expo** | `ios/Podfile` or `metro.config.{js,ts,cjs,mjs}` | adds `ios/Pods`, `ios/build`, `ios/DerivedData`, `android/build`, `android/.gradle`, `.expo`, `.metro` | ✅ |\n| **Rust** | `Cargo.toml` | `target` | ✅ |\n| **Ruby** | `Gemfile` | `vendor/bundle`, `.bundle`, `tmp`, `log`, `coverage`, `.ruby-lsp` | ✅ |\n| **Python** | `pyproject.toml`, `setup.py`, `setup.cfg`, `requirements.txt`, `Pipfile`, `uv.lock` | `__pycache__`, `.pytest_cache`, `.mypy_cache`, `.ruff_cache`, `.tox`, `.nox`, `.ipynb_checkpoints`, `__pypackages__`, `*.egg-info`, `.venv` / `venv` (caution) | ✅ |\n| **Go** | `go.mod` | `vendor` (caution; per-project only — global caches handled by upcoming `global` scanner) | ✅ |\n| **iOS/Xcode** (macOS only) | fixed `~/Library/Developer/...` paths | `DerivedData`, `Archives`, `iOS/watchOS/tvOS DeviceSupport`, `CoreSimulator/Devices`, simulator runtimes | ✅ |\n| Android | | | planned |\n| Flutter | | | planned |\n| Docker | | | planned |\n| Global caches | | | planned |\n\nSee [Ecosystems](docs/ecosystems.md) for full detection and safety details.\n\n## Features\n\n- Scan for reclaimable disk space across Node.js (incl. React Native / Expo), Rust, Ruby, Python, Go, iOS/Xcode, and more\n- Monorepo support — artifacts grouped by git root with sub-package breakdown\n- Activity classification — active, recent, stale, dormant (based on git + filesystem)\n- Gitignore-aware protection — only git-tracked artifacts are protected\n- `--min-size` filter to suppress small artifacts and focus on real targets\n- Interactive tree selector for clean — select by project or individual artifact\n- Soft delete (Trash) by default, with force delete option\n- Vendor-native cleanup hooks (`xcrun simctl delete unavailable`, etc.) via `--vendor-cleanup`\n- JSON output for scripting and AI agent integration\n- Colored terminal output with ecosystem grouping\n\n## Install\n\n```bash\n# Go (Go 1.26+)\ngo install github.com/ohing504/devclean/cmd/devclean@latest\n\n# Pre-built binary (macOS / Linux, amd64 / arm64)\n# Download a tarball from the latest release and put `devclean` on your PATH:\n# https://github.com/ohing504/devclean/releases/latest\n\n# From source\ngit clone https://github.com/ohing504/devclean.git\ncd devclean\ngo build -o devclean ./cmd/devclean\n```\n\n\u003e A Homebrew formula is planned for a later release. Until then, use one of the\n\u003e options above.\n\n## Usage\n\n```bash\n# Scan for reclaimable space\ndevclean scan\ndevclean scan --path ~/workspace\ndevclean scan --eco node,rust\ndevclean scan --status dormant -n 10\ndevclean scan --json\n\n# Clean up (interactive)\ndevclean clean --eco node\ndevclean clean --eco node --status dormant\n\n# Clean up (non-interactive)\ndevclean clean --eco node --status dormant --yes\ndevclean clean --safe --dry-run --yes\n\n# Utilities\ndevclean list\n```\n\n## Documentation\n\n- [Architecture](docs/architecture.md) — system design and scanner patterns\n- [CLI Commands](docs/commands.md) — full command reference with examples\n- [Ecosystems](docs/ecosystems.md) — supported ecosystems, detection patterns, and safety levels\n- [Configuration](docs/configuration.md) — settings file spec and options\n- [Changelog](CHANGELOG.md) — release notes and version history\n\n## Contributing\n\nPRs welcome — see [CONTRIBUTING.md](CONTRIBUTING.md) for build, test, and PR\nguidelines, plus a walkthrough for adding a new ecosystem scanner.\n\n## License\n\n[MIT](LICENSE) — © 2026 Youngsup Oh\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohing504%2Fdevclean","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fohing504%2Fdevclean","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohing504%2Fdevclean/lists"}