Top Related Projects
A simple Python Pydantic model for Honkai: Star Rail parsed data from the Mihomo API.
Yet Another Clash Dashboard
Run sing-box/mihomo as client in shell
Quick Overview
OpenClash is an open-source Clash client for OpenWrt. It provides a user-friendly interface for managing and configuring Clash, a rule-based tunnel software, on OpenWrt devices. OpenClash allows users to easily set up and manage proxy rules, enabling secure and flexible network traffic routing.
Pros
- Easy integration with OpenWrt systems
- User-friendly web interface for configuration
- Supports various proxy protocols and rule sets
- Regular updates and active community support
Cons
- Limited to OpenWrt devices
- May require some networking knowledge for optimal configuration
- Can be resource-intensive on low-end devices
- Potential security risks if not properly configured
Getting Started
To install OpenClash on your OpenWrt device:
- Download the latest release from the GitHub repository.
- Upload the IPK file to your OpenWrt device.
- Install the package using the following command:
opkg install openclash_<version>_<architecture>.ipk
- Access the OpenClash web interface through your OpenWrt LuCI panel.
- Configure your proxy servers and rule sets.
- Enable OpenClash and apply the settings.
For detailed instructions and advanced configuration options, refer to the project's wiki on GitHub.
Competitor Comparisons
A simple Python Pydantic model for Honkai: Star Rail parsed data from the Mihomo API.
Pros of mihomo
- More actively maintained with frequent updates
- Better performance and resource efficiency
- Supports a wider range of protocols and features
Cons of mihomo
- Less user-friendly interface for configuration
- Steeper learning curve for new users
- Limited documentation compared to OpenClash
Code Comparison
OpenClash configuration example:
proxy-groups:
- name: Proxy
type: select
proxies:
- Auto
- DIRECT
- Server1
- Server2
mihomo configuration example:
proxy-groups:
- name: Proxy
type: select
use:
- provider1
proxies:
- DIRECT
- Server1
- Server2
Both projects aim to provide a clash core for OpenWrt systems, but mihomo (formerly Clash.Meta) offers more advanced features and better performance. OpenClash provides a more user-friendly interface and extensive documentation, making it easier for beginners to set up and use. mihomo, on the other hand, caters to more advanced users who require additional customization options and improved performance. The code comparison shows slight differences in configuration syntax, with mihomo supporting proxy providers for more flexible management of proxy lists.
Yet Another Clash Dashboard
Pros of yacd
- Lightweight and focused dashboard for Clash
- Easy to integrate with existing Clash setups
- Cross-platform web-based interface
Cons of yacd
- Limited to dashboard functionality only
- Requires a separate Clash core to function
- Less comprehensive feature set for overall Clash management
Code comparison
yacd (React component):
function App() {
return (
<div className="app">
<Header />
<SideBar />
<Main />
</div>
);
}
OpenClash (Lua configuration):
local function config()
local uci = luci.model.uci.cursor()
local clash = "openclash"
local http_port = uci:get(clash, "config", "http_port")
local dashboard_password = uci:get(clash, "config", "dashboard_password")
-- Additional configuration logic
end
Summary
OpenClash is a comprehensive Clash implementation for OpenWrt, offering a full suite of features for managing Clash on routers. It includes its own dashboard, configuration management, and integration with OpenWrt.
yacd, on the other hand, is a standalone dashboard for Clash that can be used with various Clash implementations. It's more focused and lightweight but requires a separate Clash core to function.
The choice between the two depends on the specific use case: OpenClash for a full OpenWrt solution, or yacd for a flexible dashboard that can be used with different Clash setups.
Run sing-box/mihomo as client in shell
Pros of ShellCrash
- Lightweight and efficient, suitable for low-resource devices
- Easy to install and configure through shell scripts
- Supports a wide range of platforms, including OpenWrt and various Linux distributions
Cons of ShellCrash
- Less feature-rich compared to OpenClash
- Smaller community and fewer updates
- Limited GUI options, primarily relies on command-line interface
Code Comparison
OpenClash configuration example:
port: 7890
socks-port: 7891
allow-lan: true
mode: Rule
log-level: info
external-controller: :9090
ShellCrash configuration example:
clash_port=7890
dns_port=1053
clash_ui_port=9090
run_mode="redir-host"
Key Differences
- OpenClash is more focused on OpenWrt devices, while ShellCrash has broader platform support
- OpenClash offers a more comprehensive GUI, making it easier for non-technical users
- ShellCrash is more lightweight and can be easily integrated into existing systems
- OpenClash has a larger user base and more frequent updates
- ShellCrash provides simpler configuration options, which can be beneficial for quick setups
Both projects aim to provide Clash-based proxy management, but they cater to different user needs and preferences. OpenClash is better suited for users who prefer a feature-rich, GUI-driven experience on OpenWrt devices, while ShellCrash is ideal for those who prioritize simplicity and cross-platform compatibility.
Convert designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual CopilotREADME
OpenClash
æ¬æ件æ¯ä¸ä¸ªå¯è¿è¡å¨ OpenWrt ä¸ç Clash 客æ·ç«¯
å ¼å®¹ ShadowsocksãShadowsocksRãVmessãTrojanãSnell çåè®®ï¼æ ¹æ®çµæ´»çè§åé ç½®å®ç°çç¥ä»£ç
- æè°¢ frainzy1477 ï¼æ¬æ件åºäº Luci For Clash è¿è¡äºæ¬¡å¼å -
使ç¨æå
ä¸è½½å°å
- IPK åå¾ä¸è½½
ä¾èµ
- luci
- luci-base
- dnsmasq-full
- coreutils
- coreutils-nohup
- bash
- curl
- ca-certificates
- ipset
- ip-full
- libcap
- libcap-bin
- 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
# å¼å§ç¼è¯
# å
åéå°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
许å¯
- MIT License
- å æ ¸ clash by Dreamacro
- æ¬é¡¹ç®ä»£ç åºäº Luci For Clash by frainzy1477
- GEOIPæ°æ®åº GeoLite2 by MaxMind
- IPæ£æ¥ MyIP by SukkaW
- æ§å¶é¢æ¿ clash-dashboard by Dreamacro
- æ§å¶é¢æ¿ yacd by haishanh
- lhie1è§å lhie1-Rules by lhie1
- ConnersHuaè§å ConnersHua-Rules by ConnersHua
- 游æè§å SSTap-Rule by FQrabbit
- æµåªä½è§£éæ£æµ RegionRestrictionCheck by lmc999
请ä½è åæ¯åå¡
- PayPal
- USDT-TRC20
- æ¯ç¹å¸-BTC
- 以太å¸-ETH
é¢è§
- è¿è¡ç¶æ
- å ¨å±è®¾ç½®
- æå¡å¨&çç¥ç»
- è§å&çç¥ç»
- é ç½®æ件订é
- é ç½®æ件管ç
- è¿è¡æ¥å¿
Top Related Projects
A simple Python Pydantic model for Honkai: Star Rail parsed data from the Mihomo API.
Yet Another Clash Dashboard
Run sing-box/mihomo as client in shell
Convert designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual Copilot