vernesong/OpenClash

HTML
Android

A Clash Client For OpenWrt

clashopenwrtopenclashlucishadowsocksv2rayvmesssnellmihomo
Croissance des étoiles
Étoiles
27.4k
Forks
4k
Croissance hebdomadaire
+90
Issues
58
10k20k
juin 2019nov. 2021avr. 2024sept. 2026
README

Clash
OpenClash

本插件是一个可运行在 OpenWrt 上的 Mihomo(Clash) 客户端

兼容 Shadowsocks、ShadowsocksR、Vmess、Trojan、Snell 等协议,根据灵活的规则配置实现策略代理

使用手册

下载地址

依赖

  • luci
  • luci-base
  • dnsmasq-full
  • bash
  • curl
  • ca-bundle
  • ipset
  • ip-full
  • ruby
  • ruby-yaml
  • unzip
  • iptables(iptables)
  • kmod-ipt-nat(iptables)
  • iptables-mod-tproxy(iptables)
  • iptables-mod-extra(iptables)
  • kmod-tun(TUN模式)
  • luci-compat(Luci >= 19.07)
  • ip6tables-mod-nat(iptables-ipv6)
  • kmod-inet-diag(PROCESS-NAME)
  • kmod-nft-tproxy(Firewall4)

编译

从 OpenWrt 的 SDK 编译

# 解压下载好的 SDK
curl -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"
cd \tmp
tar xjf SDK.tar.bz2
cd OpenWrt-SDK-15.05.1-*

# Clone 项目
mkdir package/luci-app-openclash
cd package/luci-app-openclash
git init
git remote add -f origin https://github.com/vernesong/OpenClash.git
git config core.sparsecheckout true
echo "luci-app-openclash" >> .git/info/sparse-checkout
git pull --depth 1 origin master
git branch --set-upstream-to=origin/master master

# 编译 po2lmo (如果有po2lmo可跳过)
pushd luci-app-openclash/tools/po2lmo
make && sudo make install
popd

# 编译最新 CodeMirror 6 (插件内置,可跳过)
pushd luci-app-openclash/tools/codemirror
npm install
npx esbuild entry.js --bundle --format=iife --global-name=CM6 --minify --target=es2019 --outfile=../../root/www/luci-static/resources/openclash/js/cm6.min.js --legal-comments=none --loader:.css=text
rm -rf node_modules
popd

# 开始编译

# 先回退到SDK主目录
cd ../..
make package/luci-app-openclash/luci-app-openclash/compile V=99

# IPK文件位置
./bin/ar71xx/packages/base/luci-app-openclash_*-beta_all.ipk
# 同步源码
cd package/luci-app-openclash/luci-app-openclash
git pull

# 您也可以直接拷贝 `luci-app-openclash` 文件夹至其他 `OpenWrt` 项目的 `Package` 目录下随固件编译

make menuconfig
# 选择要编译的包 LuCI -> Applications -> luci-app-openclash

许可

请作者喝杯咖啡

  • PayPal

Buy Me a Coffee at ko-fi.com

  • USDT-BSC

Dépôts similaires
clash-verge-rev/clash-verge-rev

A modern GUI client based on Tauri, designed to run in Windows, macOS and Linux for tailored proxy experience

TypeScriptnpmappGNU General Public License v3.0clashclash-meta
clashverge.dev
143.2k10.3k
chen08209/FlClash

A multi-platform proxy client based on ClashMeta,simple and easy to use, open-source and ad-free.

DartGNU General Public License v3.0clashclash-meta
51.4k3.2k
hiddify/hiddify-app

Multi-platform auto-proxy client, supporting Sing-box, X-ray, TUIC, Hysteria, Reality, Trojan, SSH etc. It’s an open-source, secure and ad-free.

DartappOtherproxysingbox
hiddify.com
32.6k3k
Z-Siqi/Clash-for-Windows_Chinese

clash for windows汉化版. 提供clash for windows的汉化版, 汉化补丁及汉化版安装程序

JavaScriptnpmappclashwindows
28.5k3.2k
Loyalsoldier/clash-rules

🦄️ 🎃 👻 Clash Premium 规则集(RULE-SET),兼容 ClashX Pro、Clash for Windows 等基于 Clash Premium 内核的客户端。

GNU General Public License v3.0clashgeosite
28.4k2.2k
mihomo-party-org/clash-party

:electron: Another Mihomo GUI.

TypeScriptnpmappGNU General Public License v3.0clash-metamihomo
clashparty.org
26.3k2.1k
zzzgydi/clash-verge

A Clash GUI based on tauri. Supports Windows, macOS and Linux.

TypeScriptnpmrustclash
21.9k3.1k
yanue/V2rayU

V2rayU,基于v2ray核心的mac版客户端,用于科学上网,使用swift编写,支持trojan,vmess,shadowsocks,socks5等服务协议,支持订阅, 支持二维码,剪贴板导入,手动配置,二维码分享等

appv2rayv2rayu
github.com/yanue/V2rayU
20.1k3k
Pawdroid/Free-servers

🚀 免费订阅地址,🚀 免费节点,🚀 6小时更新一次,共享节点,节点质量高可用,完全免费。免费clash订阅地址,免费翻墙、免费科学上网、免费梯子、免费ss/v2ray/trojan节点、谷歌商店、翻墙梯子。🚀 Free subscription address, 🚀 Free node, 🚀 Updated every 6 hours, shared node, high-quality node availability, completely free. Free clash subscription address, free ss/v2ray/trojan node.

shadowrocketshadowsocks
v2cross.com
19k1.2k
tindy2013/subconverter

Utility to convert between various subscription format

C++cliGNU General Public License v3.0clashclashr
17k3.8k
free-nodes/clashfree

clash节点、免费clash节点、免费节点、免费梯子、clash科学上网、clash翻墙、clash订阅链接、clash for Windows、clash教程、免费公益节点、最新clash免费节点订阅地址、clash免费节点每日更新

clashfreefq
clashgithub.com
16.5k1.4k
DiningFactory/panda-vpn-pro

🚁🚀 2026机场推荐 | 熊猫VPN(PandaVPNPro)已确定跑路!快连VPN ,小牛加速器(小牛VPN)体验不佳且价格贵。低价机场,便宜机场,平价机场,性价比机场,高速机场,稳定机场,一元机场,翻墙机场,付费机场,收费机场,冷门机场,优质机场,廉价机场。机场评测,中国翻墙,科学上网,梯子。非永久免费梯子,官网,非永久免费VPN,非免费机场!VPN China。按量计费机场,按量付费机场,不限时机场。机场节点订阅,节点分享,Clash节点,V2ray节点,非免费节点。适用ClashForWindows,V2rayN,singbox,nekobox,小火箭等代理软件🚀🚁

Apache License 2.0airportclash
free-5620788.webadorsite.com
14.7k390