SkillAgentSearch skills...

Miao

一个开箱即用的 sing-box 启动器,支持Linux系统/OpenWrt软路由。30秒实现 TUN 模式透明代理,国内外自动分流。

Install / Use

/learn @YUxiangLuo/Miao
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Miao

开箱即用的透明代理分流器,基于 sing-box 内核。单文件、零依赖,支持 Linux 与 OpenWrt。(暂时不支持apk版本的openwrt)

<img width="1415" height="952" alt="image" src="https://github.com/user-attachments/assets/172530bf-cb7e-4482-8dfd-ea8146c33eb0" />

特性

  • 单文件部署 — 内嵌 sing-box + GEO 规则,下载即用
  • TUN 透明代理 — 自动创建虚拟网卡接管全局流量
  • 国内外自动分流 — 内置 GEOIP/GEOSITE 规则,大陆直连、海外走代理
  • Web 控制面板 — 订阅管理、节点切换、延迟测速、流量监控
  • 协议支持 — Hysteria2 / AnyTLS / Shadowsocks
  • 静默升级 — 一键更新到最新 Release(SHA256 校验)
  • OpenWrt 适配 — 自动安装 TUN 所需内核模块

快速开始

# 下载(按架构二选一)
mkdir ~/miao && cd ~/miao

# amd64
wget https://github.com/YUxiangLuo/miao/releases/latest/download/miao-rust-linux-amd64 -O miao && chmod +x miao
# arm64
wget https://github.com/YUxiangLuo/miao/releases/latest/download/miao-rust-linux-arm64 -O miao && chmod +x miao

创建 config.yaml

port: 6161  # Web 面板端口,默认 6161

# 订阅链接(推荐,Clash.Meta 格式)
subs:
  - "https://your-subscription-url"

# 或手动配置节点(可与 subs 混合使用)
nodes:
  - '{"type":"hysteria2","tag":"HY2","server":"example.com","server_port":443,"password":"xxx","tls":{"enabled":true}}'
  - '{"type":"anytls","tag":"AnyTLS","server":"example.com","server_port":443,"password":"xxx","tls":{"enabled":true}}'
  - '{"type":"shadowsocks","tag":"SS","server":"example.com","server_port":443,"method":"2022-blake3-aes-128-gcm","password":"xxx"}'

运行(需要 root 权限以创建 TUN 网卡):

sudo ./miao

访问 http://localhost:6161 进入控制面板。

Related Skills

View on GitHub
GitHub Stars115
CategoryDevelopment
Updated5h ago
Forks12

Languages

Rust

Security Score

85/100

Audited on Mar 27, 2026

No findings