{"id":15046387,"url":"https://github.com/reajason/clash-butler","last_synced_at":"2025-12-30T10:35:37.023Z","repository":{"id":230751528,"uuid":"780082176","full_name":"ReaJason/Clash-Butler","owner":"ReaJason","description":"Clash 白嫖节点管理工具，支持自动测速订阅合并，本地部署","archived":false,"fork":false,"pushed_at":"2024-04-01T02:14:26.000Z","size":12636,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-01T17:50:18.592Z","etag":null,"topics":["clash","proxies","speedtest","subconverter"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ReaJason.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}},"created_at":"2024-03-31T16:48:40.000Z","updated_at":"2024-04-15T15:58:36.118Z","dependencies_parsed_at":"2024-04-15T16:09:19.136Z","dependency_job_id":null,"html_url":"https://github.com/ReaJason/Clash-Butler","commit_stats":null,"previous_names":["reajason/clash-butler"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReaJason%2FClash-Butler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReaJason%2FClash-Butler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReaJason%2FClash-Butler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReaJason%2FClash-Butler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ReaJason","download_url":"https://codeload.github.com/ReaJason/Clash-Butler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234794551,"owners_count":18887753,"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","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":["clash","proxies","speedtest","subconverter"],"created_at":"2024-09-24T20:53:03.380Z","updated_at":"2025-12-30T10:35:36.983Z","avatar_url":"https://github.com/ReaJason.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Clash Butler\n\n现在 Clash 配置文件如日中天，各种节点都有 Clash 配置文件格式，不过 Clash\n对于用户界面的开发迭代并没有很快。\n\n想之前用得最舒服的一个电脑端的代理软件还得是 [V2rayN](https://github.com/2dust/v2rayN)\n，支持节点测速，测延迟，删除导出，自动排序等等（指节点管理这一块）。\n\n作为一个「忠实的白嫖节点的人」，Clash 节点不允许做删除和新增，只能添加额外的配置，在大佬发新的节点会导致配置列表就会巨长，管理成本变高。\n\n并且分享的节点基本是日抛类型，很快就会失效，不过一个订阅中个别链接又是可用的，\n此时就急需一个工具来测速合并多个配置文件，且为了更好和 Clash 客户端配合，生成的链接需要固定的，似乎没有这方面的工具，不如咱就写一个吧？！\n\n![design.png](docs/design.png)\n\n\u003e [!IMPORTANT]\n\u003e 作为 Rust 初学者，这个项目一定会被做成好玩的模样，期待一起讨论一起学习 🎉\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"vscode\" src=\"https://img.shields.io/badge/Visual%20Studio%20Code-0078d7.svg?style=flat-square\u0026logo=visual-studio-code\u0026logoColor=white\" \u003e\n  \u003cimg alt=\"Rust\" src=\"https://img.shields.io/badge/Rust 2021-%23000000.svg?style=flat-square\u0026logo=rust\u0026logoColor=white\" \u003e\n  \u003cimg alt=\"MacOS\" src=\"https://img.shields.io/badge/Sequoia%2015.0-000000?style=flat-square\u0026logo=macos\u0026logoColor=F0F0F0\" /\u003e\n\u003c/p\u003e\n\n## 快速开始\n\n### 使用 GitHub Actions\n\n1. Fork 当前项目。\n2. 在自己项目中点击 Actions ，同意并打开 GitHub Actions 功能。\n3. 在自己项目中 conf/config.toml 中填写需要合并的链接，提交 commit 之后会自动触发构建。\n4. 等待 Actions 结束，项目中的 clash.yaml 就是最终筛选出来的节点信息。\n\n### 本地构建\n\n\u003e [!WARNING]\n\u003e 精力有限，目前仅支持 MacOS 使用\n\n1. 修改 config.toml，加入自己订阅地址\n    ```yaml\n   # 待测速的订阅节点\n   # 支持网络地址 https://xxx\n   # 支持本地地址（绝对地址）/User/xxx/xx.yml\n   # 支持单个订阅链接，ss://xxx\n   subs = [\n      \"https://xxx\",\n      \"/User/xxx/xx.yml\",\n      \"ss://xxx\",\n   ]\n   ```\n\n2. (可选) 关闭 clash tun 模式或全局模式\n3. 使用 `cargo run` 启动，即可自动开始节点测速过滤\n\n预计先写 CLI 批量跑完现有节点筛选节点的功能，再考虑后续写成 Web 部署自动化形式","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freajason%2Fclash-butler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freajason%2Fclash-butler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freajason%2Fclash-butler/lists"}