{"id":31194807,"url":"https://github.com/FLYCOM-E/ClearBox","last_synced_at":"2025-09-20T02:04:55.017Z","repository":{"id":293371289,"uuid":"983784625","full_name":"FLYCOM-E/ClearBox","owner":"FLYCOM-E","description":"一个致力于 Android Auto 清理优化的 Magisk Module","archived":false,"fork":false,"pushed_at":"2025-09-19T11:12:49.000Z","size":23720,"stargazers_count":17,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-19T13:24:07.045Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/FLYCOM-E.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":"2025-05-14T23:10:10.000Z","updated_at":"2025-09-17T09:29:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"95ac0800-471d-41b6-a040-10a2229a0bf6","html_url":"https://github.com/FLYCOM-E/ClearBox","commit_stats":null,"previous_names":["flycom-e/wipe_cache","flycom-e/clearbox"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/FLYCOM-E/ClearBox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FLYCOM-E%2FClearBox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FLYCOM-E%2FClearBox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FLYCOM-E%2FClearBox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FLYCOM-E%2FClearBox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FLYCOM-E","download_url":"https://codeload.github.com/FLYCOM-E/ClearBox/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FLYCOM-E%2FClearBox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276033070,"owners_count":25573474,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-20T02:00:10.207Z","response_time":63,"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":[],"created_at":"2025-09-20T02:02:23.946Z","updated_at":"2025-09-20T02:04:54.986Z","avatar_url":"https://github.com/FLYCOM-E.png","language":"Shell","readme":"![image](ClearBox.png)\n   ## 什么是 **ClearBox** ？\n\n**ClearBox** 是一个深度快速清理模块，可为您的设备一键删除所有软件缓存、安装包、压缩包、垃圾、空文件夹，阻止缓存、文件归类，阻止软件更新/安装和定期优化/清理、文件归类功能（无后台），支持添加自定义清理规则和文件清理/整理归类\n\n执行所用时间相对市面上普通清理软件来说快如✈️\n\n__支持任意终端/软件调用 **bin** 命令`ClearBox -c`执行一键优化清理__\n\n__兼容 **Magisk、Apatch、KernelSU** 及其类似分支管理器__\n\n\n   ## 操作方式：\n\n\u003e ：终端以 **root** 身份键入 `ClearBox` 进入功能菜单\n\n\u003e ：安装使用模块 **ClearBox** 软件（会在模块安装时询问\n\n   ## 简介功能：\n   \n### **1**：一键优化清理\n\n进行快速一键优化/清理，效果等同于定期优化。包括缓存清理、垃圾清理，快速磁盘 **GC** 等，另外根据模块设置还可运行文件清理/归类\n\n\n\n### **2**：清理/干掉自定义目录\n\n这项功能是规则清理功能，目前处于半开发状态，目前可在 `/data/adb/wipe_cache/清理配置/` 目录下自行添加清理规则。\n\n配置方法：\n\n规则使用文本格式，可在规则文件开头第一行增加 `@./xxx` (./非当前目录，指以根目录开始)指定初始目录，不同规则文件独立。\n\n参数：\n\n填写 `KILL=` （某目录）\n干掉该目录\n\n填写 `CLEAR=` （某目录）\n清空该目录\n\n如果某规则文件存在不指定参数并直接使用硬编码以根目录 `/xxx` 的规则会导致触发安全警告并全局退出规则清理\n\n\n\n### **3**：清除垃圾文件及空文件夹\n\n清理内/外部储存空文件夹、多媒体缓存、软件缓存等\n\n\n\n### **4**：清空所有软件缓存\n\n如名所示，支持 **SD** 拓展卡软件缓存清理\n\n\n\n### **5**：深度文件清理\n\n文件清理功能，自带部分清理配置，支持自定义文件格式配置。\n\n配置方法：\n\n配置目录： `/data/adb/wipe-cache/文件格式配置`\n\n配置方式：在配置文件目录新建文档文件，该文件名称会显示在清理页面当作对应清理项名称，将自定义文件后缀填入该文件，使用空格\n分隔文件后缀。\n\n软件/终端清理页面会根据配置文件动态构建\n\n范围：文件清理，及后面会讲到的文件归类\n\n\n\n### **6**：清空系统缓存\n\n清理系统软件缓存、系统缓存、附带清空 **MTP** 主机数据(可解决 **MTP** 文件传输文件列表显示异常问题\n\n\n\n### **7**：阻止所有软件更新安装\n如名，阻止所有往 `/data/app` 安装软件的行为\n\n\n\n### **8**：阻止缓存功能\n这是模块的一个重要功能，用于动态阻止前台软件生成缓存。\n\n打开该功能后重启激活，自动缓存前台最近2款软件并阻止缓存，可\n自定义添加白名单。\n\n名单位置： `/data/adb/wipe_cache/whitelist.prop` 或在模块 **ClearBox** 软件中添加。\n\n**Other**：模块不会实时监测前台软件并阻止缓存，采取每分钟更新的方式，一方面避免持续资源占用，一方面部分软件在阻止缓存状态下启动会异常，进入软件后启动阻止缓存是最优解。\n\n阻止缓存不会清空该软件缓存，因此软件缓存不会为 **0**，而是缓慢增长，此举避免不断进行小文件擦除而仅仅限制大缓存生成\n\n部分软件出现异常请自行添加白名单！\n\n\n\n### **9**：磁铁（一键归类文件\n\n一键归类内/多外部储存文件，规则与文件清理共用\n\n\n\n### **10**：磁盘优化（**GC**）\n\n**F2fs** 磁盘 **GC**，此功能属于紧急 **GC**，因此不需要经常使用，定期运行即可。\n\n方案来自 **Coolapk@Amktiao** 大佬，已得到同意，感谢大佬！\n\n\n\n\u003e 模块 **App** 使用 [**Kr-Script**](https://github.com/helloklf/kr-scripts) 项目制作而成，感谢该项目\n\n\n\u003e 模块内测请前往\n\u003e[**ClearBox**](https://yhfx.jwznb.com/share?key=yigOTedUjh62\u0026ts=1747355950)\n\u003e[更多玩机交流](https://yhfx.jwznb.com/share?key=TihFLlAj6ZJ9\u0026ts=1740281856)\n\n\n\u003e *此 **README** 以最新 **Release** 版本为准\n","funding_links":[],"categories":["🧹 Debloating and Cleaning"],"sub_categories":["Themes and Visual Mods"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFLYCOM-E%2FClearBox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FFLYCOM-E%2FClearBox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFLYCOM-E%2FClearBox/lists"}