{"id":13455807,"url":"https://github.com/vernesong/OpenClash","last_synced_at":"2025-03-24T08:34:46.703Z","repository":{"id":37335413,"uuid":"189256120","full_name":"vernesong/OpenClash","owner":"vernesong","description":"A Clash Client For OpenWrt","archived":false,"fork":false,"pushed_at":"2025-03-19T20:21:05.000Z","size":21625389,"stargazers_count":19151,"open_issues_count":56,"forks_count":3336,"subscribers_count":162,"default_branch":"master","last_synced_at":"2025-03-20T08:11:37.428Z","etag":null,"topics":["clash","luci","mihomo","openclash","openwrt","shadowsocks","snell","v2ray","vmess"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/vernesong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"vernesong","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-05-29T15:52:27.000Z","updated_at":"2025-03-20T07:24:02.000Z","dependencies_parsed_at":"2023-12-22T21:27:22.385Z","dependency_job_id":"cedb418b-1167-477b-8e09-bc6060b5704d","html_url":"https://github.com/vernesong/OpenClash","commit_stats":{"total_commits":2448,"total_committers":73,"mean_commits":"33.534246575342465","dds":0.07761437908496727,"last_synced_commit":"1d0e7442df768383a0ec6b155c226972e07becbb"},"previous_names":[],"tags_count":177,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vernesong%2FOpenClash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vernesong%2FOpenClash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vernesong%2FOpenClash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vernesong%2FOpenClash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vernesong","download_url":"https://codeload.github.com/vernesong/OpenClash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245236332,"owners_count":20582406,"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","luci","mihomo","openclash","openwrt","shadowsocks","snell","v2ray","vmess"],"created_at":"2024-07-31T08:01:11.444Z","updated_at":"2025-03-24T08:34:46.690Z","avatar_url":"https://github.com/vernesong.png","language":"JavaScript","funding_links":["https://ko-fi.com/vernesong"],"categories":["HTML","Shell","JavaScript","工具","HTML (177)","网络服务"],"sub_categories":["代理工具","网络服务_其他"],"readme":"\u003ch1 align=\"center\"\u003e\r\n  \u003cimg src=\"https://raw.githubusercontent.com/vernesong/OpenClash/dev/img/logo.png\" alt=\"Clash\" width=\"200\"\u003e\r\n  \u003cbr\u003eOpenClash\u003cbr\u003e\r\n\r\n\u003c/h1\u003e\r\n\r\n  \u003cp align=\"center\"\u003e\r\n\t\u003ca target=\"_blank\" href=\"https://github.com/Dreamacro/clash/releases/tag/v1.13.0\"\u003e\r\n    \u003cimg src=\"https://img.shields.io/badge/Clash-v1.13.0-blue.svg\"\u003e\r\n    \u003c/a\u003e\r\n  \u003c/p\u003e\r\n  \r\n\r\n\u003cp align=\"center\"\u003e\r\n本插件是一个可运行在 OpenWrt 上的\u003ca href=\"https://github.com/Dreamacro/clash\" target=\"_blank\"\u003e Clash \u003c/a\u003e客户端\r\n\u003c/p\u003e\r\n\u003cp align=\"center\"\u003e\r\n兼容 Shadowsocks、ShadowsocksR、Vmess、Trojan、Snell 等协议，根据灵活的规则配置实现策略代理\r\n\u003c/p\u003e\r\n\u003cp align=\"center\"\u003e\r\n- 感谢\u003ca href=\"https://github.com/frainzy1477\" target=\"_blank\"\u003e frainzy1477 \u003c/a\u003e，本插件基于\u003ca href=\"https://github.com/frainzy1477/luci-app-clash\" target=\"_blank\"\u003e Luci For Clash \u003c/a\u003e进行二次开发 -\r\n\u003c/p\u003e\r\n\r\n使用手册\r\n---\r\n\r\n\r\n* [Wiki](https://github.com/vernesong/OpenClash/wiki)\r\n\r\n\r\n下载地址\r\n---\r\n\r\n\r\n* IPK [前往下载](https://github.com/vernesong/OpenClash/releases)\r\n\r\n\r\n依赖\r\n---\r\n\r\n* luci\r\n* luci-base\r\n* dnsmasq-full\r\n* bash\r\n* curl\r\n* ca-bundle\r\n* ipset\r\n* ip-full\r\n* ruby\r\n* ruby-yaml\r\n* unzip\r\n* iptables(iptables)\r\n* kmod-ipt-nat(iptables)\r\n* iptables-mod-tproxy(iptables)\r\n* iptables-mod-extra(iptables)\r\n* kmod-tun(TUN模式)\r\n* luci-compat(Luci \u003e= 19.07)\r\n* ip6tables-mod-nat(iptables-ipv6)\r\n* kmod-inet-diag(PROCESS-NAME)\r\n* kmod-nft-tproxy(Firewall4)\r\n\r\n\r\n编译\r\n---\r\n\r\n\r\n从 OpenWrt 的 [SDK](https://archive.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/OpenWrt-SDK-15.05.1-ar71xx-generic_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64.tar.bz2) 编译\r\n```bash\r\n# 解压下载好的 SDK\r\ncurl -SLk --connect-timeout 30 --retry 2 \"https://archive.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/OpenWrt-SDK-15.05.1-ar71xx-generic_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64.tar.bz2\" -o \"/tmp/SDK.tar.bz2\"\r\ncd \\tmp\r\ntar xjf SDK.tar.bz2\r\ncd OpenWrt-SDK-15.05.1-*\r\n\r\n# Clone 项目\r\nmkdir package/luci-app-openclash\r\ncd package/luci-app-openclash\r\ngit init\r\ngit remote add -f origin https://github.com/vernesong/OpenClash.git\r\ngit config core.sparsecheckout true\r\necho \"luci-app-openclash\" \u003e\u003e .git/info/sparse-checkout\r\ngit pull --depth 1 origin master\r\ngit branch --set-upstream-to=origin/master master\r\n\r\n# 编译 po2lmo (如果有po2lmo可跳过)\r\npushd luci-app-openclash/tools/po2lmo\r\nmake \u0026\u0026 sudo make install\r\npopd\r\n\r\n# 开始编译\r\n\r\n# 先回退到SDK主目录\r\ncd ../..\r\nmake package/luci-app-openclash/luci-app-openclash/compile V=99\r\n\r\n# IPK文件位置\r\n./bin/ar71xx/packages/base/luci-app-openclash_*-beta_all.ipk\r\n```\r\n\r\n```bash\r\n# 同步源码\r\ncd package/luci-app-openclash/luci-app-openclash\r\ngit pull\r\n\r\n# 您也可以直接拷贝 `luci-app-openclash` 文件夹至其他 `OpenWrt` 项目的 `Package` 目录下随固件编译\r\n\r\nmake menuconfig\r\n# 选择要编译的包 LuCI -\u003e Applications -\u003e luci-app-openclash\r\n\r\n```\r\n\r\n\r\n许可\r\n---\r\n\r\n\r\n* [MIT License](https://github.com/vernesong/OpenClash/blob/master/LICENSE)\r\n* 内核 [clash](https://github.com/Dreamacro/clash) by [Dreamacro](https://github.com/Dreamacro)\r\n* 本项目代码基于 [Luci For Clash](https://github.com/frainzy1477/luci-app-clash) by [frainzy1477](https://github.com/frainzy1477)\r\n* GEOIP数据库 [GeoLite2](https://dev.maxmind.com/geoip/geoip2/geolite2/) by [MaxMind](https://www.maxmind.com)\r\n* IP检查 [MyIP](https://github.com/SukkaW/MyIP) by [SukkaW](https://github.com/SukkaW)\r\n* 控制面板 [clash-dashboard](https://github.com/Dreamacro/clash-dashboard) by [Dreamacro](https://github.com/Dreamacro)\r\n* 控制面板 [yacd](https://github.com/haishanh/yacd) by [haishanh](https://github.com/haishanh)\r\n* lhie1规则 [lhie1-Rules](https://github.com/lhie1/Rules) by [lhie1](https://github.com/lhie1)\r\n* ConnersHua规则 [ConnersHua-Rules](https://github.com/ConnersHua/Profiles/tree/master) by [ConnersHua](https://github.com/ConnersHua)\r\n* 游戏规则 [SSTap-Rule](https://github.com/FQrabbit/SSTap-Rule) by [FQrabbit](https://github.com/FQrabbit)\r\n* 流媒体解锁检测 [RegionRestrictionCheck](https://github.com/lmc999/RegionRestrictionCheck) by [lmc999](https://github.com/lmc999)\r\n\r\n请作者喝杯咖啡\r\n---\r\n\r\n* PayPal\r\n\u003cp align=\"left\"\u003e\r\n    \u003ca href=\"https://ko-fi.com/vernesong\"\u003e\u003cimg width=\"300\" src=\"https://www.ko-fi.com/img/githubbutton_sm.svg\"\u003e \u003c/a\u003e\r\n\u003c/p\u003e\r\n\r\n* USDT-TRC20\r\n\u003cp align=\"left\"\u003e\r\n    \u003cimg width=\"300\" src=\"https://github.com/vernesong/OpenClash/raw/master/img/USDT-Wallet.png\"\u003e\r\n\u003c/p\u003e\r\n\r\n* 比特币-BTC\r\n\u003cp align=\"left\"\u003e\r\n    \u003cimg width=\"300\" src=\"https://github.com/vernesong/OpenClash/raw/master/img/BTC-Wallet.png\"\u003e\r\n\u003c/p\u003e\r\n\r\n* 以太币-ETH\r\n\u003cp align=\"left\"\u003e\r\n    \u003cimg width=\"300\" src=\"https://github.com/vernesong/OpenClash/raw/master/img/ETH-Wallet.png\"\u003e\r\n\u003c/p\u003e\r\n\r\n\r\n预览\r\n---\r\n\r\n\r\n* 运行状态\r\n\u003cp align=\"center\"\u003e\r\n    \u003cimg src=\"https://github.com/vernesong/OpenClash/raw/master/img/state.png\"\u003e\r\n\u003c/p\u003e\r\n\r\n* 全局设置\r\n\u003cp align=\"center\"\u003e\r\n    \u003cimg src=\"https://github.com/vernesong/OpenClash/raw/master/img/settings.png\"\u003e\r\n\u003c/p\u003e\r\n\r\n* 服务器\u0026策略组\r\n\u003cp align=\"center\"\u003e\r\n    \u003cimg src=\"https://github.com/vernesong/OpenClash/raw/master/img/servers.png\"\u003e\r\n\u003c/p\u003e\r\n\r\n* 规则\u0026策略组\r\n\u003cp align=\"center\"\u003e\r\n    \u003cimg src=\"https://github.com/vernesong/OpenClash/raw/master/img/game-settings.png\"\u003e\r\n\u003c/p\u003e\r\n\r\n* 配置文件订阅\r\n\u003cp align=\"center\"\u003e\r\n    \u003cimg src=\"https://github.com/vernesong/OpenClash/raw/master/img/config-subscribe.png\"\u003e\r\n\u003c/p\u003e\r\n\r\n* 配置文件管理\r\n\u003cp align=\"center\"\u003e\r\n    \u003cimg src=\"https://github.com/vernesong/OpenClash/raw/master/img/config.png\"\u003e\r\n\u003c/p\u003e\r\n\r\n* 运行日志\r\n\u003cp align=\"center\"\u003e\r\n    \u003cimg src=\"https://github.com/vernesong/OpenClash/raw/master/img/log.png\"\u003e\r\n\u003c/p\u003e\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvernesong%2FOpenClash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvernesong%2FOpenClash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvernesong%2FOpenClash/lists"}