MCPcopy
hub / github.com/nikkinikki-org/OpenWrt-nikki

github.com/nikkinikki-org/OpenWrt-nikki @v1.26.1 sqlite

repository ↗ · DeepWiki ↗ · release v1.26.1 ↗
2 symbols 5 edges 7 files 0 documented · 0%
README

GitHub License GitHub Tag GitHub Downloads (all assets, all releases) GitHub Repo stars Telegram

中文 | English

Nikki

在 OpenWrt 上使用 Mihomo 进行透明代理。

环境要求

  • OpenWrt >= 24.10
  • Linux Kernel >= 5.13
  • firewall4

功能

  • 透明代理 (Redirect/TPROXY/TUN, IPv4 和/或 IPv6)
  • 访问控制
  • 配置文件混入
  • 配置文件编辑器
  • 定时重启

安装和更新

A. 从软件源安装(推荐)

  1. 添加源
# 只需运行一次
wget -O - https://github.com/nikkinikki-org/OpenWrt-nikki/raw/refs/heads/main/feed.sh | ash
  1. 安装
# 你可以从 shell 执行命令安装或者从 LuCI 的`软件包`菜单安装
# for opkg
opkg install nikki
opkg install luci-app-nikki
opkg install luci-i18n-nikki-zh-cn
# for apk
apk add nikki
apk add luci-app-nikki
apk add luci-i18n-nikki-zh-cn

B. 从发行版安装

wget -O - https://github.com/nikkinikki-org/OpenWrt-nikki/raw/refs/heads/main/install.sh | ash

卸载并重置

wget -O - https://github.com/nikkinikki-org/OpenWrt-nikki/raw/refs/heads/main/uninstall.sh | ash

如何使用

查看 Wiki

如何工作

  1. 混入并更新配置文件。
  2. 启动 Mihomo。
  3. 设置定时重启。
  4. 配置 IP 规则/路由。
  5. 生成防火墙配置并应用。

注意上述步骤可能因配置而变动。

编译

# 添加源
echo "src-git nikki https://github.com/nikkinikki-org/OpenWrt-nikki.git;main" >> "feeds.conf.default"
# 更新并安装源
./scripts/feeds update -a
./scripts/feeds install -a
# 编译
make package/luci-app-nikki/compile

编译结果可以在bin/packages/your_architecture/nikki内找到。

依赖

  • ca-bundle
  • curl
  • yq
  • firewall4
  • ip-full
  • kmod-inet-diag
  • kmod-nft-socket
  • kmod-nft-tproxy
  • kmod-tun
  • kmod-dummy

贡献者

贡献者

特别感谢

推荐机场

推荐 Perfect Link

路线全 IEPL、落地全 Akari 的机场,靠谱好用

官网 | 客服

Core symbols most depended-on inside this repo

updateStatus
called by 2
luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js
renderStatus
called by 1
luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js

Shape

Function 2

Languages

TypeScript100%

Modules by API surface

luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js2 symbols

For agents

$ claude mcp add OpenWrt-nikki \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact