├── .github └── workflows │ ├── BuildEnviroment │ ├── Hi_NueXini.yml │ ├── NueXini.yml │ └── za.yml ├── Clash ├── config │ └── NueXini_basic.ini ├── oldconfig │ ├── basic.ini │ └── basic_load-balance.ini └── ruleset │ ├── LAN.list │ ├── My.list │ ├── OpenAI.list │ └── TikTok.list ├── OpenWrt-SSRP ├── All.list ├── Epic.list ├── Steam.list ├── SteamCN.list └── TikTok.list ├── QuantumultX └── AD_Block_Plus.txt ├── README.md ├── Shadowrocket ├── Shadowrocket.conf ├── TiKTok-JP.conf ├── TiKTok-KR.conf ├── TiKTok-TW.conf ├── TiKTok-US.conf └── TikTok.list ├── Surge └── AD_Block_Plus.txt ├── Tool ├── New.md ├── Surge转acl工具 │ ├── acl自定义语言格式文件.xml │ ├── shortcuts.xml │ └── 教程.gif └── 正则语法.conf ├── Z.Backup ├── config │ └── xiaomi_mi-router-3g.config ├── list │ ├── cfg.list │ ├── lede-packages-libs.list │ ├── lede-packages-multimedia.list │ ├── lede-packages-net.list │ ├── releasetag.list │ └── trash.list ├── patches │ ├── packages.README.md │ └── x.banner ├── scripts │ ├── a.sh │ ├── cpcfg.sh │ ├── dd.sh │ ├── firmware.sh │ ├── xiaomi_ssh_calc_pwd.sh │ └── xwrt_makemenuconfig.sh └── sh │ ├── Hi_NueXini.sh │ ├── language_fix.sh │ ├── x.defaults.sh │ └── x.sh └── version /.github/workflows/BuildEnviroment: -------------------------------------------------------------------------------- 1 | aria2 ack antlr3 asciidoc autoconf automake autopoint binutils bison build-essential 2 | bzip2 ccache cmake cpio curl device-tree-compiler ecj fakeroot fastjar flex gawk gettext git gperf 3 | gcc-multilib g++-multilib haveged help2man intltool jq lib32gcc-s1 libc6-dev-i386 libelf-dev libglib2.0-dev 4 | libgmp3-dev libltdl-dev libmpc-dev libmpfr-dev libncurses5-dev libncursesw5 libncursesw5-dev libreadline-dev 5 | libssl-dev libtool libz-dev lrzsz libyaml-dev mkisofs msmtp nano ninja-build p7zip p7zip-full patch pkgconf python3 6 | python3-pip python3-ply python3-docutils qemu-utils quilt re2c rsync scons squashfs-tools subversion swig texinfo 7 | uglifyjs unzip vim wget xmlto xxd zlib1g-dev upx-ucl upx libpython3-dev 8 | -------------------------------------------------------------------------------- /.github/workflows/Hi_NueXini.yml: -------------------------------------------------------------------------------- 1 | 2 | name: Hi NueXini 3 | 4 | on: 5 | workflow_dispatch: 6 | inputs: 7 | config: 8 | description: 'Configuration File' 9 | required: true 10 | default: 'xiaomi_mi-router-3g.config' 11 | source: 12 | description: 'Git Source' 13 | required: true 14 | default: '1' 15 | 16 | jobs: 17 | build: 18 | runs-on: ubuntu-latest 19 | 20 | steps: 21 | - name: Checkout 22 | uses: actions/checkout@main 23 | 24 | - name: Build 25 | run: | 26 | chmod +x $GITHUB_WORKSPACE/Z.Backup/sh/*.sh 27 | chmod +x $GITHUB_WORKSPACE/Z.Backup/scripts/*.sh 28 | 29 | releasetag=$(sed -n "${{ github.event.inputs.source }}p" $GITHUB_WORKSPACE/Z.Backup/list/releasetag.list) 30 | git clone $releasetag dd 31 | 32 | cd dd 33 | mkdir -p ./nuexini 34 | 35 | echo 'src-git NueXini_Packages https://github.com/NueXini/NueXini_Packages.git' >> feeds.conf.default 36 | ./scripts/feeds update -a 37 | ./scripts/feeds install -a 38 | 39 | cp -rf $GITHUB_WORKSPACE/Z.Backup/config/${{ github.event.inputs.config }} .config 40 | 41 | bash $GITHUB_WORKSPACE/Z.Backup/sh/Hi_NueXini.sh 42 | 43 | ln -sf $GITHUB_WORKSPACE/Z.Backup/scripts/xwrt_makemenuconfig.sh ./mk.sh 44 | ln -sf $GITHUB_WORKSPACE/Z.Backup/scripts/cpcfg.sh ./cp.sh 45 | ln -sf $GITHUB_WORKSPACE/Z.Backup/scripts/dd.sh ./dd.sh 46 | 47 | - name: Hi NueXini 48 | uses: mxschmitt/action-tmate@master 49 | 50 | - name: Preparation 51 | run: | 52 | cd dd 53 | bash dd.sh 54 | 55 | - name: Last thing 56 | uses: actions/upload-artifact@master 57 | with: 58 | name: config 59 | path: dd/nuexini 60 | 61 | ###### ###### ###### ###### ###### 62 | # - name: Hi NueXini 63 | # uses: rdp-studio/ssh2actions@v2.0.0 64 | # with: 65 | # mode: ngrok 66 | # env: 67 | # SSH_PASSWORD: 'nuexini' 68 | # NGROK_TOKEN: ${{ secrets.NGROK_TOKEN }} 69 | -------------------------------------------------------------------------------- /.github/workflows/NueXini.yml: -------------------------------------------------------------------------------- 1 | 2 | name: NueXini 3 | 4 | on: 5 | workflow_dispatch: 6 | inputs: 7 | source: 8 | description: 'Git Source' 9 | required: true 10 | default: '1' 11 | 12 | jobs: 13 | Fconfig: 14 | name: Generate Config 15 | runs-on: ubuntu-latest 16 | outputs: 17 | CFG_CONFIG: ${{ steps.findconfig.outputs.CFG_CONFIG }} 18 | 19 | steps: 20 | - name: Checkout 21 | uses: actions/checkout@main 22 | 23 | - name: Find Config 24 | id: findconfig 25 | run: | 26 | CFGS="$(cat $GITHUB_WORKSPACE/Z.Backup/list/cfg.list)" 27 | 28 | NUEXINI='[' 29 | n=1 30 | 31 | for a in $CFGS; do 32 | [[ $n -ne 1 ]] && NUEXINI="$NUEXINI"',' 33 | NUEXINI="$NUEXINI"'"'"${a}"'"' 34 | n=0 35 | done 36 | 37 | NUEXINI="$NUEXINI"']' 38 | 39 | echo $NUEXINI 40 | echo "CFG_CONFIG=$NUEXINI" >> $GITHUB_OUTPUT 41 | 42 | build: 43 | name: ${{ matrix.config }} 44 | needs: [Fconfig] 45 | runs-on: ubuntu-latest 46 | strategy: 47 | fail-fast: false 48 | matrix: 49 | config: ${{fromJson(needs.Fconfig.outputs.CFG_CONFIG)}} 50 | 51 | steps: 52 | - name: Checkout 53 | uses: actions/checkout@main 54 | 55 | - name: Initialization 56 | env: 57 | DEBIAN_FRONTEND: noninteractive 58 | run: | 59 | sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc 60 | sudo -E apt-get -y update 2>&1 >/dev/null 61 | sudo -E apt-get -y install $(cat ./.github/workflows/BuildEnviroment) 2>&1 >/dev/null 62 | sudo -E apt-get -y autoremove --purge 2>&1 >/dev/null 63 | sudo -E apt-get -y clean 2>&1 >/dev/null 64 | 65 | - name: Git Clone 66 | run: | 67 | chmod +x $GITHUB_WORKSPACE/Z.Backup/sh/*.sh 68 | chmod +x $GITHUB_WORKSPACE/Z.Backup/scripts/*.sh 69 | 70 | releasetag=$(sed -n "${{ github.event.inputs.source }}p" $GITHUB_WORKSPACE/Z.Backup/list/releasetag.list) 71 | git clone $releasetag nuexini 72 | 73 | - name: Feeds 74 | run: | 75 | cd nuexini 76 | echo 'src-git NueXini_Packages https://github.com/NueXini/NueXini_Packages.git' >> feeds.conf.default 77 | ./scripts/feeds update -a 78 | ./scripts/feeds install -a 79 | 80 | - name: Configure .config 81 | run: | 82 | cd nuexini 83 | cp -f $GITHUB_WORKSPACE/Z.Backup/config/${{ matrix.config }} .config 84 | 85 | bash $GITHUB_WORKSPACE/Z.Backup/sh/Hi_NueXini.sh 86 | 87 | - name: Parse toolchain file 88 | run: | 89 | cd nuexini 90 | grep '^CONFIG_TARGET_BOARD' .config | cut -d '"' -f 2 >NX_TARGET_BOARD 91 | grep '^CONFIG_TARGET_SUBTARGET' .config | cut -d '"' -f 2 >NX_TARGET_SUBTARGET 92 | curl -s "https://downloads.cdn.openwrt.org/snapshots/targets/$(cat NX_TARGET_BOARD)/$(cat NX_TARGET_SUBTARGET)/sha256sums" \ 93 | | sed -n -e 's/.*\(openwrt-toolchain.*\).tar.xz/\1/p' >NX_TOOLCHAIN_FILE 94 | cat NX_TOOLCHAIN_FILE 95 | 96 | - name: Download toolchain 97 | run: | 98 | cd nuexini 99 | wget -q -O - https://downloads.cdn.openwrt.org/snapshots/targets/$(cat NX_TARGET_BOARD)/$(cat NX_TARGET_SUBTARGET)/$(cat NX_TOOLCHAIN_FILE).tar.xz \ 100 | | tar --xz -xf - 101 | 102 | - name: Configure external toolchain 103 | run: | 104 | cd nuexini 105 | bash ./scripts/ext-toolchain.sh \ 106 | --toolchain $(cat NX_TOOLCHAIN_FILE)/toolchain-* \ 107 | --overwrite-config \ 108 | --config $(cat NX_TARGET_BOARD)/$(cat NX_TARGET_SUBTARGET) 109 | 110 | make defconfig 111 | make download -j8 112 | rm -rf $(find ./dl/ -size -1024c) 113 | 114 | - name: Build toolchain 115 | run: | 116 | cd nuexini 117 | make toolchain/install -j$(nproc) 118 | 119 | - name: Build 120 | run: | 121 | cd nuexini 122 | 123 | make -j$(nproc) || make -j1 V=sc > ./make-error.log 2>&1 124 | 125 | mkdir -p ./artifact/firmware 126 | 127 | bash $GITHUB_WORKSPACE/Z.Backup/scripts/firmware.sh 128 | 129 | - name: Upload error log 130 | uses: actions/upload-artifact@master 131 | if: failure() 132 | with: 133 | name: ${{ matrix.config }}-build-failure-log 134 | path: nuexini/make-error.log 135 | 136 | - name: Upload Firmware 137 | uses: actions/upload-artifact@master 138 | with: 139 | name: ${{ matrix.config }} 140 | path: nuexini/artifact/firmware 141 | -------------------------------------------------------------------------------- /.github/workflows/za.yml: -------------------------------------------------------------------------------- 1 | 2 | name: Test 3 | 4 | on: 5 | workflow_dispatch: 6 | schedule: 7 | - cron: '0 4,10,16,22 * * *' 8 | 9 | jobs: 10 | packages: 11 | runs-on: ubuntu-latest 12 | 13 | steps: 14 | - name: Checkout 15 | uses: actions/checkout@main 16 | 17 | - name: Initialization environment 18 | run: | 19 | # sudo -E apt-get -y update 20 | # sudo -E apt-get -y install git subversion git-core wget 21 | git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" 22 | git config --global user.name "github-actions[bot]" 23 | 24 | - name: Clone packages 25 | run: | 26 | chmod +x $GITHUB_WORKSPACE/Z.Backup/scripts/*.sh 27 | git clone https://github.com/NueXini/NueXini_Packages -b main --single-branch packages 28 | cd packages 29 | rm -rf * 30 | bash $GITHUB_WORKSPACE/Z.Backup/scripts/a.sh 31 | 32 | - name: Upload packages 33 | run: | 34 | cd packages 35 | git add . 36 | Emoji=("🎉" "✨" "🎁" "🎈" "🎄" "🍓" "🍕" "🍉" "🌴" "🚀" "⛅" "🌈" "❤️") 37 | git commit -m "${Emoji[$[$RANDOM % ${#Emoji[@]}]]}update at $(TZ='Asia/Shanghai' date +%Y-%m-%d)${Emoji[$[$RANDOM % ${#Emoji[@]}]]}" 38 | git push --quiet "https://${{ secrets.TOKEN }}@github.com/NueXini/NueXini_Packages.git" HEAD:main 39 | 40 | - name: Delete workflow runs 41 | uses: Mattraks/delete-workflow-runs@v1.2.3 42 | with: 43 | retain_days: 1 44 | keep_minimum_runs: 0 45 | 46 | -------------------------------------------------------------------------------- /Clash/config/NueXini_basic.ini: -------------------------------------------------------------------------------- 1 | [custom] 2 | 3 | ruleset=🇨🇳CN,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/ruleset/LAN.list 4 | ruleset=🇨🇳CN,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/GoogleCN.list 5 | ruleset=🇨🇳CN,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/SteamCN.list 6 | ruleset=🎼TikTok,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/ruleset/TikTok.list 7 | ruleset=📺Netflix,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Netflix.list 8 | ruleset=🐭DisneyPlus,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/DisneyPlus.list 9 | ruleset=🧔OpenAI,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/ruleset/OpenAI.list 10 | ruleset=🎮Game,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Epic.list 11 | ruleset=🎮Game,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Origin.list 12 | ruleset=🎮Game,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Sony.list 13 | ruleset=🎮Game,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Steam.list 14 | ruleset=🎮Game,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Nintendo.list 15 | ruleset=🔒GFWList,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyLite.list 16 | ruleset=🇨🇳CN,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/ruleset/My.list 17 | ruleset=🇨🇳CN,[]GEOIP,CN 18 | ruleset=🗑Other,[]FINAL 19 | 20 | custom_proxy_group=🚀节点选择`select`[]✅自动选择`[]🇭🇰香港节点`.* 21 | custom_proxy_group=🎼TikTok`select`[]🚀节点选择`.* 22 | custom_proxy_group=📺Netflix`select`[]🚀节点选择`.* 23 | custom_proxy_group=🐭DisneyPlus`select`[]🚀节点选择`.* 24 | custom_proxy_group=🧔OpenAI`select`[]🚀节点选择`.* 25 | custom_proxy_group=🎮Game`select`[]🚀节点选择`🇨🇳CN`.* 26 | custom_proxy_group=🔒GFWList`select`[]🚀节点选择`.* 27 | custom_proxy_group=🇨🇳CN`select`[]DIRECT`[]🚀节点选择`.* 28 | custom_proxy_group=🗑Other`select`[]🚀节点选择`[]DIRECT`[]REJECT 29 | custom_proxy_group=✅自动选择`url-test`.*`http://www.gstatic.com/generate_204`300,,50 30 | custom_proxy_group=🇭🇰香港节点`url-test`(港|HK|Hong Kong)`http://www.gstatic.com/generate_204`300,,50 31 | 32 | 33 | enable_rule_generator=true 34 | overwrite_original_rules=true 35 | ; 36 | ; 37 | -------------------------------------------------------------------------------- /Clash/oldconfig/basic.ini: -------------------------------------------------------------------------------- 1 | [custom] 2 | 3 | ; 为什么要分流 4 | ; # 这样可以针对不同的网站选择不同的节点 5 | ; # 例如Netflix等视频媒体流需要解锁才能观看,倍率也有可能高一点,这样就只需要针对这些网站走指定节点,对无特殊要求的网站走一些低倍率的节点,从而达到省流效果 6 | ; # ViuTV和TVB需要香港IP才能看,只需要在'HKMedia'分组设置香港IP,其他网站选择对应的节点,访问不用的网站不需要频繁更换指定节点 7 | ; 8 | 9 | ; 分流规则详细解答 10 | ; 1.选择'绕过局陆'的节点,该选项默认是'局域网和大陆以外的网站'走该选项下的节点 11 | ; 2.选择'TikTok'的节点,访问TikTok的网站时默认走该选项下的节点,默认选择'绕过局陆' 12 | ; 3.后面的分组同2的意思 13 | ; 4.'BanAD'去广告,选择'REJECT'是去广告,选择'DIRECT'是不去广告,默认是前者 14 | ; 5.'CNIP'针对中国大陆IP,默认是'DIRECT',直连 15 | ; 6.'Other'是针对访问的网站都无法匹配到上述的分组时,选择走代理还是直连,默认走代理 16 | 17 | ruleset=📡Telegram,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/Telegram.list 18 | ruleset=🎼TikTok,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/TikTok.list 19 | ruleset=📺Amazon,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/Amazon.list 20 | ruleset=📺Netflix,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/Netflix.list 21 | ruleset=📺HBO,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/HBO.list 22 | ruleset=🦊FOX,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/FOX.list 23 | ruleset=🐭Disney,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/Disney.list 24 | ruleset=📺Hulu,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/Hulu.list 25 | ruleset=📺HKMedia,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/HKMedia.list 26 | ;ruleset=⛔BanAD,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanAD.list 27 | ;ruleset=⛔BanAD,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanProgramAD.list 28 | ;ruleset=⛔BanAD,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanEasyListChina.list 29 | ruleset=DIRECT,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/WAN.list 30 | ruleset=🇨🇳CNIP,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaMedia.list 31 | ruleset=🇨🇳CNIP,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/My.list 32 | ruleset=🔒GFWList,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/GFW.list 33 | ruleset=🇨🇳CNIP,[]GEOIP,CN 34 | ruleset=🗑Other,[]FINAL 35 | 36 | custom_proxy_group=🚀节点选择`select`[]✅自动选择`.* 37 | custom_proxy_group=✅自动选择`url-test`.*`http://www.gstatic.com/generate_204`300,,50 38 | custom_proxy_group=📡Telegram`select`[]🚀节点选择`.* 39 | custom_proxy_group=🎼TikTok`select`[]🚀节点选择`.* 40 | custom_proxy_group=📺Amazon`select`[]🚀节点选择`.* 41 | custom_proxy_group=📺Netflix`select`[]🚀节点选择`.* 42 | custom_proxy_group=📺HBO`select`[]🚀节点选择`.* 43 | custom_proxy_group=🦊FOX`select`[]🚀节点选择`.* 44 | custom_proxy_group=🐭Disney`select`[]🚀节点选择`.* 45 | custom_proxy_group=📺Hulu`select`[]🚀节点选择`.* 46 | custom_proxy_group=📺HKMedia`select`[]🚀节点选择`.* 47 | ;custom_proxy_group=⛔BanAD`select`[]REJECT`[]DIRECT`[]🚀节点选择 48 | custom_proxy_group=🔒GFWList`select`[]🚀节点选择`[]DIRECT`[]REJECT 49 | custom_proxy_group=🇨🇳CNIP`select`[]DIRECT`[]REJECT`[]🚀节点选择 50 | custom_proxy_group=🗑Other`select`[]🚀节点选择`[]DIRECT`[]REJECT 51 | 52 | enable_rule_generator=true 53 | -------------------------------------------------------------------------------- /Clash/oldconfig/basic_load-balance.ini: -------------------------------------------------------------------------------- 1 | [custom] 2 | 3 | ; 为什么要分流 4 | ; # 这样可以针对不同的网站选择不同的节点 5 | ; # 例如Netflix等视频媒体流需要解锁才能观看,倍率也有可能高一点,这样就只需要针对这些网站走指定节点,对无特殊要求的网站走一些低倍率的节点,从而达到省流效果 6 | ; # ViuTV和TVB需要香港IP才能看,只需要在'HKMedia'分组设置香港IP,其他网站选择对应的节点,访问不用的网站不需要频繁更换指定节点 7 | ; 8 | 9 | ; 分流规则详细解答 10 | ; 1.选择'绕过局陆'的节点,该选项默认是'局域网和大陆以外的网站'走该选项下的节点 11 | ; 2.选择'TikTok'的节点,访问TikTok的网站时默认走该选项下的节点,默认选择'绕过局陆' 12 | ; 3.后面的分组同2的意思 13 | ; 4.'BanAD'去广告,选择'REJECT'是去广告,选择'DIRECT'是不去广告,默认是前者 14 | ; 5.'CNIP'针对中国大陆IP,默认是'DIRECT',直连 15 | ; 6.'Other'是针对访问的网站都无法匹配到上述的分组时,选择走代理还是直连,默认走代理 16 | 17 | ; 负载均衡介绍 18 | ; 在整体中'绕过局陆'中选择'负载均衡'是针对所有可用节点中来回切换 19 | ; 比如选择'香港均衡',会自动在可用的香港节点情况下切换 20 | ; IP频繁更换,有封禁风险! 21 | 22 | ruleset=🎼TikTok,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/TikTok.list 23 | ruleset=📡Telegram,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/Telegram.list 24 | ruleset=📺YouTube,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/YouTube.list 25 | ruleset=📺Amazon,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/Amazon.list 26 | ruleset=📺Netflix,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/Netflix.list 27 | ruleset=📺HBO,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/HBO.list 28 | ruleset=📺FOX,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/FOX.list 29 | ruleset=📺Disney,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/Disney.list 30 | ruleset=📺Hulu,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/Hulu.list 31 | ruleset=📺HKMedia,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/HKMedia.list 32 | ruleset=🎧Spotify,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/Spotify.list 33 | ruleset=🎧JOOX,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/JOOX.list 34 | ruleset=📩Microsoft,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/Microsoft.list 35 | ruleset=🍏Apple,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/Apple.list 36 | ruleset=⛔BanAD,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanAD.list 37 | ruleset=⛔BanAD,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanProgramAD.list 38 | ruleset=DIRECT,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/WAN.list 39 | ruleset=🇨🇳CNIP,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/CNIP.list 40 | ruleset=🇨🇳CNIP,[]GEOIP,CN 41 | ruleset=🗑Other,[]FINAL 42 | 43 | custom_proxy_group=🚀绕过局陆`select`[]✅自动选择`[]⌛负载均衡`[]📌回退可用`[]🇭🇰香港均衡`[]🇹🇼台湾均衡`[]🇯🇵日本均衡`[]🇺🇲美国均衡`[]🇸🇬新加坡均衡`[]🇰🇷韩国均衡`.* 44 | custom_proxy_group=✅自动选择`url-test`.*`http://www.gstatic.com/generate_204`300,,50 45 | custom_proxy_group=📌回退可用`fallback`.*`http://www.gstatic.com/generate_204`300,,50 46 | custom_proxy_group=⌛负载均衡`load-balance`.*`http://www.gstatic.com/generate_204`300,,50 47 | custom_proxy_group=🎼TikTok`select`[]🚀绕过局陆`[]🇭🇰香港均衡`[]🇹🇼台湾均衡`[]🇯🇵日本均衡`[]🇺🇲美国均衡`[]🇸🇬新加坡均衡`[]🇰🇷韩国均衡`.* 48 | custom_proxy_group=📡Telegram`select`[]🚀绕过局陆`[]🇭🇰香港均衡`[]🇹🇼台湾均衡`[]🇯🇵日本均衡`[]🇺🇲美国均衡`[]🇸🇬新加坡均衡`[]🇰🇷韩国均衡`.* 49 | custom_proxy_group=📺YouTube`select`[]🚀绕过局陆`[]🇭🇰香港均衡`[]🇹🇼台湾均衡`[]🇯🇵日本均衡`[]🇺🇲美国均衡`[]🇸🇬新加坡均衡`[]🇰🇷韩国均衡`.* 50 | custom_proxy_group=📺Amazon`select`[]🚀绕过局陆`[]⚓流媒体均衡`[]🇭🇰香港均衡`[]🇹🇼台湾均衡`[]🇯🇵日本均衡`[]🇺🇲美国均衡`[]🇸🇬新加坡均衡`[]🇰🇷韩国均衡`.* 51 | custom_proxy_group=📺Netflix`select`[]🚀绕过局陆`[]⚓流媒体均衡`[]🇭🇰香港均衡`[]🇹🇼台湾均衡`[]🇯🇵日本均衡`[]🇺🇲美国均衡`[]🇸🇬新加坡均衡`[]🇰🇷韩国均衡`.* 52 | custom_proxy_group=📺HBO`select`[]🚀绕过局陆`[]⚓流媒体均衡`[]🇭🇰香港均衡`[]🇹🇼台湾均衡`[]🇯🇵日本均衡`[]🇺🇲美国均衡`[]🇸🇬新加坡均衡`[]🇰🇷韩国均衡`.* 53 | custom_proxy_group=📺FOX`select`[]🚀绕过局陆`[]⚓流媒体均衡`[]🇭🇰香港均衡`[]🇹🇼台湾均衡`[]🇯🇵日本均衡`[]🇺🇲美国均衡`[]🇸🇬新加坡均衡`[]🇰🇷韩国均衡`.* 54 | custom_proxy_group=📺Disney`select`[]🚀绕过局陆`[]⚓流媒体均衡`[]🇭🇰香港均衡`[]🇹🇼台湾均衡`[]🇯🇵日本均衡`[]🇺🇲美国均衡`[]🇸🇬新加坡均衡`[]🇰🇷韩国均衡`.* 55 | custom_proxy_group=📺Hulu`select`[]🚀绕过局陆`[]⚓流媒体均衡`[]🇭🇰香港均衡`[]🇹🇼台湾均衡`[]🇯🇵日本均衡`[]🇺🇲美国均衡`[]🇸🇬新加坡均衡`[]🇰🇷韩国均衡`.* 56 | custom_proxy_group=📺HKMedia`select`[]🚀绕过局陆`[]⚓流媒体均衡`[]🇭🇰香港均衡`[]🇹🇼台湾均衡`[]🇯🇵日本均衡`[]🇺🇲美国均衡`[]🇸🇬新加坡均衡`[]🇰🇷韩国均衡`.* 57 | custom_proxy_group=🎧Spotify`select`[]🚀绕过局陆`[]🇭🇰香港均衡`[]🇹🇼台湾均衡`[]🇯🇵日本均衡`[]🇺🇲美国均衡`[]🇸🇬新加坡均衡`[]🇰🇷韩国均衡`.* 58 | custom_proxy_group=🎧JOOX`select`[]🚀绕过局陆`[]🇭🇰香港均衡`[]🇹🇼台湾均衡`[]🇯🇵日本均衡`[]🇺🇲美国均衡`[]🇸🇬新加坡均衡`[]🇰🇷韩国均衡`.* 59 | custom_proxy_group=📩Microsoft`select`[]🚀绕过局陆`[]🇭🇰香港均衡`[]🇹🇼台湾均衡`[]🇯🇵日本均衡`[]🇺🇲美国均衡`[]🇸🇬新加坡均衡`[]🇰🇷韩国均衡`.* 60 | custom_proxy_group=🍏Apple`select`[]🚀绕过局陆`[]🇭🇰香港均衡`[]🇹🇼台湾均衡`[]🇯🇵日本均衡`[]🇺🇲美国均衡`[]🇸🇬新加坡均衡`[]🇰🇷韩国均衡`.* 61 | custom_proxy_group=⛔BanAD`select`[]REJECT`[]DIRECT 62 | custom_proxy_group=🇨🇳CNIP`select`[]DIRECT`[]🚀绕过局陆`[]🇭🇰香港均衡`[]🇹🇼台湾均衡`[]🇯🇵日本均衡`[]🇺🇲美国均衡`[]🇸🇬新加坡均衡`[]🇰🇷韩国均衡`.* 63 | custom_proxy_group=🗑Other`select`[]🚀绕过局陆`[]DIRECT`[]🇭🇰香港均衡`[]🇹🇼台湾均衡`[]🇯🇵日本均衡`[]🇺🇲美国均衡`[]🇸🇬新加坡均衡`[]🇰🇷韩国均衡`.* 64 | custom_proxy_group=🇭🇰香港均衡`load-balance`(港|HK|Hong Kong)`http://www.gstatic.com/generate_204`300,,50 65 | custom_proxy_group=🇹🇼台湾均衡`load-balance`(台湾|TW|Taiwan|TaiWan)`http://www.gstatic.com/generate_204`300,,50 66 | custom_proxy_group=🇯🇵日本均衡`load-balance`(日本|[^-]日|JP|Japan)`http://www.gstatic.com/generate_204`300,,50 67 | custom_proxy_group=🇺🇲美国均衡`load-balance`(美|US|United States)`http://www.gstatic.com/generate_204`300,,50 68 | custom_proxy_group=🇸🇬新加坡均衡`load-balance`(坡|SG|Singapore)`http://www.gstatic.com/generate_204`300,,50 69 | custom_proxy_group=🇰🇷韩国均衡`load-balance`(韩|KR|Korea|KOR)`http://www.gstatic.com/generate_204`300,,50 70 | custom_proxy_group=⚓流媒体均衡`load-balance`(流媒体|解锁|NF|Netflix|NETFLIX|Media)`http://www.gstatic.com/generate_204`300,,50 71 | 72 | enable_rule_generator=true 73 | overwrite_original_rules=true 74 | -------------------------------------------------------------------------------- /Clash/ruleset/LAN.list: -------------------------------------------------------------------------------- 1 | # LAN 2 | IP-CIDR,0.0.0.0/8,no-resolve 3 | IP-CIDR,10.0.0.0/8,no-resolve 4 | IP-CIDR,100.64.0.0/10,no-resolve 5 | IP-CIDR,127.0.0.0/8,no-resolve 6 | IP-CIDR,172.16.0.0/12,no-resolve 7 | IP-CIDR,192.168.0.0/16,no-resolve 8 | IP-CIDR,198.18.0.0/16,no-resolve 9 | IP-CIDR,224.0.0.0/4,no-resolve 10 | IP-CIDR6,::1/128,no-resolve 11 | IP-CIDR6,fc00::/7,no-resolve 12 | IP-CIDR6,fe80::/10,no-resolve 13 | IP-CIDR6,fd00::/8,no-resolve -------------------------------------------------------------------------------- /Clash/ruleset/My.list: -------------------------------------------------------------------------------- 1 | # My List 2 | DOMAIN-SUFFIX,ikandy.fun 3 | DOMAIN-SUFFIX,ikandy1.fun 4 | DOMAIN-SUFFIX,ghproxy.com 5 | 6 | # CN域名直连(中国|公司|网络) 7 | DOMAIN-SUFFIX,cn 8 | DOMAIN-SUFFIX,xn--fiqs8s 9 | DOMAIN-SUFFIX,xn--55qx5d 10 | DOMAIN-SUFFIX,xn--io0a7i -------------------------------------------------------------------------------- /Clash/ruleset/OpenAI.list: -------------------------------------------------------------------------------- 1 | DOMAIN-SUFFIX,ai.com 2 | DOMAIN-SUFFIX,openai.com 3 | DOMAIN-SUFFIX,chatgpt.com 4 | DOMAIN-SUFFIX,openaiapi-site.azureedge.net 5 | DOMAIN-SUFFIX,openaicomproductionae4b.blob.core.windows.net 6 | DOMAIN-SUFFIX,openaicom-api-bdcpf8c6d2e9atf6.z01.azurefd.net 7 | DOMAIN-SUFFIX,production-openaicom-storage.azureedge.net 8 | DOMAIN-SUFFIX,o33249.ingest.sentry.io -------------------------------------------------------------------------------- /Clash/ruleset/TikTok.list: -------------------------------------------------------------------------------- 1 | DOMAIN,p16-tiktokcdn-com.akamaized.net 2 | DOMAIN-SUFFIX,amemv.com 3 | DOMAIN-SUFFIX,byteoversea.com 4 | DOMAIN-SUFFIX,ibytedtos.com 5 | DOMAIN-SUFFIX,ibyteimg.com 6 | DOMAIN-SUFFIX,ipstatp.com 7 | DOMAIN-SUFFIX,muscdn.com 8 | DOMAIN-SUFFIX,musical.ly 9 | DOMAIN-SUFFIX,sgpstatp.com 10 | DOMAIN-SUFFIX,snssdk.com 11 | DOMAIN-SUFFIX,tik-tokapi.com 12 | DOMAIN-SUFFIX,tiktok.com 13 | DOMAIN-SUFFIX,tiktokcdn.com 14 | DOMAIN-SUFFIX,tiktokv.com 15 | DOMAIN-KEYWORD,-tiktokcdn-com 16 | DOMAIN-KEYWORD,-tiktok-web -------------------------------------------------------------------------------- /OpenWrt-SSRP/All.list: -------------------------------------------------------------------------------- 1 | p16-tiktokcdn-com.akamaized.net 2 | amemv.com 3 | byteoversea.com 4 | ibytedtos.com 5 | ibyteimg.com 6 | ipstatp.com 7 | muscdn.com 8 | musical.ly 9 | sgpstatp.com 10 | snssdk.com 11 | tik-tokapi.com 12 | tiktok.com 13 | tiktokcdn.com 14 | tiktokv.com 15 | lf16-tiktok-web.ttwstatic.com 16 | amazonaws.com 17 | aws.amazon.com 18 | awsstatic.com 19 | fast.com 20 | netflix.com 21 | netflix.net 22 | nflxext.com 23 | nflximg.net 24 | nflxso.net 25 | nflxvideo.net 26 | netflixdnstest0.com 27 | netflixdnstest1.com 28 | netflixdnstest2.com 29 | netflixdnstest3.com 30 | netflixdnstest4.com 31 | netflixdnstest5.com 32 | netflixdnstest6.com 33 | netflixdnstest7.com 34 | netflixdnstest8.com 35 | netflixdnstest9.com 36 | hulu.com 37 | huluim.com 38 | hbonow.com 39 | hbogo.com 40 | hbo.com 41 | -------------------------------------------------------------------------------- /OpenWrt-SSRP/Epic.list: -------------------------------------------------------------------------------- 1 | epicgames.com 2 | helpshift.com 3 | paragon.com 4 | unrealengine.com -------------------------------------------------------------------------------- /OpenWrt-SSRP/Steam.list: -------------------------------------------------------------------------------- 1 | steambroadcast.akamaized.net 2 | steamcdn-a.akamaihd.net 3 | steamcommunity-a.akamaihd.net 4 | steampipe.akamaized.net 5 | steamstore-a.akamaihd.net 6 | steamusercontent-a.akamaihd.net 7 | steamuserimages-a.akamaihd.net 8 | fanatical.com 9 | humblebundle.com 10 | playartifact.com 11 | steam-chat.com 12 | steamcommunity.com 13 | steamgames.com 14 | steampowered.com 15 | steamstat.us 16 | steamstatic.com 17 | underlords.com 18 | valvesoftware.com -------------------------------------------------------------------------------- /OpenWrt-SSRP/SteamCN.list: -------------------------------------------------------------------------------- 1 | csgo.wmsj.cn 2 | dl.steam.clngaa.com 3 | dl.steam.ksyna.com 4 | dota2.wmsj.cn 5 | st.dl.bscstorage.net 6 | st.dl.eccdnx.com 7 | st.dl.pinyuncloud.com 8 | steampipe.steamcontent.tnkjmec.com 9 | steampowered.com.8686c.com 10 | steamstatic.com.8686c.com 11 | wmsjsteam.com 12 | cm.steampowered.com 13 | steamchina.com 14 | steamcontent.com 15 | steamusercontent.com -------------------------------------------------------------------------------- /OpenWrt-SSRP/TikTok.list: -------------------------------------------------------------------------------- 1 | p16-tiktokcdn-com.akamaized.net 2 | amemv.com 3 | byteoversea.com 4 | ibytedtos.com 5 | ibyteimg.com 6 | ipstatp.com 7 | muscdn.com 8 | musical.ly 9 | sgpstatp.com 10 | snssdk.com 11 | tik-tokapi.com 12 | tiktok.com 13 | tiktokcdn.com 14 | tiktokv.com 15 | lf16-tiktok-web.ttwstatic.com -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Proxy-Rules 2 | 3 | - [Clash](https://github.com/Dreamacro/clash) 4 | - 推荐的配置文件为[NueXini_basic.ini](https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/config/NueXini_basic.ini) 5 | - 负载均衡配置文件为[basic_load-balance.ini](https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/basic_load-balance.ini) 6 | - 订阅转换 7 | 8 | 1. [https://id9.cc/](https://id9.cc/) 9 | 2. [https://bianyuan.xyz/](https://bianyuan.xyz/) 10 | 11 | ------ 12 | 13 | - Shadowrocket 14 | - 配置文件[Shadowrocket.conf](https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Shadowrocket/Shadowrocket.conf) 15 | - 功能:国外网站代理,中国大陆网站直连,去部分广告 16 | 17 | ------ 18 | 19 | - OpenWrt-SSRP 20 | - [All.list](https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/OpenWrt-SSRP/All.list) Netflix,HBO,Hulu 21 | - [TikTok.list](https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/OpenWrt-SSRP/TikTok.list) 国际抖音 22 | - [Steam.list](https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/OpenWrt-SSRP/Steam.list) 游戏平台其他区CDN 23 | - [SteamCN.list](https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/OpenWrt-SSRP/SteamCN.list) 游戏平台Steam国区CDN 24 | - [Epic.list](https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/OpenWrt-SSRP/Epic.list) 游戏平台Epic的CDN -------------------------------------------------------------------------------- /Shadowrocket/TiKTok-JP.conf: -------------------------------------------------------------------------------- 1 | #!name=TikTok JP 2 | #!desc=解锁 TikTok 日本 地区 3 | #!openUrl=https://github.com/Semporia/TikTok-Unlock 4 | #!author=Semporia 5 | #!homepage=https://github.com/Semporia/TikTok-Unlock 6 | #!icon= https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Social_Media/TikTok.png 7 | 8 | [URL Rewrite] 9 | (?<=_region=)CN(?=&) JP 307 10 | (?<=&mcc_mnc=)4 2 307 11 | ^(https?:\/\/(tnc|dm)[\w-]+\.\w+\.com\/.+)(\?)(.+) $1$3 302 12 | (^https?:\/\/*\.\w{4}okv.com\/.+&.+)(\d{2}\.3\.\d)(.+) $118.0$3 302 13 | 14 | [MITM] 15 | hostname = *.tiktokv.com,*.byteoversea.com,*.tik-tokapi.com 16 | -------------------------------------------------------------------------------- /Shadowrocket/TiKTok-KR.conf: -------------------------------------------------------------------------------- 1 | #!name=TikTok KR 2 | #!desc=解锁TikTok韩国 地区 3 | #!openUrl=https://github.com/Semporia/TikTok-Unlock 4 | #!author=Semporia 5 | #!homepage=https://github.com/Semporia/TikTok-Unlock 6 | #!icon= https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Social_Media/TikTok.png 7 | 8 | [URL Rewrite] 9 | (?<=_region=)CN(?=&) KR 307 10 | (?<=&mcc_mnc=)4 2 307 11 | ^(https?:\/\/(tnc|dm)[\w-]+\.\w+\.com\/.+)(\?)(.+) $1$3 302 12 | (^https?:\/\/*\.\w{4}okv.com\/.+&.+)(\d{2}\.3\.\d)(.+) $118.0$3 302 13 | 14 | [MITM] 15 | hostname = *.tiktokv.com,*.byteoversea.com,*.tik-tokapi.com 16 | -------------------------------------------------------------------------------- /Shadowrocket/TiKTok-TW.conf: -------------------------------------------------------------------------------- 1 | #!name=TikTok TW 2 | #!desc=解锁 TikTok 台灣 地区 3 | #!openUrl=https://github.com/Semporia/TikTok-Unlock 4 | #!author=Semporia 5 | #!homepage=https://github.com/Semporia/TikTok-Unlock 6 | #!icon= https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Social_Media/TikTok.png 7 | 8 | [URL Rewrite] 9 | (?<=_region=)CN(?=&) TW 307 10 | (?<=&mcc_mnc=)4 2 307 11 | ^(https?:\/\/(tnc|dm)[\w-]+\.\w+\.com\/.+)(\?)(.+) $1$3 302 12 | (^https?:\/\/*\.\w{4}okv.com\/.+&.+)(\d{2}\.3\.\d)(.+) $118.0$3 302 13 | 14 | [MITM] 15 | hostname = *.tiktokv.com,*.byteoversea.com,*.tik-tokapi.com 16 | -------------------------------------------------------------------------------- /Shadowrocket/TiKTok-US.conf: -------------------------------------------------------------------------------- 1 | #!name=TikTok US 2 | #!desc=解锁 TikTok 美國 地区 3 | #!openUrl=https://github.com/Semporia/TikTok-Unlock 4 | #!author=Semporia 5 | #!homepage=https://github.com/Semporia/TikTok-Unlock 6 | #!icon= https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Social_Media/TikTok.png 7 | 8 | [URL Rewrite] 9 | (?<=_region=)CN(?=&) US 307 10 | (?<=&mcc_mnc=)4 2 307 11 | ^(https?:\/\/(tnc|dm)[\w-]+\.\w+\.com\/.+)(\?)(.+) $1$3 302 12 | (^https?:\/\/*\.\w{4}okv.com\/.+&.+)(\d{2}\.3\.\d)(.+) $118.0$3 302 13 | 14 | [MITM] 15 | hostname = *.tiktokv.com,*.byteoversea.com,*.tik-tokapi.com 16 | -------------------------------------------------------------------------------- /Shadowrocket/TikTok.list: -------------------------------------------------------------------------------- 1 | USER-AGENT,TikTok* 2 | DOMAIN,p16-tiktokcdn-com.akamaized.net 3 | DOMAIN-SUFFIX,amemv.com 4 | DOMAIN-SUFFIX,byteoversea.com 5 | DOMAIN-SUFFIX,ibytedtos.com 6 | DOMAIN-SUFFIX,ibyteimg.com 7 | DOMAIN-SUFFIX,ipstatp.com 8 | DOMAIN-SUFFIX,muscdn.com 9 | DOMAIN-SUFFIX,musical.ly 10 | DOMAIN-SUFFIX,sgpstatp.com 11 | DOMAIN-SUFFIX,snssdk.com 12 | DOMAIN-SUFFIX,tik-tokapi.com 13 | DOMAIN-SUFFIX,tiktok.com 14 | DOMAIN-SUFFIX,tiktokcdn.com 15 | DOMAIN-SUFFIX,tiktokv.com 16 | DOMAIN-KEYWORD,-tiktokcdn-com 17 | DOMAIN-KEYWORD,-tiktok-web -------------------------------------------------------------------------------- /Tool/New.md: -------------------------------------------------------------------------------- 1 | * https://raw.githubusercontent.com/leosam1995/My_ACL_Rules/master/banAD.acl 2 | * @leosam1995 3 | # 更新历史: 4 | 5 | # 3.16 6 | # 2017年3月16日00:01:08 81 7 | 去重 8 | 合并中国IP段 9 | 完善百度、letv、金立手机 10 | 添加UC浏览器广告过滤 11 | 添加墨迹天气,增强sohu、sougou等 12 | 添加大量广告联盟,屏蔽效果更好 13 | 添加爱奇艺广告ip段 14 | 添加起点 掌阅 书旗 app广告 15 | 16 | * 3.08 17 | * 2017年3月7日20:34:30 71 18 | 添加推特 tumblr 增强youtube 19 | 增强爱奇艺 20 | 大范围改动 加强 去重 21 | 22 | * 3.03 23 | * 2017年3月3日21:06:39 65 24 | 屏蔽大量广告联盟 25 | 屏蔽小米MIUI和魅族flyme rom广告 26 | 27 | * 3.02 28 | * 2017年3月2日08:27:48 59 29 | 屏蔽大量广告联盟 30 | 精简运营商广告 31 | 32 | * 3.01 33 | * 2017年3月1日19:57:10 56 34 | 添加运营商广告 35 | 修正关键字拦截 36 | 37 | * 2.18 38 | * 2017年2月27日15:20:49 02.27 39 | 日常优化 40 | 添加直连 41 | 拆分广告过滤规则,容易维护 42 | 43 | * 2.13 44 | * 2017年2月25日20:28:31 02.25 45 | 日常优化 46 | 47 | * 2.11 48 | * 2017年2月23日19:33:13 02.23 49 | 大范围精简直连列表 50 | 添加深圳运营商ip 51 | 52 | * 2.09 53 | * 017年2月22日17:04:19 02.22 54 | 添加运营商ip 55 | 修善百度 56 | 完善谷歌去广告 57 | 58 | * 2.06 59 | * 2017年2月19日08:07:30 02.19 60 | 去重、排序! 61 | 改善广告关键词 62 | 改善ali广告等广告 63 | 升级优酷广告拦截 64 | 65 | * 2.05 ★★★ 66 | * 2017年2月18日12:55:42 02.18 67 | 合并大陆ip地址,缩减近1700条规则 68 | 删掉MP4吧广告 69 | update有道和sohu 70 | 去重、排序!!!! 71 | 感谢@nian0114 72 | 73 | * 2.03 74 | * 2017年2月17日16:34:01 02.17 75 | 备注更明确 76 | 删除重复规则 77 | 修复高德不能更新问题 78 | 修复国外域名正则匹配 79 | 80 | * 2.01 ★★★ 81 | * 2017年2月17日10:40:44 02.17 82 | 按字母排序 83 | 大范围完善 84 | 日常添加修改规则 85 | 添加几个国内广告商和关键词 86 | 87 | * 1.14 88 | * 2017年2月15日19:45:36 02.15 89 | 修复MytvSUPER & Netflix 和line软件 90 | 添加喜马拉雅电台过滤 91 | 添加部分规则 92 | 93 | * 1.13 94 | * 2017年2月15日13:13:20 02.15 95 | 删除部分第三方规则 96 | 添加广告关键词 97 | 修复正则的\-问题 98 | 99 | * 1.11 100 | * 2017年2月14日12:00:06 02.14 101 | 添加直连关键词 102 | 修补规则 103 | 解决google play无法更新问题 (^|\.)gvt1\.com$ 104 | 105 | * 1.08 106 | * 2017年2月11日18:23:46 02.11 107 | 添加芒果TV、风行、搜狐、qq、酷狗、酷我、京东广告过滤规则 108 | 添加大量第三方广告拦截规则 109 | 添加运营商广告 110 | 删除Weifeng广告和apple直连站点--苹果的 安卓不用 111 | 几乎重写规则 无重复规则 112 | 113 | * 1.07 114 | * 2017年2月11日09:49:47 02.11 115 | 添加广告拦截关键词 116 | 添加直连关键词 117 | 添加直连域名 118 | 119 | * 1.06 120 | * 2017年2月7日15:39:05 02.7 121 | 增加几个广告域名拦截关键字:admob qtmojo trace traffic 122 | 增加几个直连网站域名关键词 123 | 国外知名域名后缀直连:us tw jp等 124 | 增加国外软件关键字 全部代理 125 | 删除几个受影响的广告拦截网站 126 | 127 | * 1.04 ★★ 128 | * 2017年2月5日15:12:56 02.05 129 | 精简[proxy_list]列表 130 | 删除* Top blocked sites列表 加快匹配速度 131 | 132 | * 1.03 133 | * 2017年2月5日10:00:51 02.05 134 | 将视频APP拦截规则分开 更清晰 135 | 合并爱奇艺 优酷土豆 乐视TV 搜狐 PPTV 6.cn 视频app规则 136 | 137 | * 1.02 ★★★ 138 | * 2017年2月4日23:21:17 02.04 139 | 重要更新:(总体来说加快正则匹配速度) 140 | 合并百度 网易 淘宝 的广告屏蔽 141 | 142 | * 1.01 重大更新★★★ 143 | * 2017年2月4日14:17:50 02.04 144 | 重要更新:(总体来说加快正则匹配速度) 145 | 改写正则匹配规则,减少回溯,效率提高很多!!!! 146 | 合并新浪 QQ 网页的广告屏蔽 147 | 添加酷安直连 148 | 149 | * 0.25 150 | * 2017年2月3日11:48:59 02.03 151 | 把AD规则进行去重 排序优化 152 | 添加直连:唯品会 一号店 内涵段子 糗事百科 153 | 精简 美图 Apple直连列表 154 | 删除PlayStation Store广告和直连 安卓又不用 加他干啥呢 155 | 删除*MytvSUPER & Netflix直连 安卓不用 156 | 删除v2ex amazon代理里面的重复冲突 157 | 158 | * 0.24 159 | * 2017年2月2日11:56:31 02.02 160 | 把greasyfork.org填加到直连列表(via浏览器 161 | 162 | * 0.23 163 | * 2017年1月31日20:39:12 164 | 添加几个直连网站 165 | 添加拦截联通运营商广告 166 | 将美国.us域名加入代理并前置 167 | 将中国3个特有域名加入直连:.中国.公司.网络 滑稽。。并无卵用 168 | 169 | * 0.22 170 | * 2017年1月30日18:16:28 171 | 删减一些规则 172 | 将禁止访问列表移动到前面 方便编辑 173 | 174 | * 0.21 175 | * 2017年1月30日17:49:46 176 | 添加迅雷看看 177 | 178 | * 0.20 179 | * 2017年1月29日14:11:36 180 | 添加国内直播、新闻、小说、文库等网站直连 大约20个 181 | 182 | * 0.19 183 | * 2017年1月29日12:59:43 184 | 去重、排序!!!! 185 | 添加org.cn、net.cn域名后缀直连 186 | 187 | * 0.18 188 | * 2017年1月28日21:00:34 189 | 设置gov.cn、edu.cn和.cn域名直连 190 | 添加拦截常用应用程序的隐私跟踪 191 | 处理广告关键字:如有误伤,请见谅! 192 | 如surge的DOMAIN-KEYWORD,admarvel,REJECT改成^(.*\.)?.*admarvel.*\..*$ 193 | 194 | * 0.17 195 | * 2017年1月28日14:07:15 196 | 去除Apple Mac规则 完善部分apple域名(安卓要啥苹果 滑稽) 197 | 添加淘宝CDN 天猫 直连 198 | 尝试修复本地localhost直连 199 | 调整国内ip地址位置 200 | 解决IT之家网页字体变小问题 201 | 202 | * 0.16 203 | * 2017年1月28日14:03:25 204 | 更新优酷、爱奇艺 205 | 更新完善 [运营商] 广告 206 | 207 | * 0.16以前 208 | * 2017年1月28日以前 209 | 各种添加规则。。。。。 210 | -------------------------------------------------------------------------------- /Tool/Surge转acl工具/acl自定义语言格式文件.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 00# 01 02 03 04 9 | 0 1 2 3 4 5 6 7 8 9 10 | 11 | 12 | 13 | 14 | 15 | 16 | / | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | [proxy_all] [bypass_all] [outbound_block_list] [bypass_list] [proxy_list] [bypass_list] 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /Tool/Surge转acl工具/shortcuts.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | https://www.baidu.com/s?wd=$(CURRENT_WORD) 175 | https://www.google.com/search?q=$(CURRENT_WORD) 176 | https://en.wikipedia.org/wiki/Special:Search?search=$(CURRENT_WORD) 177 | http://www.php.net/$(CURRENT_WORD) 178 | iexplore "$(FULL_CURRENT_PATH)" 179 | chrome "$(FULL_CURRENT_PATH)" 180 | firefox "$(FULL_CURRENT_PATH)" 181 | safari "$(FULL_CURRENT_PATH)" 182 | $(NPP_DIRECTORY)\notepad++.exe $(CURRENT_WORD) 183 | $(NPP_DIRECTORY)\notepad++.exe $(CURRENT_WORD) -nosession -multiInst 184 | outlook /a "$(FULL_CURRENT_PATH)" 185 | 186 | 187 | 188 | 189 | -------------------------------------------------------------------------------- /Tool/Surge转acl工具/教程.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NueXini/Proxy-Rules/c995e21f69af0c5d889cc1a858f974e541962535/Tool/Surge转acl工具/教程.gif -------------------------------------------------------------------------------- /Tool/正则语法.conf: -------------------------------------------------------------------------------- 1 | ^ 匹配字符串的开始 2 | $ 匹配字符串的结束 3 | . 匹配除换行符以外的任意字符 4 | \w 匹配字母或数字或下划线或汉字 5 | \s 匹配任意的空白符 6 | \d 匹配数字 7 | \b 匹配单词的开始或结束 8 | 9 | * 重复零次或更多次 10 | + 重复一次或更多次 11 | ? 重复零次或一次 12 | {n} 重复n次 13 | {n,} 重复n次或更多次 14 | {n,m} 重复n到m次 15 | 16 | 懒惰限定符 17 | *? 重复任意次,但尽可能少重复 18 | +? 重复1次或更多次,但尽可能少重复 19 | ?? 重复0次或1次,但尽可能少重复 20 | {n,m}? 重复n到m次,但尽可能少重复 21 | {n,}? 重复n次以上,但尽可能少重复 22 | 23 | \W 匹配任意不是字母,数字,下划线,汉字的字符 24 | \S 匹配任意不是空白符的字符 25 | \D 匹配任意非数字的字符 26 | \B 匹配不是单词开头或结束的位置 27 | [^x] 匹配除了x以外的任意字符 28 | [^aeiou] 匹配除了aeiou这几个字母以外的任意字符 29 | 30 | 常用分组语法 31 | 捕获 32 | (exp) 匹配exp,并捕获文本到自动命名的组里 33 | (?exp) 匹配exp,并捕获文本到名称为name的组里,也可以写成(?'name'exp) 34 | (?:exp) 匹配exp,不捕获匹配的文本,也不给此分组分配组号 35 | 零宽断言 36 | (?=exp) 匹配exp前面的位置 37 | (?<=exp) 匹配exp后面的位置 38 | (?!exp) 匹配后面跟的不是exp的位置 39 | (?]*>.*?|<.*? /> (网上流传的版本太糟糕,上面这个也仅仅能部分,对于复杂的嵌套标记依旧无能为力) 140 | 30 首尾空白字符的正则表达式:^\s*|\s*$或(^\s*)|(\s*$) (可以用来删除行首行尾的空白字符(包括空格、制表符、换页符等等),非常有用的表达式) 141 | 31 腾讯QQ号:[1-9][0-9]{4,} (腾讯QQ号从10000开始) 142 | 32 中国邮政编码:[1-9]\d{5}(?!\d) (中国邮政编码为6位数字) 143 | 33 IP地址:\d+\.\d+\.\d+\.\d+ (提取IP地址时有用) 144 | 34 IP地址:((?:(?:25[0-5]|2[0-4]\\d|[01]?\\d?\\d)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d?\\d)) -------------------------------------------------------------------------------- /Z.Backup/list/cfg.list: -------------------------------------------------------------------------------- 1 | xiaomi_mi-router-3g.config -------------------------------------------------------------------------------- /Z.Backup/list/lede-packages-libs.list: -------------------------------------------------------------------------------- 1 | qtbase 2 | qttools 3 | rblibtorrent 4 | wxbase 5 | -------------------------------------------------------------------------------- /Z.Backup/list/lede-packages-multimedia.list: -------------------------------------------------------------------------------- 1 | UnblockNeteaseMusic-Go 2 | UnblockNeteaseMusic 3 | aliyundrive-fuse 4 | -------------------------------------------------------------------------------- /Z.Backup/list/lede-packages-net.list: -------------------------------------------------------------------------------- 1 | amule 2 | antileech 3 | baidupcs-web 4 | dnsforwarder 5 | frp 6 | nps 7 | n2n 8 | pdnsd-alt 9 | qBittorrent-static 10 | qBittorrent 11 | rclone-ng 12 | rclone-webui-react 13 | rclone 14 | tcpping 15 | uugamebooster 16 | verysync 17 | vlmcsd 18 | phtunnel 19 | pgyvpn 20 | -------------------------------------------------------------------------------- /Z.Backup/list/releasetag.list: -------------------------------------------------------------------------------- 1 | https://github.com/x-wrt/x-wrt -b master --single-branch 2 | https://github.com/NxQAQVQ/x-wrt -b master 3 | https://github.com/x-wrt/x-wrt -b 22.03_b202204032143 --single-branch 4 | 5 | https://github.com/coolsnowwolf/lede -b master --single-branch 6 | 7 | https://github.com/immortalwrt/immortalwrt -b master 8 | https://github.com/immortalwrt/immortalwrt -b openwrt-21.02 --single-branch 9 | https://github.com/immortalwrt/immortalwrt -b openwrt-18.06-k5.4 --single-branch 10 | 11 | https://github.com/HiGarfield/lede-17.01.4-Mod -b master 12 | 13 | -------------------------------------------------------------------------------- /Z.Backup/list/trash.list: -------------------------------------------------------------------------------- 1 | default-settings 2 | autosamba 3 | lisaac 4 | openwrt-fullconenat 5 | k3screenctrl 6 | k3-brcmfmac4366c-firmware 7 | mt 8 | shortcut-fe 9 | mtk-eip93 10 | ddns-scripts_aliyun 11 | ddns-scripts_dnspod 12 | csstidy 13 | dsmboot 14 | gmediarender 15 | srelay 16 | luci-app-asterisk 17 | luci-app-e2guardian 18 | luci-app-samba 19 | luci-app-turboacc 20 | luci-app-noddos 21 | luci-app-nodogsplash 22 | luci-app-acme 23 | luci-app-adblock 24 | luci-app-advanced-reboot 25 | luci-app-ahcp 26 | luci-app-aria2 27 | luci-app-attendedsysupgrade 28 | luci-app-bcp38 29 | luci-app-bmx7 30 | luci-app-clamav 31 | luci-app-commands 32 | luci-app-coovachilli 33 | luci-app-cshark 34 | luci-app-dawn 35 | luci-app-ddns 36 | luci-app-diag-core 37 | luci-app-dnscrypt-proxy 38 | luci-app-dockerman 39 | luci-app-dump1090 40 | luci-app-dynapoint 41 | luci-app-firewall 42 | luci-app-frpc 43 | luci-app-frps 44 | luci-app-fwknopd 45 | luci-app-hd-idle 46 | luci-app-https-dns-proxy 47 | luci-app-ltqtapi 48 | luci-app-lxc 49 | luci-app-minidlna 50 | luci-app-mjpg-streamer 51 | luci-app-mwan3 52 | luci-app-nft-qos 53 | luci-app-nlbwmon 54 | luci-app-ntpc 55 | luci-app-ocserv 56 | luci-app-olsr-services 57 | luci-app-olsr-viz 58 | luci-app-olsr 59 | luci-app-omcproxy 60 | luci-app-openvpn 61 | luci-app-p910nd 62 | luci-app-pagekitec 63 | luci-app-polipo 64 | luci-app-privoxy 65 | luci-app-qos 66 | luci-app-radicale 67 | luci-app-rp-pppoe-server 68 | luci-app-samba4 69 | luci-app-shadowsocks-libev 70 | luci-app-shairplay 71 | luci-app-siitwizard 72 | luci-app-simple-adblock 73 | luci-app-smartdns 74 | luci-app-softether 75 | luci-app-splash 76 | luci-app-sqm 77 | luci-app-squid 78 | luci-app-statistics 79 | luci-app-tinyproxy 80 | luci-app-transmission 81 | luci-app-travelmate 82 | luci-app-ttyd 83 | luci-app-udpxy 84 | luci-app-uhttpd 85 | luci-app-unbound 86 | luci-app-upnp 87 | luci-app-vnstat 88 | luci-app-vpnbypass 89 | luci-app-watchcat 90 | luci-app-wifischedule 91 | luci-app-wireguard 92 | luci-app-wol 93 | 94 | -------------------------------------------------------------------------------- /Z.Backup/patches/packages.README.md: -------------------------------------------------------------------------------- 1 | # NueXini_Packages 2 | 3 | ## 1.如何使用NueXini_Packages? / How to use NueXini_Packages? 4 | ```bash 5 | cd lede 6 | sed -i '$a src-git NueXini_Packages https://github.com/NueXini/NueXini_Packages.git' feeds.conf.default 7 | ./scripts/feeds update -a && ./scripts/feeds install -a 8 | ``` 9 | ## 2.主题 10 | [lean lede](https://github.com/coolsnowwolf/lede/tree/master),**默认1806主题,如luci选择2305请使用1907及以上主题** 11 | 12 | [OpenWrt Snapshots](https://github.com/openwrt/openwrt/tree/master),**请选择1907及以上版本的主题** 13 | 14 | **文件名不带版本则默认为1806** 15 | 16 | ## 3.插件说明 17 | ``` 18 | 以下是全部: 注:应用后面标记 “ * ” 为最近新添加;标记“ ! ”与其他插件依赖或冲突。 19 | ------------------------------------------------------------------------------------------------------------------- 20 | LuCI ---> Applications ---> luci-app-accesscontrol #访问时间控制 21 | LuCI ---> Applications ---> luci-app-acme #ACME自动化证书管理环境(丢弃) 22 | LuCI ---> Applications ---> luci-app-adblock #ADB广告过滤 23 | LuCI ---> Applications ---> luci-app-adbyby-plus #广告屏蔽大师Plus + 24 | LuCI ---> Applications ---> luci-app-adbyby #广告过滤大师(丢弃) 25 | LuCI ---> Applications ---> luci-app-adguardhome #AdGuard home广告过滤(Le库以外的插件) 26 | LuCI ---> Applications ---> luci-app-adkill #广告过滤(丢弃) 27 | LuCI ---> Applications ---> luci-app-advanced-reboot #Linksys高级重启 28 | LuCI ---> Applications ---> luci-app-advancedsetting #系统高级设置(Le库以外的插件) 29 | LuCI ---> Applications ---> luci-app-ahcp #Ad-Hoc配置协议(AHCP) ipv6 and 双栈 自动配置协议 ! 30 | LuCI ---> Applications ---> luci-app-airplay2 #Apple AirPlay2 无损音频接收服务器 31 | LuCI ---> Applications ---> luci-app-aliddns #阿里DDNS客户端(丢弃,集成至ddns) 32 | LuCI ---> Applications ---> luci-app-aliyundrive-webdav #阿里云盘 WebDAV 服务 33 | LuCI ---> Applications ---> luci-app-amule #aMule下载工具 ! 34 | LuCI ---> Applications ---> luci-app-argon-config #Argon主题配置插件(Le库以外的插件) 35 | LuCI ---> Applications ---> luci-app-aria2 # Aria2下载工具 36 | LuCI ---> Applications ---> luci-app-arpbind #IP/MAC绑定 37 | LuCI ---> Applications ---> luci-app-asterisk #支持Asterisk电话服务器 38 | LuCI ---> Applications ---> luci-app-attendedsysupgrade #固件更新升级相关 39 | LuCI ---> Applications ---> luci-app-autoreboot #支持计划重启 40 | LuCI ---> Applications ---> luci-app-baidupcs-web #百度网盘管理 41 | LuCI ---> Applications ---> luci-app-bcp38 #BCP38网络入口过滤(不确定) 42 | LuCI ---> Applications ---> luci-app-bird1-ipv4 #对Bird1-ipv4的支持 43 | LuCI ---> Applications ---> luci-app-bird1-ipv6 #对Bird1-ipv6的支持 44 | LuCI ---> Applications ---> luci-app-bird4 #Bird 4(未知)(丢弃) 45 | LuCI ---> Applications ---> luci-app-bird6 #Bird 6(未知)(丢弃) 46 | LuCI ---> Applications ---> luci-app-bmx6 #BMX6路由协议 47 | LuCI ---> Applications ---> luci-app-bmx7 #BMX7路由协议(丢弃) 48 | LuCI ---> Applications ---> luci-app-caldav #联系人(丢弃) 49 | LuCI ---> Applications ---> luci-app-cifs-mount #CIFS/SMB挂载设置 50 | LuCI ---> Applications ---> luci-app-cifsd #CIFS/SMB网络共享 51 | LuCI ---> Applications ---> luci-app-cjdns #加密IPV6网络相关 52 | LuCI ---> Applications ---> luci-app-clamav #ClamAV杀毒软件 53 | LuCI ---> Applications ---> luci-app-clash #Clash客户端(Le库以外的插件) 54 | LuCI ---> Applications ---> luci-app-commands #Shell命令模块 55 | LuCI ---> Applications ---> luci-app-cshark #CloudShark捕获工具 56 | LuCI ---> Applications ---> luci-app-dawn #分布式AP管理程序 57 | LuCI ---> Applications ---> luci-app-ddns #动态域名 DNS(集成阿里DDNS客户端) 58 | LuCI ---> Applications ---> luci-app-diag-core #core诊断工具 59 | LuCI ---> Applications ---> luci-app-diskman #磁盘管理工具 60 | luci-app-diskman ---> Include btrfs-progs #新型的写时复制 (COW) 61 | luci-app-diskman ---> Include lsblk #lsblk命令 用于列出所有可用块设备的信息 62 | luci-app-diskman ---> Include mdadm #mdadm命令 用于创建、管理、监控RAID设备的工具 63 | luci-app-diskman ---> Include kmod-md-raid456 #RAID 4,5,6 驱动程序模块(丢弃) 64 | luci-app-diskman ---> Include kmod-md-linear #RAID 驱动程序模块(丢弃) 65 | LuCI ---> Applications ---> luci-app-dnscrypt-proxy #DNSCrypt解决DNS污染 66 | LuCI ---> Applications ---> luci-app-dnsfilter #DNSFilter基于DNS的广告过滤 67 | LuCI ---> Applications ---> luci-app-dnsforwarder #DNSForwarder防DNS污染 68 | LuCI ---> Applications ---> luci-app-dnspod #DNSPod动态域名解析(丢弃) 69 | LuCI ---> Applications ---> luci-app-docker #Docker容器(dockerman更名为docker) 70 | LuCI ---> Applications ---> luci-app-dump1090 #民航无线频率(不确定) 71 | LuCI ---> Applications ---> luci-app-dynapoint #DynaPoint(未知) 72 | LuCI ---> Applications ---> luci-app-e2guardian #Web内容过滤器 73 | LuCI ---> Applications ---> luci-app-easymesh #简单MESH(可有线+无线回程) 74 | LuCI ---> Applications ---> luci-app-eqos #基于IP地址限速(Le库以外的插件) 75 | LuCI ---> Applications ---> luci-app-familycloud #家庭云盘 76 | LuCI ---> Applications ---> luci-app-fileassistant #文件管理助手(Le库以外的插件) 77 | LuCI ---> Applications ---> luci-app-filetransfer #文件传输(可web安装ipk包) 78 | LuCI ---> Applications ---> luci-app-firewall #添加防火墙 79 | LuCI ---> Applications ---> luci-app-flowoffload #Turbo ACC网络加速(集成FLOW,BBR,NAT,DNS(丢弃,移至TurboACC) 80 | LuCI ---> Applications ---> luci-app-freifunk-diagnostics #freifunk组件 诊断(未知)(丢弃) 81 | LuCI ---> Applications ---> luci-app-freifunk-policyrouting #freifunk组件 策略路由(未知)(丢弃) 82 | LuCI ---> Applications ---> luci-app-freifunk-widgets #freifunk组件 索引(未知)(丢弃) 83 | LuCI ---> Applications ---> luci-app-frpc #内网穿透Frp客户端 84 | LuCI ---> Applications ---> luci-app-frps #内网穿透Frp服务端 85 | LuCI ---> Applications ---> luci-app-fwknopd #Firewall Knock Operator服务器 86 | LuCI ---> Applications ---> luci-app-guest-wifi #WiFi访客网络 87 | LuCI ---> Applications ---> luci-app-gfwlist #GFW域名列表(丢弃) 88 | LuCI ---> Applications ---> luci-app-go-aliyundrive-webdav #阿里云盘webdav协议(文件管理/同步等) * 89 | LuCI ---> Applications ---> luci-app-gost #隐蔽的https代理(Le库以外的插件) 90 | LuCI ---> Applications ---> luci-app-haproxy-tcp #HAProxy负载均衡-TCP 91 | LuCI ---> Applications ---> luci-app-hd-idle #硬盘休眠 92 | LuCI ---> Applications ---> luci-app-hnet #Homenet Status家庭网络控制协议 93 | LuCI ---> Applications ---> luci-app-https-dns-proxy #通过HTTPS代理为DNS提供Web UI 94 | LuCI ---> Applications ---> luci-app-ipsec-vpnd #VPN服务器 IPSec 95 | LuCI ---> Applications ---> luci-app-jd-dailybonus #京东签到服务 96 | LuCI ---> Applications ---> luci-app-kodexplorer #KOD可道云私人网盘(与vnStat冲突 ! ) 97 | LuCI ---> Applications ---> luci-app-kooldns #VPN服务器 ddns替代方案(丢弃) 98 | LuCI ---> Applications ---> luci-app-koolproxy #KP去广告(丢弃) 99 | LuCI ---> Applications ---> luci-app-lxc #LXC容器管理 100 | LuCI ---> Applications ---> luci-app-meshwizard #网络设置向导(丢弃) 101 | LuCI ---> Applications ---> luci-app-minidlna #完全兼容DLNA / UPnP-AV客户端的服务器软件 102 | LuCI ---> Applications ---> luci-app-mjpg-streamer #兼容Linux-UVC的摄像头程序 103 | LuCI ---> Applications ---> luci-app-mtwifi #MTWiFi驱动的支持 (丢弃) 104 | LuCI ---> Applications ---> luci-app-mmc-over-gpio #添加SD卡操作界面(丢弃) 105 | LuCI ---> Applications ---> luci-app-multiwan #多拨虚拟网卡(丢弃,移至syncdial) 106 | LuCI ---> Applications ---> luci-app-mwan #MWAN负载均衡(丢弃) 107 | LuCI ---> Applications ---> luci-app-music-remote-center #PCHiFi 数字转盘遥控 108 | LuCI ---> Applications ---> luci-app-mwan3 #MWAN3负载均衡 109 | LuCI ---> Applications ---> luci-app-mwan3helper #MWAN3分流助手 110 | LuCI ---> Applications ---> luci-app-n2n_v2 #N2N内网穿透 N2N v2 VPN服务 111 | LuCI ---> Applications ---> luci-app-netdata #Netdata实时监控(图形化) 112 | LuCI ---> Applications ---> luci-app-nfs #NFS网络共享 113 | LuCI ---> Applications ---> luci-app-nft-qos #QOS流控 Nftables版 114 | LuCI ---> Applications ---> luci-app-ngrokc #Ngrok 内网穿透(丢弃) 115 | LuCI ---> Applications ---> luci-app-nlbwmon #网络带宽监视器 116 | LuCI ---> Applications ---> luci-app-noddos #NodDOS Clients 阻止DDoS攻击 117 | LuCI ---> Applications ---> luci-app-nps #内网穿透nps 118 | LuCI ---> Applications ---> luci-app-ntpc #NTP时间同步服务器 119 | LuCI ---> Applications ---> luci-app-ocserv #OpenConnect VPN服务 120 | LuCI ---> Applications ---> luci-app-olsr #OLSR配置和状态模块 121 | LuCI ---> Applications ---> luci-app-olsr-services #OLSR服务器 122 | LuCI ---> Applications ---> luci-app-olsr-viz #OLSR可视化 123 | LuCI ---> Applications ---> luci-app-ocserv #OpenConnect VPN服务(丢弃) 124 | LuCI ---> Applications ---> luci-app-openclash #运行在OpenWrt上的Clash代理客户端(Le库以外的插件) 125 | LuCI ---> Applications ---> luci-app-openvpn #OpenVPN客户端 126 | LuCI ---> Applications ---> luci-app-openvpn-server #易于使用的OpenVPN服务器 Web-UI 127 | LuCI ---> Applications ---> luci-app-oscam #OSCAM服务器(丢弃) 128 | LuCI ---> Applications ---> luci-app-p910nd #打印服务器模块 129 | LuCI ---> Applications ---> luci-app-pagekitec #Pagekitec内网穿透客户端 130 | LuCI ---> Applications ---> luci-app-passwall #科学上网(Li大佬插件) 131 | Configuration ---> Include Brook #Brook代理(跨平台强加密且不可检测代理) 132 | Configuration ---> Include ChinaDNS-NG #防污染DNS服务 133 | Configuration ---> Include Haproxy #HAProxy #HAProxy负载均衡 134 | Configuration ---> Include Hysteria #Hysteria双边加速工具 135 | Configuration ---> Include Kcptun #Kcptun双边加速工具 136 | Configuration ---> Include NaiveProxy #NaiveProxy代理(Chrome网络堆栈伪装流量) 137 | Configuration ---> Include PDNSD #DNS服务器 138 | Configuration ---> Include Shadowsocks Libev Client #SS Libev客户端(轻量级) 139 | Configuration ---> Include Shadowsocks Libev Server #SS Libev服务端(轻量级) 140 | Configuration ---> Include Shadowsocks Rust Client #SS Rust客户端(负载均衡/探测延迟) 141 | Configuration ---> Include ShadowsocksR Libev Client #SSR Libev客户端(轻量级) 142 | Configuration ---> Include ShadowsocksR Libev Server #SSR Libev服务端(轻量级) 143 | Configuration ---> Include Simple-Obfs (Shadowsocks plugin) #simple-Obfs简单混淆工具(Nginx) 144 | Configuration ---> Include Trojan_GO #Trojan_GO代理(直接模仿协议HTTPS) 145 | Configuration ---> Include Trojan_Plus #Trojan_Plus代理(直接模仿协议HTTPS) 146 | Configuration ---> Include V2ray #V2Ray代理 147 | Configuration ---> Include v2ray-plugin (Shadowsocks plugin) #SS V2ray插件(WebSocket+TLS ) 148 | Configuration ---> Include Xray #Xray代理(XTLS) 149 | Configuration ---> Include Xray-Plugin (Shadowsocks Plugin) #SS Xray插件(WebSocket+TLS ) * 150 | Configuration ---> Include Dns2socks #DNS服务器(丢弃) 151 | Configuration ---> Include Redsocks2 #Redsocks2代理(透明TCP定向Socks/HTTPS代理服务器)(丢弃) 152 | Configuration ---> Include Shadowsocks #SS代理(丢弃) 153 | Configuration ---> Include Shadowsocks Server #SS服务器(丢弃) 154 | Configuration ---> Include Shadowsocks Rust (AEAD ciphers only) #SS-RUST代理(AEAD加密)(丢弃) 155 | Configuration ---> Include ShadowsocksR #SSR代理(丢弃) 156 | Configuration ---> Include ShadowsocksR Server #SSR服务器(丢弃) 157 | Configuration ---> Include Https DNS Proxy(DoH) #HttpsDNS服务(丢弃) 158 | LuCI ---> Applications ---> luci-app-polipo #Polipo代理(是一个小型且快速的网页缓存代理) 159 | LuCI ---> Applications ---> luci-app-pppoe-relay #PPPoE NAT穿透 点对点协议(PPP) 160 | LuCI ---> Applications ---> luci-app-pptp-server #VPN服务器 PPTP 161 | LuCI ---> Applications ---> luci-app-privoxy #Privoxy网络代理(带过滤无缓存) 162 | LuCI ---> Applications ---> luci-app-ps3netsrv #PS3 NET服务器(用于加载蓝光/游戏ISO/PKG) 163 | LuCI ---> Applications ---> luci-app-pushbot #全能推送(钉钉推送,企业微信推送,Bark,PushPlus推送) 164 | LuCI ---> Applications ---> luci-app-qbittorrent #BT下载工具(qBittorrent) 165 | Build Version Selection (Static Build) ---> Static Build #选择静态编译版本 166 | Build Version Selection (Static Build) ---> Dynamic Build #选择动态编译版本 167 | LuCI ---> Applications ---> luci-app-qos #流量服务质量(QoS)流控 168 | LuCI ---> Applications ---> luci-app-radicale #CalDAV/CardDAV同步工具 169 | LuCI ---> Applications ---> luci-app-ramfree #释放内存 170 | LuCI ---> Applications ---> luci-app-rclone #命令行云端同步工具 171 | Include rclone-webui #Rclone界面 172 | Include rclone-ng (another webui) #Rclone另一个界面 173 | Include fuse-utils (mount cloud storage) #fuse-utils(挂载云存储)(丢弃) 174 | LuCI ---> Applications ---> luci-app-rp-pppoe-server #Roaring Penguin PPPoE Server 服务器 175 | LuCI ---> Applications ---> luci-app-samba #网络共享(Samba) 176 | LuCI ---> Applications ---> luci-app-samba4 #网络共享(Samba4) 177 | LuCI ---> Applications ---> luci-app-serverchan #微信/Telegram推送的插件 178 | LuCI ---> Applications ---> luci-app-sfe #Turbo ACC网络加速(丢弃,移至TurboACC) 179 | LuCI ---> Applications ---> luci-app-shadowsocks #SS科学上网(丢弃) 180 | LuCI ---> Applications ---> luci-app-shadowsocks-libes #SS-libev服务端 181 | LuCI ---> Applications ---> luci-app-shairplay #支持AirPlay功能 182 | LuCI ---> Applications ---> luci-app-siitwizard #SIIT配置向导 SIIT-Wizzard 183 | LuCI ---> Applications ---> luci-app-simple-adblock #简单的广告拦截 184 | LuCI ---> Applications ---> luci-app-smartdns #SmartDNS本地服务器(丢弃) 185 | LuCI ---> Applications ---> luci-app-softethervpn #SoftEther VPN服务器 NAT穿透 186 | LuCI ---> Applications ---> luci-app-splash #Client-Splash是无线MESH网络的一个热点认证系统 187 | LuCI ---> Applications ---> luci-app-sqm #流量智能队列管理(QOS) 188 | LuCI ---> Applications ---> luci-app-squid #Squid代理服务器 189 | LuCI ---> Applications ---> luci-app-ssr-plus #SSR科学上网Plus+(Le大佬插件) 190 | Include libustream-ssl ---> Include libustream-wolfssl #选择wolfSSL库(传输层安全协议) 191 | Include libustream-ssl ---> Include libustream-openssl #选择OpenSSL库(传输层安全协议) 192 | luci-app-ssr-plus ---> Include Kcptun #Kcptun双边加速工具 193 | luci-app-ssr-plus ---> Include NaiveProxy #NaiveProxy代理(Chrome网络堆栈伪装流量) 194 | luci-app-ssr-plus ---> Include Redsocks2 #Redsocks2代理(透明TCP定向Socks/HTTPS代理服务器) 195 | luci-app-ssr-plus ---> Include Shadowsocks Libev Client #SS Libev客户端(轻量级) 196 | luci-app-ssr-plus ---> Include Shadowsocks Libev Server #SS Libev服务端(轻量级) 197 | luci-app-ssr-plus ---> Include Shadowsocks Rust Client #SS Rust客户端(负载均衡/探测延迟) 198 | luci-app-ssr-plus ---> Include Shadowsocks Rust Server #SS Rust服务端(负载均衡/探测延迟) 199 | luci-app-ssr-plus ---> Include ShadowsocksR Libev Client #SSR Libev客户端(轻量级) 200 | luci-app-ssr-plus ---> Include ShadowsocksR Libev Server #SSR Libev服务端(轻量级) 201 | luci-app-ssr-plus ---> Include Simple-Obfs Plugin #SS Simple-Obfs混淆代理(Nginx) 202 | luci-app-ssr-plus ---> Include Trojan #Trojan代理(直接模仿协议HTTPS) 203 | luci-app-ssr-plus ---> Include Shadowsocks V2ray Plugin #SS V2ray代理(WebSocket+TLS ) 204 | luci-app-ssr-plus ---> Include Xray #Xray代理(XTLS) 205 | luci-app-ssr-plus ---> Include Shadowsocks New Version #新SS代理(丢弃) 206 | luci-app-ssr-plus ---> Include Shadowsocks #SS代理(丢弃) 207 | luci-app-ssr-plus ---> Include Shadowsocks Rust (AEAD ciphers only) #SS-RUST代理(AEAD密码) (丢弃) 208 | luci-app-ssr-plus ---> Include V2ray #V2Ray代理(丢弃) 209 | luci-app-ssr-plus ---> Include Xray (V2RAY/Trojan-GO implemented) #Xray代理(丢弃) 210 | luci-app-ssr-plus ---> Include Trojan-go #Trojan-go代理(丢弃) 211 | luci-app-ssr-plus ---> Include Shadowsocks Server #SS服务器(丢弃) 212 | luci-app-ssr-plus ---> Include Shadowsocks Rust Server #SS Rust服务器(丢弃) 213 | luci-app-ssr-plus ---> Include ShadowsocksR Server #SSR服务器(丢弃) 214 | luci-app-ssr-plus ---> Include DNS2SOCKS #DNS服务器(丢弃) 215 | luci-app-ssr-plus ---> Include ShadowsocksR Socks and Tunnel(丢弃) 216 | luci-app-ssr-plus ---> Include Socks Server #socks代理服务器(丢弃) 217 | LuCI ---> Applications ---> luci-app-ssr-pro #SSR-Pro(丢弃) 218 | LuCI ---> Applications ---> luci-app-ssrserver-python #ShadowsocksR Python服务器 219 | LuCI ---> Applications ---> luci-app-statistics #流量监控工具 220 | LuCI ---> Applications ---> luci-app-syncdial #多拨虚拟网卡(原macvlan) 221 | LuCI ---> Applications ---> luci-app-tinyproxy #Tinyproxy是 HTTP(S)代理服务器 222 | LuCI ---> Applications ---> luci-app-transmission #BT下载工具 223 | LuCI ---> Applications ---> luci-app-travelmate #旅行路由器 224 | LuCI ---> Applications ---> luci-app-ttyd #网页终端命令行 225 | LuCI ---> Applications ---> luci-app-turboacc #Turbo ACC 网络加速(支持 Fast Path 或者 硬件 NAT) 226 | luci-app-turboacc ---> Include Shortcut-FE #Shortcut-FE 流量分载 227 | luci-app-turboacc ---> Include BBR CCA #BBR拥塞控制算法提升TCP网络性能 228 | luci-app-turboacc ---> Include DNSForwarder #DNS防污染 Forwarder 229 | luci-app-turboacc ---> Include DNSProxy #DNS防污染 Proxy 230 | LuCI ---> Applications ---> luci-app-udpxy #udpxy做组播服务器 231 | LuCI ---> Applications ---> luci-app-uhttpd #uHTTPd Web服务器 232 | LuCI ---> Applications ---> luci-app-unblockmusic #解锁网易云灰色歌曲3合1新版本 233 | UnblockNeteaseMusic Golang Version #Golang版本 234 | UnblockNeteaseMusic NodeJS Version #NodeJS版本 235 | LuCI ---> Applications ---> luci-app-unblockneteasemusic-go #解除网易云音乐(合并) 236 | LuCI ---> Applications ---> luci-app-unblockneteasemusic-mini #解除网易云音乐(合并) 237 | LuCI ---> Applications ---> luci-app-unbound #Unbound DNS解析器 238 | LuCI ---> Applications ---> luci-app-upnp #通用即插即用UPnP(端口自动转发) 239 | LuCI ---> Applications ---> luci-app-usb-printer #USB 打印服务器 240 | LuCI ---> Applications ---> luci-app-uugamebooster #UU网游加速器 241 | LuCI ---> Applications ---> luci-app-v2ray-server #V2Ray 服务器 242 | LuCI ---> Applications ---> luci-app-v2ray-pro #V2Ray透明代理(丢弃,集成SSR) 243 | LuCI ---> Applications ---> luci-app-verysync #微力同步 244 | LuCI ---> Applications ---> luci-app-vlmcsd #KMS服务器设置 245 | LuCI ---> Applications ---> luci-app-vnstat #vnStat网络监控(图表)(与kodexplorer冲突 ! ) 246 | LuCI ---> Applications ---> luci-app-vpnbypass #VPN BypassWebUI 绕过VPN设置 247 | LuCI ---> Applications ---> luci-app-vsftpd #FTP服务器 248 | LuCI ---> Applications ---> luci-app-vssr #VSSR科学上网(je大佬插件) 249 | luci-app-vssr ---> Include Xray #Xray代理(XTLS) 250 | luci-app-vssr ---> Include Trojan #Trojan代理(直接模仿协议HTTPS) 251 | luci-app-vssr ---> Include Kcptun #Kcptun双边加速工具 252 | luci-app-vssr ---> Include Shadowsocks Xray Plugin #SS Xray代理 253 | luci-app-vssr ---> Include ShadowsocksR Libev Server #SSR Libev服务端(轻量级) 254 | LuCI ---> Applications ---> luci-app-watchcat #断网检测功能与定时重启 255 | LuCI ---> Applications ---> luci-app-webadmin #Web管理页面设置 256 | LuCI ---> Applications ---> luci-app-webshell #网页命令行终端(丢弃) 257 | LuCI ---> Applications ---> luci-app-wifischedule #WiFi 计划 258 | LuCI ---> Applications ---> luci-app-wireguard #VPN服务器 WireGuard状态 259 | LuCI ---> Applications ---> luci-app-wireless-regdb #WiFi无线 260 | LuCI ---> Applications ---> luci-app-wol #WOL网络唤醒 261 | LuCI ---> Applications ---> luci-app-wrtbwmon #实时流量监测 262 | LuCI ---> Applications ---> luci-app-xlnetacc #迅雷快鸟 263 | LuCI ---> Applications ---> luci-app-zerotier #ZeroTier内网穿透 264 | ---------------------------------------------------------------------------------------- 265 | 转载的时候请注明出处:https://www.right.com.cn/forum/thread-344825-1-1.html 266 | (感谢,Thanks) 267 | ``` 268 | 269 | -------------------------------------------------------------------------------- /Z.Backup/patches/x.banner: -------------------------------------------------------------------------------- 1 | __ __ __ _______ _______ 2 | \ \ / / \ \ / | __ |__ __| 3 | \ V /____\ \ /\ / /| |__) | | | 4 | > |______\ \/ \/ / | _ / | | 5 | / . \ \ /\ / | | \ \ | | 6 | _ /_/_\_\ _ ___\/__\/ _|_|__\_\ |_| _____ 7 | | \ | | | | | ____\ \ / |_ _| \ | |_ _| 8 | | \| | | | | |__ \ V / | | | \| | | | 9 | | . ` | | | | __| > < | | | . ` | | |  10 | | |\ | |__| | |____ / . \ _| |_| |\ |_| |_ 11 | |_| \_|\____/|______/_/ \_|_____|_| \_|_____| 12 | ----------------------------------------------------- 13 | %D %V, %C 14 | ----------------------------------------------------- 15 | -------------------------------------------------------------------------------- /Z.Backup/scripts/a.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # NueXini 4 | 5 | #################################################################################################### 6 | 7 | # luci-app-partexp 8 | git clone --depth=1 -b main https://github.com/sirpdboy/luci-app-partexp 9 | #################################################################################################### 10 | 11 | # luci-app-unblockneteasemusic-2102 12 | git clone --depth=1 -b js https://github.com/UnblockNeteaseMusic/luci-app-unblockneteasemusic luci-app-unblockneteasemusic-2102 13 | sed -i 's/luci-app-unblockneteasemusic/&-2102/g' ./luci-app-unblockneteasemusic-2102/Makefile 14 | #################################################################################################### 15 | 16 | # alist 17 | git clone --depth=1 -b master https://github.com/sbwml/openwrt-alist ../openwrt-alist 18 | mv ../openwrt-alist/alist ./ 19 | mv ../openwrt-alist/luci-app-alist ./ 20 | #################################################################################################### 21 | 22 | # openwrt-subconverter 23 | git clone https://github.com/tindy2013/openwrt-subconverter --depth=1 ./openwrt-subconverter 24 | #################################################################################################### 25 | 26 | # luci-app-cloudflarespeedtest 27 | git clone --depth=1 -b main https://github.com/mingxiaoyu/luci-app-cloudflarespeedtest ../luci-app-cloudflarespeedtest 28 | mv ../luci-app-cloudflarespeedtest/applications/luci-app-cloudflarespeedtest ./ 29 | #################################################################################################### 30 | 31 | # luci-app-amlogic 32 | git clone --depth=1 -b main https://github.com/ophub/luci-app-amlogic ../luci-app-amlogic 33 | mv ../luci-app-amlogic/luci-app-amlogic ./ 34 | #################################################################################################### 35 | 36 | # homebridge 37 | git clone https://github.com/shanglanxin/luci-app-homebridge --depth=1 ./luci-app-homebridge 38 | #################################################################################################### 39 | 40 | # HomeLede 41 | git clone --depth=1 -b master https://github.com/xiaoqingfengATGH/feeds-xiaoqingfeng ../feeds-xiaoqingfeng 42 | mv ../feeds-xiaoqingfeng/luci-app-homeredirect ./ 43 | mv ../feeds-xiaoqingfeng/luci-app-homeconnect ./ 44 | #################################################################################################### 45 | 46 | # https://github.com/4IceG 47 | git clone --depth=1 -b master https://github.com/4IceG/luci-app-sms-tool ../luci-app-sms-tool 48 | mv ../luci-app-sms-tool/luci-app-sms-tool ./ 49 | mv ../luci-app-sms-tool/sms-tool ./ 50 | 51 | git clone --depth=1 -b main https://github.com/4IceG/luci-app-modemband ../luci-app-modemband 52 | mv ../luci-app-modemband/luci-app-modemband ./ 53 | mv ../luci-app-modemband/modemband ./ 54 | 55 | git clone --depth=1 -b main https://github.com/4IceG/luci-app-3ginfo-lite ../luci-app-3ginfo-lite 56 | mv ../luci-app-3ginfo-lite/luci-app-3ginfo-lite ./ 57 | #################################################################################################### 58 | 59 | # luci-app-v2raya 60 | git clone --depth=1 -b master https://github.com/zxlhhyccc/luci-app-v2raya ./luci-app-v2raya 61 | #################################################################################################### 62 | 63 | # luci-app-nezha 哪吒监控 64 | git clone --depth=1 -b main https://github.com/Erope/openwrt_nezha ../openwrt_nezha 65 | mv ../openwrt_nezha/luci-app-nezha ./ 66 | mv ../openwrt_nezha/openwrt-nezha ./ 67 | #################################################################################################### 68 | 69 | # mosdns 70 | git clone --depth=1 -b master https://github.com/QiuSimons/openwrt-mos ../luci-app-mosdns 71 | mv ../luci-app-mosdns/luci-app-mosdns ./ 72 | mv ../luci-app-mosdns/mosdns ./ 73 | mv ../luci-app-mosdns/v2ray-geodata ./ 74 | mv ../luci-app-mosdns/dat ./ 75 | 76 | git clone --depth=1 -b v5 https://github.com/sbwml/luci-app-mosdns ../luci-app-mosdns2 77 | mv ../luci-app-mosdns2/luci-app-mosdns ./luci-app-mosdns2 78 | mv ../luci-app-mosdns2/v2dat ./ 79 | sed -i 's/luci-app-mosdns/&2/g' ./luci-app-mosdns2/Makefile 80 | #################################################################################################### 81 | 82 | # luci-app-wrtbwmon 83 | git clone --depth=1 -b master https://github.com/brvphoenix/wrtbwmon ../wrtbwmon 84 | mv ../wrtbwmon/wrtbwmon ./ 85 | 86 | git clone --depth=1 -b master https://github.com/brvphoenix/luci-app-wrtbwmon ../luci-app-wrtbwmon 87 | mv ../luci-app-wrtbwmon/luci-app-wrtbwmon ./ 88 | #################################################################################################### 89 | 90 | # linkease(易有云) 91 | git clone --depth=1 -b main https://github.com/linkease/openwrt-themedog ../openwrt-themedog 92 | mv ../openwrt-themedog/luci/luci-theme-dog ./luci-theme-dog-1806 93 | 94 | git clone --depth=1 -b main https://github.com/linkease/nas-packages-luci ../nas-packages-luci 95 | mv ../nas-packages-luci/luci/* ./ 96 | 97 | git clone --depth=1 -b master https://github.com/linkease/nas-packages ../nas-packages 98 | mv ../nas-packages/multimedia/ffmpeg-remux ./ 99 | mv ../nas-packages/network/services ./ 100 | #################################################################################################### 101 | 102 | # luci-app-cpolar(内网穿透) 103 | git clone --depth=1 -b main https://github.com/probezy/luci-app-cpolar ./luci-app-cpolar 104 | git clone --depth=1 -b main https://github.com/probezy/cpolar-openwrt ../cpolar 105 | mv ../cpolar/cpolar ./ 106 | #################################################################################################### 107 | 108 | # luci-app-store 109 | git clone --depth=1 -b main https://github.com/linkease/istore ../istore 110 | mv ../istore/luci/* ./ 111 | 112 | git clone --depth=1 -b main https://github.com/linkease/istore-ui ../istore-ui 113 | mv ../istore-ui/app-store-ui ./ 114 | #################################################################################################### 115 | 116 | # aliyundrive-webdav 117 | git clone --depth=1 -b main https://github.com/messense/aliyundrive-webdav ../aliyundrive-webdav 118 | mv ../aliyundrive-webdav/openwrt/* ./ 119 | #################################################################################################### 120 | 121 | # BanAD 122 | git clone --depth=1 -b master https://github.com/rufengsuixing/luci-app-adguardhome 123 | sed -i 's/\/usr\/bin\/AdGuardHome\/AdGuardHome/\/usr\/bin\/AdGuardHome/g' ./luci-app-adguardhome/root/etc/config/AdGuardHome 124 | git clone --depth=1 -b main https://github.com/ilxp/luci-app-ikoolproxy 125 | #################################################################################################### 126 | 127 | # SSR-Plus 128 | git clone --depth=1 -b master https://github.com/fw876/helloworld ../helloworld 129 | mv ../helloworld/* ./ 130 | sed -i 's/default y/default n/g' ./luci-app-ssr-plus/Makefile 131 | #################################################################################################### 132 | 133 | # OpenClash 134 | git clone --depth=1 -b master https://github.com/vernesong/OpenClash ../OpenClash 135 | mv ../OpenClash/luci-app-openclash ./ 136 | echo 'NueXini 规则,NueXini_basic.ini,https://raw.githubusercontent.com/NueXini/Proxy-Rules/master/Clash/config/NueXini_basic.ini' >./luci-app-openclash/root/usr/share/openclash/res/sub_ini.list 137 | #################################################################################################### 138 | 139 | # PassWall 140 | git clone --depth=1 -b main https://github.com/xiaorouji/openwrt-passwall ../openwrt-passwall 141 | mv ../openwrt-passwall/luci-app-passwall ./ 142 | sed -i 's/default y/default n/g' ./luci-app-passwall/Makefile 143 | 144 | git clone --depth=1 -b main https://github.com/xiaorouji/openwrt-passwall2 ../openwrt-passwall2 145 | mv ../openwrt-passwall2/luci-app-passwall2 ./ 146 | 147 | sed -i 's/default y/default n/g' ./luci-app-passwall2/Makefile 148 | #################################################################################################### 149 | 150 | # Smartdns 151 | git clone --depth=1 -b lede https://github.com/pymumu/luci-app-smartdns 152 | #################################################################################################### 153 | 154 | # dockerman 155 | git clone --depth=1 -b master https://github.com/lisaac/luci-app-dockerman ../luci-app-dockerman 156 | mv ../luci-app-dockerman/applications/luci-app-dockerman ./ 157 | 158 | git clone --depth=1 -b master https://github.com/lisaac/luci-app-diskman ../luci-app-diskman 159 | mv ../luci-app-diskman/applications/luci-app-diskman ./ 160 | sed -i 's/default y/default n/g' ./luci-app-diskman/Makefile 161 | #################################################################################################### 162 | 163 | # ttnode(甜糖星愿自动采集插件) 164 | git clone --depth=1 -b master https://github.com/jerrykuku/luci-app-ttnode 165 | #################################################################################################### 166 | 167 | # Theme-Argon 168 | # svn co https://github.com/jerrykuku/luci-app-argon-config/trunk ./luci-app-argon-config 169 | git clone https://github.com/jerrykuku/luci-app-argon-config -b master --single-branch --depth=1 ./luci-app-argon-config 170 | # rm -rf .svn 171 | # svn co https://github.com/jerrykuku/luci-theme-argon/trunk ./luci-theme-argon-2102 172 | git clone https://github.com/jerrykuku/luci-theme-argon -b 18.06 --single-branch --depth=1 ./luci-theme-argon-1806 173 | git clone https://github.com/jerrykuku/luci-theme-argon -b master --single-branch --depth=1 ./luci-theme-argon-2102 174 | sed -i 's/luci-theme-argon/luci-theme-argon-2102/g' ./luci-theme-argon-2102/Makefile 175 | ln -s \.\./img/bg1.jpg ./luci-theme-argon-2102/htdocs/luci-static/argon/background/bg1.jpg 176 | #################################################################################################### 177 | 178 | # luci-theme-neobird 179 | git clone --depth=1 -b main https://github.com/thinktip/luci-theme-neobird ./luci-theme-neobird-1806 180 | #################################################################################################### 181 | 182 | # luci-theme-purple 183 | git clone --depth=1 -b master https://github.com/rosywrt/luci-theme-purple ../luci-theme-purple 184 | mv ../luci-theme-purple/luci-theme-purple ./luci-theme-purple-1806 185 | #################################################################################################### 186 | 187 | # theme infinityfreedom 188 | git clone --depth=1 -b master https://github.com/xiaoqingfengATGH/luci-theme-infinityfreedom ../luci-theme-infinityfreedom 189 | mv ../luci-theme-infinityfreedom/luci-theme-infinityfreedom ./luci-theme-infinityfreedom-1806 190 | #################################################################################################### 191 | 192 | # theme edge 193 | git clone --depth=1 -b master https://github.com/kiddin9/luci-theme-edge ./luci-theme-edge-1907 194 | git clone --depth=1 -b 18.06 https://github.com/kiddin9/luci-theme-edge ./luci-theme-edge-1806 195 | #################################################################################################### 196 | 197 | # IPTV 198 | git clone --depth=1 -b master https://github.com/riverscn/openwrt-iptvhelper ../openwrt-iptvhelper 199 | mv ../openwrt-iptvhelper/iptvhelper ./ 200 | mv ../openwrt-iptvhelper/luci-app-iptvhelper ./ 201 | #################################################################################################### 202 | 203 | # EQOS 204 | git clone --depth=1 -b master https://github.com/skyformat99/eqos ./luci-app-eqos 205 | #################################################################################################### 206 | 207 | # Serverchan 208 | git clone --depth=1 -b master https://github.com/tty228/luci-app-wechatpush 209 | # pushbot 210 | git clone --depth=1 -b master https://github.com/zzsj0928/luci-app-pushbot 211 | #################################################################################################### 212 | 213 | # OpenAppFilter(luci-app-oaf) 214 | git clone --depth=1 -b master https://github.com/destan19/OpenAppFilter ../OpenAppFilter 215 | mv ../OpenAppFilter/luci-app-oaf ./ 216 | mv ../OpenAppFilter/oaf ./ 217 | mv ../OpenAppFilter/open-app-filter ./ 218 | #################################################################################################### 219 | 220 | # Speedtest 221 | git clone --depth=1 -b master https://github.com/sirpdboy/netspeedtest ../netspeedtest 222 | mv ../netspeedtest/luci-app-netspeedtest ./ 223 | mv ../netspeedtest/homebox ./ 224 | #################################################################################################### 225 | 226 | # luci-app-netdata-cn 227 | git clone --depth=1 -b master https://github.com/sirpdboy/luci-app-netdata ./luci-app-netdata 228 | #################################################################################################### 229 | 230 | # Tcpdump(抓包) 231 | git clone --depth=1 -b master https://github.com/KFERMercer/luci-app-tcpdump 232 | #################################################################################################### 233 | 234 | # Modeminfo 235 | git clone --depth=1 -b master https://github.com/koshev-msk/modemfeed ../modemfeed 236 | mv ../modemfeed/luci/applications/* ./ 237 | mv ../modemfeed/luci/protocols/* ./ 238 | mv ../modemfeed/luci/themes/* ./ 239 | #################################################################################################### 240 | 241 | # airwhu 锐捷 242 | git clone --depth=1 -b master https://github.com/KyleRicardo/luci-app-airwhu ./luci-app-airwhu 243 | #################################################################################################### 244 | 245 | # Control-weburl 246 | git clone --depth=1 -b master https://github.com/gdck/luci-app-control-weburl 247 | # autotimeset(定时设置) 248 | git clone --depth=1 -b master https://github.com/sirpdboy/luci-app-autotimeset 249 | #################################################################################################### 250 | 251 | # Tencentddns 252 | git clone --depth=1 -b main https://github.com/msylgj/luci-app-tencentddns 253 | #################################################################################################### 254 | 255 | git clone --depth=1 -b openwrt-18.06 https://github.com/immortalwrt/packages ../immortalwrt-1806-packages 256 | 257 | mv ../immortalwrt-1806-packages/net/udp2raw ./ 258 | mv ../immortalwrt-1806-packages/net/gost ./ 259 | mv ../immortalwrt-1806-packages/net/gowebdav ./ 260 | mv ../immortalwrt-1806-packages/utils/cpulimit ./ 261 | mv ../immortalwrt-1806-packages/utils/cpulimit-ng ./ 262 | 263 | git clone --depth=1 -b openwrt-18.06 https://github.com/immortalwrt/luci ../immortalwrt-1806-luci 264 | 265 | mv ../immortalwrt-1806-luci/applications/luci-app-udp2raw ./ 266 | mv ../immortalwrt-1806-luci/applications/luci-app-xunlei ./ 267 | mv ../immortalwrt-1806-luci/applications/luci-app-gost ./ 268 | mv ../immortalwrt-1806-luci/applications/luci-app-gowebdav ./ 269 | mv ../immortalwrt-1806-luci/applications/luci-app-cpulimit ./ 270 | mv ../immortalwrt-1806-luci/applications/luci-app-unblockneteasemusic-go ./ 271 | mv ../immortalwrt-1806-luci/applications/luci-app-unblockneteasemusic ./ 272 | 273 | #################################################################################################### 274 | 275 | # Lede/Lean 276 | git clone --depth=1 -b master https://github.com/coolsnowwolf/luci ../lede-luci 277 | 278 | mv -n ../lede-luci/applications/* ./ 279 | mv -n ../lede-luci/collections/luci-lib-docker ./ 280 | mv -n ../lede-luci/libs/luci-lib-fs ./ 281 | 282 | git clone --depth=1 -b master https://github.com/coolsnowwolf/packages ../lede-packages 283 | 284 | cat $GITHUB_WORKSPACE/Z.Backup/list/lede-packages-net.list | while read name; do 285 | if [ nx"$name" != nx ]; then 286 | echo 'NueXini-APP-'$name 287 | mv -n ../lede-packages/net/$name ./ 288 | fi 289 | done 290 | 291 | cat $GITHUB_WORKSPACE/Z.Backup/list/lede-packages-libs.list | while read name; do 292 | if [ nx"$name" != nx ]; then 293 | echo 'NueXini-APP-'$name 294 | mv -n ../lede-packages/libs/$name ./ 295 | fi 296 | done 297 | 298 | cat $GITHUB_WORKSPACE/Z.Backup/list/lede-packages-multimedia.list | while read name; do 299 | if [ nx"$name" != nx ]; then 300 | echo 'NueXini-APP-'$name 301 | mv -n ../lede-packages/multimedia/$name ./ 302 | fi 303 | done 304 | 305 | mv -n ../lede-packages/package/lean ./ 306 | mv -n ../lede-packages/devel/go-rice ./ 307 | 308 | cat $GITHUB_WORKSPACE/Z.Backup/list/trash.list | while read trash; do 309 | if [ nx"$trash" != nx ]; then 310 | rm -rf $trash 311 | fi 312 | done 313 | 314 | #################################################################################################### 315 | 316 | sed -i 's/default y/default n/g' ./luci-app-rclone/Makefile 317 | sed -i 's#wpad-openssl#wpad-basic-wolfssl#g' ./luci-app-easymesh/Makefile 318 | sed -i 's#+strongswan #&+strongswan-mod-openssl #g' ./luci-app-ipsec-vpnd/Makefile 319 | 320 | #################################################################################################### 321 | 322 | # Lienol 323 | git clone --depth=1 -b main https://github.com/Lienol/openwrt-package ../Lienol-openwrt-package 324 | 325 | mv -n ../Lienol-openwrt-package/luci-app-fileassistant ./ 326 | mv -n ../Lienol-openwrt-package/luci-app-filebrowser ./ 327 | mv -n ../Lienol-openwrt-package/luci-app-control-timewol ./ 328 | mv -n ../Lienol-openwrt-package/luci-app-control-webrestriction ./ 329 | mv -n ../Lienol-openwrt-package/luci-app-timecontrol ./ 330 | mv -n ../Lienol-openwrt-package/luci-app-socat ./ 331 | 332 | #################################################################################################### 333 | 334 | #################################################################################################### 335 | 336 | find -type f | grep -i "Makefile" | while read file; do 337 | sed -i 's#\.\./\.\./luci.mk#$(TOPDIR)/feeds/luci/luci.mk#g' "$file" 338 | sed -i 's#\.\./\.\./lang#$(TOPDIR)/feeds/packages/lang#g' "$file" 339 | done 340 | 341 | rm -rf LICENSE .gitattributes .gitignore ./.github ./*/.svn ./*/.git 342 | 343 | cp -f $GITHUB_WORKSPACE/Z.Backup/patches/packages.README.md ./README.md 344 | -------------------------------------------------------------------------------- /Z.Backup/scripts/cpcfg.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # NueXini 4 | 5 | 6 | if [ -z "${1}" ]; then 7 | 8 | echo '############################# 9 | 1.Xioami Router 3G 10 | ~or 7621/7620/ipq40xx and so on 11 | #############################' 12 | 13 | read -p "Input your device number: " num 14 | [ -z "${num}" ] && { echo "Please input your device number!"; exit 1; } 15 | else 16 | num=${1} 17 | fi 18 | 19 | case "$num" in 20 | 1) 21 | cp -f $GITHUB_WORKSPACE/Z.Backup/config/xiaomi_mi-router-3g.config .config 22 | ;; 23 | *) 24 | cp `find ./feeds/x/rom/lede/ -maxdepth 1 -type f -name 'config.*' | grep ${num} | grep -Ev 'ext4fs|nosymbol'` .config 25 | esac 26 | 27 | -------------------------------------------------------------------------------- /Z.Backup/scripts/dd.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # NueXini 4 | 5 | grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > NX_DEVICE_NAME 6 | 7 | cp -rf .config ./nuexini/$(cat NX_DEVICE_NAME).config 8 | 9 | -------------------------------------------------------------------------------- /Z.Backup/scripts/firmware.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Create By NueXini 3 | 4 | 5 | bin1="$(ls -F ./bin/targets/ | grep "/$")" 6 | for a in $bin1; do 7 | bin2="$(ls -F ./bin/targets/${a} | grep "/$")" 8 | for b in $bin2; do 9 | echo "=========${b}=========" 10 | 11 | bin3="./bin/targets/${a}${b}" 12 | 13 | rm -rf "${bin3}packages" 14 | find ${bin3} -maxdepth 1 -type f -name '*initramfs*' -exec rm -rf {} \; 15 | 16 | ls ${bin3} 17 | du --max-depth=1 -h ${bin3} 18 | 19 | echo "---------${b}---------" 20 | 21 | c=`ls ${bin3} | grep '\-breed-factory\.'` 22 | if [ -z $c ]; then 23 | cp -rf ${bin3}* './artifact/firmware/' 24 | else 25 | cp ${bin3}${c} './artifact/firmware/' 26 | cp -f ${bin3}`ls ${bin3} | grep -E '\-kernel1\.'` './artifact/firmware/' 27 | cp -f ${bin3}`ls ${bin3} | grep -E '\-rootfs0\.'` './artifact/firmware/' 28 | cp -f ${bin3}`ls ${bin3} | grep -E '\-sysupgrade\.'` './artifact/firmware/' 29 | fi 30 | 31 | done 32 | done 33 | 34 | exit 0 35 | -------------------------------------------------------------------------------- /Z.Backup/scripts/xiaomi_ssh_calc_pwd.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # SPDX-License-Identifier: GPL-3.0-only 3 | # 4 | # Copyright (C) 2016 xiaooloong 5 | # Copyright (C) 2021 ImmortalWrt.org 6 | # 7 | # Original idea from https://www.right.com.cn/forum/thread-189017-1-1.html 8 | 9 | r1d_salt="A2E371B0-B34B-48A5-8C40-A7133F3B5D88" 10 | # Salt must be reversed for non-R1D devices 11 | others_salt="d44fb0960aa0-a5e6-4a30-250f-6d2df50a" 12 | others_salt="$(sed "s,-, ,g" <<< "${others_salt}" | awk '{ for (i=NF; i>1; i--) printf("%s-",$i); print $1; }')" 13 | 14 | if [ -z "${1}" ]; then 15 | read -r -p "SN: " sn 16 | [ -z "${sn}" ] && { echo "Please input SN!"; exit 1; } 17 | else 18 | sn="${1}" 19 | fi 20 | 21 | # The alculation method of password: 22 | # Do md5sum for SN and take the first 8 characters. 23 | # If '/' is not included in SN it's R1D. 24 | if grep -q "/" <<< "${sn}"; then 25 | echo -n "${sn}${others_salt}" | md5sum | awk '{print $1}' | head -c8; echo 26 | else 27 | echo -n "${sn}${r1d_salt}" | md5sum | awk '{print $1}' | head -c8; echo 28 | fi 29 | -------------------------------------------------------------------------------- /Z.Backup/scripts/xwrt_makemenuconfig.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # NueXini 4 | 5 | if [ -z "${1}" ]; then 6 | echo "Please input configuration!" 7 | exit 1 8 | else 9 | cfg=`find ./feeds/x/rom/lede/ -maxdepth 1 -type f -name 'config.*' | grep ${1} | grep -Ev 'ext4fs|nosymbol'` 10 | fi 11 | 12 | device=`grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/'` 13 | [ -z ${device} ] && { echo "Invaild!"; exit 1; } 14 | mk_a=`cat ${cfg} | grep ${device}=\" | cut -d '"' -f 2` 15 | [ -z ${mk_a} ] && { echo "Invaild!"; exit 1; } 16 | 17 | for i in ${mk_a}; do 18 | echo $i | grep -qE '^luci-app|^luci-i18n|^luci-theme' && continue 19 | sed -i "/CONFIG_PACKAGE_${i}/d" .config 20 | echo "CONFIG_PACKAGE_${i}=y" >> .config 21 | done 22 | 23 | noneed="luci-theme-bootstrap luci-theme-openwrt-2020 \ 24 | luci-app-wizard luci-app-autoreboot \ 25 | luci-mod-dashboard" 26 | for a in ${noneed}; do 27 | sed -i "/CONFIG_PACKAGE_${a}/d" .config 28 | echo "CONFIG_PACKAGE_${a}=n" >> .config 29 | done 30 | 31 | need="luci-app-argon-config luci-app-easymesh luci-app-filetransfer \ 32 | luci-app-openvpn luci-app-ramfree luci-app-socat luci-app-sqm \ 33 | luci-app-tencentddns luci-app-upnp luci-app-vlmcsd luci-app-zerotier \ 34 | luci-theme-argon-2102 \ 35 | ddns-scripts-cloudflare ddns-scripts-dnspod ddns-scripts_aliyun" 36 | for b in ${need}; do 37 | sed -i "/CONFIG_PACKAGE_${b}/d" .config 38 | echo "CONFIG_PACKAGE_${b}=y" >> .config 39 | done 40 | 41 | bash feeds/x/rom/lede/fix-config.sh 42 | 43 | sed -i 's/=m/=n/g' .config 44 | sed -i 's/CONFIG_SDK=y/CONFIG_SDK=n/g' .config 45 | sed -i 's/CONFIG_LUCI_LANG_en=y/CONFIG_LUCI_LANG_en=n/g' .config 46 | sed -i 's/BLOCK_SIZE=256/BLOCK_SIZE=512/g' .config 47 | 48 | echo '==[make menuconfig done]==' 49 | -------------------------------------------------------------------------------- /Z.Backup/sh/Hi_NueXini.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # sed -i '$a src-git NueXini_Packages https://github.com/NueXini/NueXini_Packages.git' feeds.conf.default 4 | # echo 'src-git NueXini_Packages https://github.com/NueXini/NueXini_Packages.git' >> feeds.conf.default 5 | 6 | # wget -O ./target/linux/ramips/dts/mt7621_xiaomi_mi-router-3g.dts -q --no-check-certificate https://raw.githubusercontent.com/x-wrt/x-wrt/22.02_b202203130310/target/linux/ramips/dts/mt7621_xiaomi_mi-router-3g.dts 7 | 8 | sed -i "s#CONFIG_KERNEL_BUILD_USER=\".*\"#CONFIG_KERNEL_BUILD_USER=\"NueXini\"#" .config 9 | sed -i "s#CONFIG_KERNEL_BUILD_DOMAIN=\".*\"#CONFIG_KERNEL_BUILD_DOMAIN=\"hotmail\.com\"#" .config 10 | 11 | sed -i 's/192\.168\.1.*\./192\.168\.3\./g' .config 12 | sed -i 's/192\.168\.1.*\./192\.168\.3\./g' package/base-files/files/bin/config_generate 13 | sed -i 's/192\.168\.1.*\./192\.168\.3\./g' feeds/luci/modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js 14 | 15 | sed -i 's/%R/NueXini/g' package/base-files/files/etc/openwrt_release 16 | 17 | sed -i 's,0.openwrt.pool.ntp.org,ntp.tencent.com,g' package/base-files/files/bin/config_generate 18 | sed -i 's,1.openwrt.pool.ntp.org,ntp1.aliyun.com,g' package/base-files/files/bin/config_generate 19 | sed -i 's,2.openwrt.pool.ntp.org,ntp.ntsc.ac.cn,g' package/base-files/files/bin/config_generate 20 | sed -i 's,3.openwrt.pool.ntp.org,cn.ntp.org.cn,g' package/base-files/files/bin/config_generate 21 | 22 | sed -i 's/+luci-theme-bootstrap //g' feeds/luci/collections/luci/Makefile 23 | sed -i 's/+luci-theme-bootstrap //g' feeds/luci/collections/luci-nginx/Makefile 24 | sed -i 's/+luci-theme-bootstrap //g' feeds/luci/collections/luci-ssl-nginx/Makefile 25 | 26 | # /usr/lib/lua/luci/version.lua 27 | sed -i 's/${3:-LuCI}/NueXini/g' feeds/luci/modules/luci-lua-runtime/src/mkversion.sh 28 | sed -i 's/${2:-Git}/$(TZ=UTC-18 date "+%Y-%m-%d")/g' feeds/luci/modules/luci-lua-runtime/src/mkversion.sh 29 | 30 | ln -sf /usr/bin/upx ./staging_dir/host/bin/upx 31 | ln -sf /usr/bin/upx-ucl ./staging_dir/host/bin/upx-ucl 32 | 33 | if [ -d "feeds/x" ]; then 34 | bash $GITHUB_WORKSPACE/Z.Backup/sh/x.sh 35 | fi 36 | 37 | -------------------------------------------------------------------------------- /Z.Backup/sh/language_fix.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # [CTCGFW]Immortalwrt 3 | # Use it under GPLv3, please. 4 | # -------------------------------------------------------- 5 | # Convert translation files zh-cn to zh_Hans 6 | # The script is still in testing, welcome to report bugs. 7 | 8 | po_file="$({ find |grep -E "[a-z0-9]+\.zh\-cn.+po"; } 2>"/dev/null")" 9 | for a in ${po_file} 10 | do 11 | [ -n "$(grep "Language: zh_CN" "$a")" ] && sed -i "s/Language: zh_CN/Language: zh_Hans/g" "$a" 12 | po_new_file="$(echo -e "$a"|sed "s/zh-cn/zh_Hans/g")" 13 | mv "$a" "${po_new_file}" 2>"/dev/null" 14 | done 15 | 16 | po_file2="$({ find |grep "/zh-cn/" |grep "\.po"; } 2>"/dev/null")" 17 | for b in ${po_file2} 18 | do 19 | [ -n "$(grep "Language: zh_CN" "$b")" ] && sed -i "s/Language: zh_CN/Language: zh_Hans/g" "$b" 20 | po_new_file2="$(echo -e "$b"|sed "s/zh-cn/zh_Hans/g")" 21 | mv "$b" "${po_new_file2}" 2>"/dev/null" 22 | done 23 | 24 | lmo_file="$({ find |grep -E "[a-z0-9]+\.zh_Hans.+lmo"; } 2>"/dev/null")" 25 | for c in ${lmo_file} 26 | do 27 | lmo_new_file="$(echo -e "$c"|sed "s/zh_Hans/zh-cn/g")" 28 | mv "$c" "${lmo_new_file}" 2>"/dev/null" 29 | done 30 | 31 | lmo_file2="$({ find |grep "/zh_Hans/" |grep "\.lmo"; } 2>"/dev/null")" 32 | for d in ${lmo_file2} 33 | do 34 | lmo_new_file2="$(echo -e "$d"|sed "s/zh_Hans/zh-cn/g")" 35 | mv "$d" "${lmo_new_file2}" 2>"/dev/null" 36 | done 37 | 38 | po_dir="$({ find |grep "/zh-cn" |sed "/\.po/d" |sed "/\.lmo/d"; } 2>"/dev/null")" 39 | for e in ${po_dir} 40 | do 41 | po_new_dir="$(echo -e "$e"|sed "s/zh-cn/zh_Hans/g")" 42 | mv "$e" "${po_new_dir}" 2>"/dev/null" 43 | done 44 | 45 | makefile_file="$({ find|grep Makefile |sed "/Makefile./d"; } 2>"/dev/null")" 46 | for f in ${makefile_file} 47 | do 48 | [ -n "$(grep "zh-cn" "$f")" ] && sed -i "s/zh-cn/zh_Hans/g" "$f" 49 | [ -n "$(grep "zh_Hans.lmo" "$f")" ] && sed -i "s/zh_Hans.lmo/zh-cn.lmo/g" "$f" 50 | done 51 | 52 | exit 0 53 | 54 | -------------------------------------------------------------------------------- /Z.Backup/sh/x.defaults.sh: -------------------------------------------------------------------------------- 1 | 2 | uci set luci.main.mediaurlbase='/luci-static/argon' 3 | uci set luci.main.lang='zh_cn' 4 | uci commit luci 5 | 6 | uci set dropbear.@dropbear[0].PasswordAuth='on' 7 | uci set dropbear.@dropbear[0].RootPasswordAuth='on' 8 | uci set dropbear.@dropbear[0].Port='22' 9 | uci del dropbear.@dropbear[0].Interface 10 | uci commit dropbear 11 | 12 | uci set network.usbwan.mtu='1492' 13 | uci commit network 14 | 15 | uci set natcapd.default.peer_sni_ban='1' 16 | uci commit natcapd 17 | 18 | sed -i 's/\"services\"/\"network\"/g' /usr/lib/lua/luci/controller/nft-qos.lua 19 | sed -i 's#admin/services#admin/nas#g' /usr/share/luci/menu.d/luci-app-aria2.json 20 | sed -i 's#admin/services#admin/nas#g' /usr/share/luci/menu.d/luci-app-hd-idle.json 21 | sed -i 's#admin/services#admin/nas#g' /usr/share/luci/menu.d/luci-app-minidlna.json 22 | sed -i 's#admin/services#admin/nas#g' /usr/share/luci/menu.d/luci-app-p910nd.json 23 | sed -i 's#admin/services#admin/nas#g' /usr/share/luci/menu.d/luci-app-ksmbd.json 24 | sed -i 's#admin/services#admin/network#g' /usr/share/luci/menu.d/luci-app-fakemesh.json 25 | sed -i 's#admin/system#admin/status#g' /usr/share/luci/menu.d/luci-app-natflow-users.json 26 | sed -i 's#admin/services#admin/system#g' /usr/share/luci/menu.d/luci-app-ttyd.json 27 | # sed -i 's/-hidden//g' /usr/share/luci/menu.d/*.json 28 | 29 | rm -f /www/luci-static/resources/view/status/include/35_natflow-users.js 30 | rm -f /www/luci-static/resources/view/status/include/40_dhcp.js 31 | rm -f /www/luci-static/resources/view/status/include/50_dsl.js 32 | rm -f /www/luci-static/resources/view/status/include/70_ddns.js 33 | rm -f /www/luci-static/resources/view/status/include/80_minidlna.js 34 | rm -f /www/luci-static/resources/view/status/include/80_upnp.js 35 | rm -f /www/luci-static/resources/view/status/include/90_mwan3.js 36 | 37 | ln -sf /sbin/ip /usr/bin/ip 38 | 39 | sed -i '/log-facility/d' /etc/dnsmasq.conf 40 | echo "log-facility=/dev/null" >> /etc/dnsmasq.conf 41 | 42 | sed -i 's#downloads.openwrt.org#mirrors.vsean.net/openwrt#g' /etc/opkg/distfeeds.conf 43 | sed -i 's,http,https,g' /etc/opkg/distfeeds.conf 44 | sed -i '/NueXini/d' /etc/opkg/distfeeds.conf 45 | 46 | sed -i '/option disabled/d' /etc/config/wireless 47 | sed -i '/set wireless.radio${devidx}.disabled/d' /lib/wifi/mac80211.sh 48 | wifi up 49 | 50 | # change web luci user to root 51 | sed -i '/^admin/d' /etc/shadow 52 | sed -i '/^admin/d' /etc/passwd 53 | uci set rpcd.@login[0].username='root' 54 | uci set rpcd.@login[0].password='$p$root' 55 | uci commit rpcd 56 | 57 | rm -rf /tmp/luci-*cache 58 | 59 | exit 0 60 | 61 | -------------------------------------------------------------------------------- /Z.Backup/sh/x.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Create By NueXini 3 | 4 | CONFIG_VERSION_NUMBER_NX=$(cat feeds/x/rom/lede/config.ramips-mt7621 | grep 'CONFIG_VERSION_NUMBER' | cut -d '"' -f 2) 5 | CONFIG_VERSION_NUMBER_NX=`echo ${CONFIG_VERSION_NUMBER_NX:0:15}` 6 | sed -i "s/CONFIG_VERSION_NUMBER=\".*\"/CONFIG_VERSION_NUMBER=\"$CONFIG_VERSION_NUMBER_NX\"/" .config 7 | 8 | CONFIG_VERSION_CODE_NX=$(cat feeds/x/rom/lede/config.ramips-mt7621 | grep 'CONFIG_VERSION_CODE=' | cut -d '"' -f 2) 9 | sed -i "s/CONFIG_VERSION_CODE=\".*\"/CONFIG_VERSION_CODE=\"$CONFIG_VERSION_CODE_NX\"/" .config 10 | 11 | cp -f $GITHUB_WORKSPACE/Z.Backup/patches/x.banner package/base-files/files/etc/banner 12 | 13 | sed -i 's,192\.168\.15,192\.168\.3,g' feeds/x/natflow/files/natflow.config 14 | 15 | sed -i 's/or default_path_info/or "admin/status/overview"/g' feeds/luci/modules/luci-base/luasrc/dispatcher.lua 16 | 17 | # change web luci user to root 18 | sed -i 's#\"admin\"#\"root\"#g' feeds/luci/modules/luci-base/luasrc/dispatcher.lua 19 | sed -i 's#\"admin\"#\"root\"#g' feeds/luci/modules/luci-base/root/usr/libexec/rpcd/luci 20 | sed -i "s#'admin'#'root'#g" feeds/luci/modules/luci-base/root/usr/share/rpcd/ucode/luci 21 | sed -i "s#'admin'#'root'#g" feeds/luci/modules/luci-base/ucode/dispatcher.uc 22 | sed -i 's#\"admin\"#\"root\"#g' feeds/luci/modules/luci-mod-admin-mini/luasrc/controller/mini/index.lua 23 | sed -i 's#\"admin\"#\"root\"#g' feeds/luci/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/passwd.lua 24 | sed -i 's#\"admin\"#\"root\"#g' feeds/luci/modules/luci-mod-rpc/luasrc/controller/rpc.lua 25 | sed -i "s#'admin'#'root'#g" feeds/luci/modules/luci-mod-system/htdocs/luci-static/resources/view/system/password.js 26 | 27 | sed -i 's/-hidden//g' /usr/share/luci/menu.d/*.json 28 | 29 | sed -i '/exit 0/d' feeds/x/base-config-setting/files/uci.defaults 30 | cat $GITHUB_WORKSPACE/Z.Backup/sh/x.defaults.sh | while read line 31 | do 32 | echo $line >> feeds/x/base-config-setting/files/uci.defaults 33 | done 34 | 35 | cd feeds/NueXini_Packages 36 | bash $GITHUB_WORKSPACE/Z.Backup/sh/language_fix.sh 37 | 38 | -------------------------------------------------------------------------------- /version: -------------------------------------------------------------------------------- 1 | 20241023 2 | --------------------------------------------------------------------------------