{"id":51028022,"url":"https://github.com/wwq0327/taotie","last_synced_at":"2026-06-21T21:31:00.759Z","repository":{"id":357480661,"uuid":"1237161327","full_name":"wwq0327/taotie","owner":"wwq0327","description":"吞磁盘垃圾的饕餮 — macOS 磁盘诊断 + 清理工具","archived":false,"fork":false,"pushed_at":"2026-05-13T01:00:15.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-13T01:38:37.996Z","etag":null,"topics":["cli","disk-cleanup","macos","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wwq0327.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-05-12T23:53:45.000Z","updated_at":"2026-05-13T01:01:20.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/wwq0327/taotie","commit_stats":null,"previous_names":["wwq0327/taotie"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/wwq0327/taotie","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwq0327%2Ftaotie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwq0327%2Ftaotie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwq0327%2Ftaotie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwq0327%2Ftaotie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wwq0327","download_url":"https://codeload.github.com/wwq0327/taotie/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwq0327%2Ftaotie/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34627163,"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":["cli","disk-cleanup","macos","python"],"created_at":"2026-06-21T21:30:59.849Z","updated_at":"2026-06-21T21:31:00.748Z","avatar_url":"https://github.com/wwq0327.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# taotie\n\n[饕餮](https://baike.baidu.com/item/%E9%A5%95%E9%A4%AE) — 吞磁盘垃圾的神兽。macOS 磁盘诊断 + 清理工具。\n\n## 安装\n\n### 人类\n\n```bash\ngit clone https://github.com/wwq0327/taotie.git\ncd taotie\nchmod +x taotie.py\nln -sf \"$(pwd)/taotie.py\" /usr/local/bin/taotie   # 或 ~/.local/bin/taotie\n```\n\n### Agent\n\n```bash\ncurl -fsSL https://raw.githubusercontent.com/wwq0327/taotie/main/install.sh | bash\n```\n\n或克隆后手动执行：\n\n```bash\n./install.sh\n```\n\nPython 标准库，零依赖。\n\n## 用法\n\n任意目录直接运行：\n\n```bash\ntaotie scan\ntaotie clean --dry-run\ntaotie clean\n```\n\n### 诊断\n\n```bash\ntaotie scan\n```\n\n扫描用户目录和系统目录的磁盘占用，红色标记 \u003e10G 的大户，黄色标记 \u003e1G 的项目。\n\n### 清理\n\n```bash\ntaotie clean --dry-run          # 预览 safe 级\ntaotie clean                     # 执行 safe 清理\ntaotie clean --level medium --dry-run\n```\n\n三个安全等级：\n\n| 等级 | 范围 |\n|------|------|\n| `safe` | 废纸篓、`~/Library/Caches`、`/tmp` 过期文件（\u003e1天）、`~/.cache/uv`、`~/.cache/pip` |\n| `medium` | safe + Whisper/HuggingFace 模型缓存 + 旧日志（\u003e7天） |\n| `aggressive` | 同 medium（更大范围需手动词） |\n\n清理前需输入 `y` 确认。`--dry-run` 只预览不执行。\n\n### 记录\n\n```bash\ntaotie log         # 查看最近 30 条操作记录\ntaotie log -n 10   # 最近 10 条\n```\n\n每次 scan 和 clean 自动写入 `~/.local/share/taotie/taotie.log`。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwwq0327%2Ftaotie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwwq0327%2Ftaotie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwwq0327%2Ftaotie/lists"}