Skip to content

YUxiangLuo/miao

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

242 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Miao

开箱即用的透明代理分流器,基于 sing-box 内核。单文件、零依赖,支持 Linux 与 OpenWrt。

image

特性

  • 单文件部署 — 内嵌 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 进入控制面板。

About

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

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors