{"id":35369986,"url":"https://github.com/2ykwang/mac-cleanup-go","last_synced_at":"2026-01-22T03:00:37.042Z","repository":{"id":331350907,"uuid":"1126268155","full_name":"2ykwang/mac-cleanup-go","owner":"2ykwang","description":"TUI macOS cleaner that scans caches/logs, shows sizes/paths, lets you select what to delete before Trash.","archived":false,"fork":false,"pushed_at":"2026-01-20T23:44:54.000Z","size":17895,"stargazers_count":181,"open_issues_count":6,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-01-21T00:11:34.463Z","etag":null,"topics":["caches","clean","cleanup","cli","disk-cleanup","golang","homebrew","mac-cleanup","macos","optimize","terminal-ui","tui"],"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/2ykwang.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-01T14:34:49.000Z","updated_at":"2026-01-20T22:28:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/2ykwang/mac-cleanup-go","commit_stats":null,"previous_names":["2ykwang/mac-cleanup-go"],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/2ykwang/mac-cleanup-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2ykwang%2Fmac-cleanup-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2ykwang%2Fmac-cleanup-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2ykwang%2Fmac-cleanup-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2ykwang%2Fmac-cleanup-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/2ykwang","download_url":"https://codeload.github.com/2ykwang/mac-cleanup-go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2ykwang%2Fmac-cleanup-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28651817,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"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":["caches","clean","cleanup","cli","disk-cleanup","golang","homebrew","mac-cleanup","macos","optimize","terminal-ui","tui"],"created_at":"2026-01-02T02:46:51.642Z","updated_at":"2026-01-22T03:00:37.030Z","avatar_url":"https://github.com/2ykwang.png","language":"Go","funding_links":[],"categories":["Go Tools","Go","Software Packages","Table of Contents"],"sub_categories":["Other Software"],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003emac-cleanup-go\u003c/h1\u003e\n  \u003cp\u003ePreview-first TUI for cleaning macOS caches, logs, and temporary files.\u003c/p\u003e\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/2ykwang/mac-cleanup-go/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/2ykwang/mac-cleanup-go\" alt=\"GitHub Release\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://goreportcard.com/report/github.com/2ykwang/mac-cleanup-go\"\u003e\u003cimg src=\"https://goreportcard.com/badge/github.com/2ykwang/mac-cleanup-go\" alt=\"Go Report Card\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/2ykwang/mac-cleanup-go/actions/workflows/test.yml\"\u003e\u003cimg src=\"https://github.com/2ykwang/mac-cleanup-go/actions/workflows/test.yml/badge.svg\" alt=\"CI\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://codecov.io/gh/2ykwang/mac-cleanup-go\"\u003e\u003cimg src=\"https://codecov.io/gh/2ykwang/mac-cleanup-go/graph/badge.svg?token=ecH3KP0piI\" alt=\"codecov\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://golangci-lint.run/\"\u003e\u003cimg src=\"https://img.shields.io/badge/linted%20by-golangci--lint-brightgreen\" alt=\"golangci-lint\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"README.md\"\u003eEnglish\u003c/a\u003e | \u003ca href=\"README_KO.md\"\u003e한국어\u003c/a\u003e\n\u003c/p\u003e\n\n## Overview\n\n- Preview items before delete and exclude what you want.\n- By default, items go to Trash; only the Trash category empties it permanently.\n- Risky items start excluded; manual categories show guides only.\n- Scope: caches/logs/temp and selected app data (no system optimization or uninstaller).\n\n![demo](assets/result_view.png)\n\n\n## Quick Start\n\nInstall via Homebrew:\n\n```bash\nbrew install 2ykwang/2ykwang/mac-cleanup-go\n```\n\nRun:\n\n```bash\nmac-cleanup\nmac-cleanup --update   # update via Homebrew\n```\n\nUninstall:\n\n```bash\nbrew uninstall mac-cleanup-go\n```\n\n\u003e Tip: Grant Full Disk Access to your terminal to clean Trash and restricted locations.  \n\u003e System Settings -\u003e Privacy \u0026 Security -\u003e Full Disk Access\n\n![demo](assets/demo.gif)\n\n## Safety \u0026 deletion policy\n\n- Scans known cache/log/temp paths across apps and tools in parallel.\n- Lets you preview items and exclude what you want to keep.\n- Labels targets by impact level (safe, moderate, risky).\n- Built-in scans for Homebrew, Docker, and old downloads (brew/docker output or last-modified time filtering).\n\n## What it does\n\n- Items are previewed before delete.\n- By default, items go to Trash; only the Trash category empties it permanently.\n- Risky categories start selected with all items excluded.\n- Manual categories never delete automatically and only show guidance.\n\n## Impact levels\n\n- safe: auto-regenerated caches/logs.\n- moderate: may require re-download or re-login.\n- risky: user data possible; category starts selected with all items excluded.\n- manual: no automatic deletion; shows an app guide only.\n\n## Targets (v1.3.6)\n\n- Total targets: 107.\n- Groups: System 7, Browsers 10, Development 35, Applications 52, Storage 3.\n- Cleanup methods: trash 101, permanent 1, builtin 3, manual 2.\n- Builtins: homebrew, docker, old-downloads (built-in scanners using brew/docker output or last-modified time filtering).\n- Manual: telegram, kakaotalk (no automatic deletion; surfaces large data like chat caches).\n\n## Usage notes\n\n- Full Disk Access helps scan/clean restricted locations.\n- Version check: `mac-cleanup --version`.\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eKey bindings\u003c/strong\u003e\u003c/summary\u003e\n\nList view:\n\n- `Up`/`Down` or `k`/`j`: move\n- `Space`: select category\n- `a`: select all, `d`: deselect all\n- `Enter` or `p`: preview selection\n- `?`: help, `q`: quit\n\nPreview view:\n\n- `Up`/`Down` or `k`/`j`: move\n- `h`/`l`: previous/next category\n- `Space`: toggle exclude\n- `Enter`: drill into directory\n- `/`: search, `s`: sort, `o`: open in Finder\n- `a`: include all, `d`: exclude all\n- `y`: delete (confirm), `esc`: back\n\nConfirm view:\n\n- `y` or `Enter`: confirm\n- `n` or `esc`: cancel\n\n\u003c/details\u003e\n\n## Alternatives\n\n- [mac-cleanup-py](https://github.com/mac-cleanup/mac-cleanup-py) - Python cleanup script for macOS\n- [Mole](https://github.com/tw93/Mole) - Deep clean and optimize your Mac\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2ykwang%2Fmac-cleanup-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F2ykwang%2Fmac-cleanup-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2ykwang%2Fmac-cleanup-go/lists"}