├── .github └── workflows │ ├── Lean_LEDE_B70.yml │ ├── Lean_LEDE_HC5962.yml │ ├── Lean_LEDE_HC5962_PLUS.yml │ ├── Lean_LEDE_K2P.yml │ ├── Lean_LEDE_K2T.yml │ ├── Lean_LEDE_N1.yml │ ├── Lean_LEDE_Redmi_AC2100.yml │ └── update-checker.yml ├── LICENSE ├── Lean_LEDE_B70-BAK.config ├── Lean_LEDE_B70.config ├── Lean_LEDE_HC5962.config ├── Lean_LEDE_HC5962_PLUS.config ├── Lean_LEDE_K2P.config ├── Lean_LEDE_K2T.config ├── Lean_LEDE_Redmi_AC2100.config ├── README.md ├── diy-part0.sh ├── diy-part1.sh ├── diy-part2.sh ├── diy-part3.sh ├── 使用说明 ├── TELEGRAM_BOT_TOKEN.png ├── TELEGRAM_CHAT_ID.png ├── 创建自己的Bot.png ├── 根据提示创建Bot.png ├── 设置TELEGRAM密钥.png └── 通过get_id_bot获取ID.png └── 插件说明 ├── LuCI.txt └── LuCI应用说明.yml /.github/workflows/Lean_LEDE_B70.yml: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2019-2020 P3TERX 3 | # 4 | # This is free software, licensed under the MIT License. 5 | # See /LICENSE for more information. 6 | # 7 | # https://github.com/P3TERX/Actions-OpenWrt 8 | # Description: Build OpenWrt using GitHub Actions 9 | # 10 | 11 | name: Build Lean_LEDE_B70 12 | 13 | on: 14 | repository_dispatch: 15 | workflow_dispatch: 16 | inputs: 17 | ssh: 18 | description: 'SSH connection to Actions' 19 | required: false 20 | default: 'false' 21 | # schedule: 22 | # - cron: 0 6 1/3 * * 23 | # watch: 24 | # types: started 25 | 26 | env: 27 | REPO_URL: https://github.com/coolsnowwolf/lede 28 | REPO_BRANCH: master 29 | FEEDS_CONF: feeds.conf.default 30 | CONFIG_FILE: Lean_LEDE_B70.config 31 | DIY_P1_SH: diy-part0.sh 32 | DIY_P2_SH: diy-part2.sh 33 | UPLOAD_BIN_DIR: true 34 | UPLOAD_FIRMWARE: true 35 | UPLOAD_COWTRANSFER: false 36 | UPLOAD_WETRANSFER: true 37 | UPLOAD_RELEASE: true 38 | TZ: Asia/Shanghai 39 | 40 | jobs: 41 | build: 42 | runs-on: ubuntu-20.04 43 | 44 | steps: 45 | - name: Checkout 46 | uses: actions/checkout@main 47 | 48 | - name: Initialization environment 49 | env: 50 | DEBIAN_FRONTEND: noninteractive 51 | run: | 52 | sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc 53 | sudo -E apt-get -qq update 54 | sudo -E apt-get -qq install $(curl -fsSL git.io/depends-ubuntu-2004) 55 | sudo -E apt-get -qq autoremove --purge 56 | sudo -E apt-get -qq clean 57 | sudo timedatectl set-timezone "$TZ" 58 | sudo mkdir -p /workdir 59 | sudo chown $USER:$GROUPS /workdir 60 | 61 | - name: Clone source code 62 | working-directory: /workdir 63 | run: | 64 | df -hT $PWD 65 | git clone $REPO_URL -b $REPO_BRANCH openwrt 66 | ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt 67 | 68 | - name: Load custom feeds 69 | run: | 70 | [ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default 71 | chmod +x $DIY_P1_SH 72 | cd openwrt 73 | $GITHUB_WORKSPACE/$DIY_P1_SH 74 | 75 | - name: Update feeds 76 | run: cd openwrt && ./scripts/feeds update -a 77 | 78 | - name: Install feeds 79 | run: cd openwrt && ./scripts/feeds install -a 80 | 81 | - name: Load custom configuration 82 | run: | 83 | [ -e files ] && mv files openwrt/files 84 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 85 | chmod +x $DIY_P2_SH 86 | cd openwrt 87 | $GITHUB_WORKSPACE/$DIY_P2_SH 88 | 89 | - name: SSH connection to Actions 90 | uses: P3TERX/ssh2actions@v1.0.0 91 | if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') 92 | env: 93 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 94 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 95 | 96 | - name: Download package 97 | id: package 98 | run: | 99 | cd openwrt 100 | make defconfig 101 | make download -j8 102 | find dl -size -1024c -exec ls -l {} \; 103 | find dl -size -1024c -exec rm -f {} \; 104 | 105 | - name: Compile the firmware 106 | id: compile 107 | run: | 108 | cd openwrt 109 | echo -e "$(nproc) thread compile" 110 | make -j$(nproc) || make -j1 || make -j1 V=s 111 | echo "::set-output name=status::success" 112 | grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME 113 | [ -s DEVICE_NAME ] && echo "DEVICE_NAME=_$(cat DEVICE_NAME)" >> $GITHUB_ENV 114 | echo "FILE_DATE=_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 115 | 116 | - name: Check space usage 117 | if: (!cancelled()) 118 | run: df -hT 119 | 120 | - name: Upload bin directory 121 | uses: actions/upload-artifact@main 122 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_BIN_DIR == 'true' 123 | with: 124 | name: OpenWrt_bin${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 125 | path: openwrt/bin 126 | 127 | - name: Organize files 128 | id: organize 129 | if: env.UPLOAD_FIRMWARE == 'true' && !cancelled() 130 | run: | 131 | cd openwrt/bin/targets/*/* 132 | rm -rf packages 133 | echo "FIRMWARE=$PWD" >> $GITHUB_ENV 134 | echo "::set-output name=status::success" 135 | 136 | - name: Upload firmware directory 137 | uses: actions/upload-artifact@main 138 | if: steps.organize.outputs.status == 'success' && !cancelled() 139 | with: 140 | name: OpenWrt_firmware${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 141 | path: ${{ env.FIRMWARE }} 142 | 143 | - name: Upload firmware to cowtransfer 144 | id: cowtransfer 145 | if: steps.organize.outputs.status == 'success' && env.UPLOAD_COWTRANSFER == 'true' && !cancelled() 146 | run: | 147 | curl -fsSL git.io/file-transfer | sh 148 | ./transfer cow --block 2621440 -s -p 64 --no-progress ${FIRMWARE} 2>&1 | tee cowtransfer.log 149 | echo "::warning file=cowtransfer.com::$(cat cowtransfer.log | grep https)" 150 | echo "::set-output name=url::$(cat cowtransfer.log | grep https | cut -f3 -d" ")" 151 | 152 | - name: Upload firmware to WeTransfer 153 | id: wetransfer 154 | if: steps.organize.outputs.status == 'success' && env.UPLOAD_WETRANSFER == 'true' && !cancelled() 155 | run: | 156 | curl -fsSL git.io/file-transfer | sh 157 | ./transfer wet -s -p 16 --no-progress ${FIRMWARE} 2>&1 | tee wetransfer.log 158 | echo "::warning file=wetransfer.com::$(cat wetransfer.log | grep https)" 159 | echo "::set-output name=url::$(cat wetransfer.log | grep https | cut -f3 -d" ")" 160 | 161 | - name: Generate release tag 162 | id: tag 163 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 164 | run: | 165 | echo "::set-output name=release_tag::$(date +"%Y.%m.%d-%H%M")" 166 | touch release.txt 167 | [ $UPLOAD_COWTRANSFER = true ] && echo "🔗 [Cowtransfer](${{ steps.cowtransfer.outputs.url }})" >> release.txt 168 | [ $UPLOAD_WETRANSFER = true ] && echo "🔗 [WeTransfer](${{ steps.wetransfer.outputs.url }})" >> release.txt 169 | echo "::set-output name=status::success" 170 | 171 | - name: Upload firmware to release 172 | uses: softprops/action-gh-release@v1 173 | if: steps.tag.outputs.status == 'success' && !cancelled() 174 | env: 175 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 176 | with: 177 | tag_name: ${{ steps.tag.outputs.release_tag }} 178 | body_path: release.txt 179 | files: ${{ env.FIRMWARE }}/* 180 | 181 | - name: Delete workflow runs 182 | uses: GitRML/delete-workflow-runs@main 183 | with: 184 | retain_days: 1 185 | keep_minimum_runs: 3 186 | 187 | - name: Remove old Releases 188 | uses: dev-drprasad/delete-older-releases@v0.1.0 189 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 190 | with: 191 | keep_latest: 10 192 | delete_tags: true 193 | env: 194 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 195 | -------------------------------------------------------------------------------- /.github/workflows/Lean_LEDE_HC5962.yml: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2019-2024 P3TERX 3 | # 4 | # This is free software, licensed under the MIT License. 5 | # See /LICENSE for more information. 6 | # 7 | # https://github.com/P3TERX/Actions-OpenWrt 8 | # File: .github/workflows/openwrt-bulder.yml 9 | # Description: Build OpenWrt using GitHub Actions 10 | # 11 | 12 | name: Build Lean_LEDE_HC5962 13 | 14 | on: 15 | repository_dispatch: 16 | workflow_dispatch: 17 | inputs: 18 | ssh: 19 | description: 'SSH connection to Actions' 20 | required: false 21 | default: 'false' 22 | # schedule: 23 | # - cron: 0 6 1/3 * * 24 | # watch: 25 | # types: started 26 | 27 | env: 28 | REPO_URL: https://github.com/coolsnowwolf/lede 29 | REPO_BRANCH: master 30 | FEEDS_CONF: feeds.conf.default 31 | CONFIG_FILE: Lean_LEDE_HC5962.config 32 | DIY_P1_SH: diy-part1.sh 33 | DIY_P2_SH: diy-part2.sh 34 | UPLOAD_BIN_DIR: true 35 | UPLOAD_FIRMWARE: true 36 | UPLOAD_RELEASE: true 37 | TZ: Asia/Shanghai 38 | 39 | jobs: 40 | build: 41 | runs-on: ubuntu-22.04 42 | 43 | steps: 44 | - name: Checkout 45 | uses: actions/checkout@main 46 | 47 | - name: Initialization environment 48 | env: 49 | DEBIAN_FRONTEND: noninteractive 50 | run: | 51 | sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL 52 | sudo docker image prune --all --force 53 | sudo -E apt-get -qq update 54 | sudo -E apt-get -qq install ack antlr3 asciidoc autoconf automake autopoint binutils bison build-essential bzip2 ccache cmake cpio curl device-tree-compiler fastjar flex gawk gettext gcc-multilib g++-multilib git gperf haveged help2man intltool libc6-dev-i386 libelf-dev libfuse-dev libglib2.0-dev libgmp3-dev libltdl-dev libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libpython3-dev libreadline-dev libssl-dev libtool lrzsz mkisofs msmtp ninja-build p7zip p7zip-full patch pkgconf python2.7 python3 python3-pyelftools python3-setuptools qemu-utils rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev 55 | sudo -E apt-get -qq autoremove --purge 56 | sudo -E apt-get -qq clean 57 | sudo timedatectl set-timezone "$TZ" 58 | sudo mkdir -p /workdir 59 | sudo chown $USER:$GROUPS /workdir 60 | 61 | - name: Clone source code 62 | working-directory: /workdir 63 | run: | 64 | df -hT $PWD 65 | git clone $REPO_URL -b $REPO_BRANCH openwrt 66 | ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt 67 | 68 | - name: Load custom feeds 69 | run: | 70 | [ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default 71 | chmod +x $DIY_P1_SH 72 | cd openwrt 73 | $GITHUB_WORKSPACE/$DIY_P1_SH 74 | 75 | - name: Update feeds 76 | run: cd openwrt && ./scripts/feeds update -a 77 | 78 | - name: Install feeds 79 | run: cd openwrt && ./scripts/feeds install -a 80 | 81 | - name: Load custom configuration 82 | run: | 83 | [ -e files ] && mv files openwrt/files 84 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 85 | chmod +x $DIY_P2_SH 86 | cd openwrt 87 | $GITHUB_WORKSPACE/$DIY_P2_SH 88 | 89 | - name: SSH connection to Actions 90 | uses: P3TERX/ssh2actions@v1.0.0 91 | if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') 92 | env: 93 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 94 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 95 | 96 | - name: Download package 97 | id: package 98 | run: | 99 | cd openwrt 100 | make defconfig 101 | make download -j8 102 | find dl -size -1024c -exec ls -l {} \; 103 | find dl -size -1024c -exec rm -f {} \; 104 | 105 | - name: Compile the firmware 106 | id: compile 107 | run: | 108 | cd openwrt 109 | echo -e "$(nproc) thread compile" 110 | make -j$(nproc) || make -j1 || make -j1 V=s 111 | echo "status=success" >> $GITHUB_OUTPUT 112 | grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME 113 | [ -s DEVICE_NAME ] && echo "DEVICE_NAME=_$(cat DEVICE_NAME)" >> $GITHUB_ENV 114 | echo "FILE_DATE=_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 115 | 116 | - name: Check space usage 117 | if: (!cancelled()) 118 | run: df -hT 119 | 120 | - name: Upload bin directory 121 | uses: actions/upload-artifact@main 122 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_BIN_DIR == 'true' 123 | with: 124 | name: OpenWrt_bin${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 125 | path: openwrt/bin 126 | 127 | - name: Organize files 128 | id: organize 129 | if: env.UPLOAD_FIRMWARE == 'true' && !cancelled() 130 | run: | 131 | cd openwrt/bin/targets/*/* 132 | rm -rf packages 133 | echo "FIRMWARE=$PWD" >> $GITHUB_ENV 134 | echo "status=success" >> $GITHUB_OUTPUT 135 | 136 | - name: Upload firmware directory 137 | uses: actions/upload-artifact@main 138 | if: steps.organize.outputs.status == 'success' && !cancelled() 139 | with: 140 | name: OpenWrt_firmware${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 141 | path: ${{ env.FIRMWARE }} 142 | 143 | - name: Generate release tag 144 | id: tag 145 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 146 | run: | 147 | echo "release_tag=$(date +"%Y.%m.%d-%H%M")" >> $GITHUB_OUTPUT 148 | touch release.txt 149 | [ ${UPLOAD_GOFILE} = true && ${{ steps.gofile.outputs.url }} ] && echo "🔗 [GoFile](${{ steps.gofile.outputs.url }})" >> release.txt 150 | echo "status=success" >> $GITHUB_OUTPUT 151 | 152 | - name: Upload firmware to release 153 | uses: softprops/action-gh-release@master 154 | if: steps.tag.outputs.status == 'success' && !cancelled() 155 | env: 156 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 157 | with: 158 | tag_name: ${{ steps.tag.outputs.release_tag }} 159 | body_path: release.txt 160 | files: ${{ env.FIRMWARE }}/* 161 | 162 | - name: Delete workflow runs 163 | uses: Mattraks/delete-workflow-runs@main 164 | with: 165 | retain_days: 0 166 | keep_minimum_runs: 2 167 | 168 | - name: Remove old Releases 169 | uses: dev-drprasad/delete-older-releases@master 170 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 171 | with: 172 | keep_latest: 3 173 | delete_tags: true 174 | env: 175 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 176 | -------------------------------------------------------------------------------- /.github/workflows/Lean_LEDE_HC5962_PLUS.yml: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2019-2020 P3TERX 3 | # 4 | # This is free software, licensed under the MIT License. 5 | # See /LICENSE for more information. 6 | # 7 | # https://github.com/P3TERX/Actions-OpenWrt 8 | # Description: Build OpenWrt using GitHub Actions 9 | # 10 | 11 | name: Build Lean_LEDE_HC5962_PLUS 12 | 13 | on: 14 | repository_dispatch: 15 | workflow_dispatch: 16 | inputs: 17 | ssh: 18 | description: 'SSH connection to Actions' 19 | required: false 20 | default: 'false' 21 | # schedule: 22 | # - cron: 0 6 1/3 * * 23 | # watch: 24 | # types: started 25 | 26 | env: 27 | REPO_URL: https://github.com/coolsnowwolf/lede 28 | REPO_BRANCH: master 29 | FEEDS_CONF: feeds.conf.default 30 | CONFIG_FILE: Lean_LEDE_HC5962_PLUS.config 31 | DIY_P1_SH: diy-part3.sh 32 | DIY_P2_SH: diy-part2.sh 33 | UPLOAD_BIN_DIR: true 34 | UPLOAD_FIRMWARE: true 35 | UPLOAD_COWTRANSFER: false 36 | UPLOAD_WETRANSFER: true 37 | UPLOAD_RELEASE: true 38 | TZ: Asia/Shanghai 39 | 40 | jobs: 41 | build: 42 | runs-on: ubuntu-20.04 43 | 44 | steps: 45 | - name: Checkout 46 | uses: actions/checkout@main 47 | 48 | - name: Initialization environment 49 | env: 50 | DEBIAN_FRONTEND: noninteractive 51 | run: | 52 | sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc 53 | sudo -E apt-get -qq update 54 | sudo -E apt-get -qq install $(curl -fsSL git.io/depends-ubuntu-2004) 55 | sudo -E apt-get -qq autoremove --purge 56 | sudo -E apt-get -qq clean 57 | sudo timedatectl set-timezone "$TZ" 58 | sudo mkdir -p /workdir 59 | sudo chown $USER:$GROUPS /workdir 60 | 61 | - name: Clone source code 62 | working-directory: /workdir 63 | run: | 64 | df -hT $PWD 65 | git clone $REPO_URL -b $REPO_BRANCH openwrt 66 | ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt 67 | 68 | - name: Load custom feeds 69 | run: | 70 | [ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default 71 | chmod +x $DIY_P1_SH 72 | cd openwrt 73 | $GITHUB_WORKSPACE/$DIY_P1_SH 74 | 75 | - name: Update feeds 76 | run: cd openwrt && ./scripts/feeds update -a 77 | 78 | - name: Install feeds 79 | run: cd openwrt && ./scripts/feeds install -a 80 | 81 | - name: Load custom configuration 82 | run: | 83 | [ -e files ] && mv files openwrt/files 84 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 85 | chmod +x $DIY_P2_SH 86 | cd openwrt 87 | $GITHUB_WORKSPACE/$DIY_P2_SH 88 | 89 | - name: SSH connection to Actions 90 | uses: P3TERX/ssh2actions@v1.0.0 91 | if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') 92 | env: 93 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 94 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 95 | 96 | - name: Download package 97 | id: package 98 | run: | 99 | cd openwrt 100 | make defconfig 101 | make download -j8 102 | find dl -size -1024c -exec ls -l {} \; 103 | find dl -size -1024c -exec rm -f {} \; 104 | 105 | - name: Compile the firmware 106 | id: compile 107 | run: | 108 | cd openwrt 109 | echo -e "$(nproc) thread compile" 110 | make -j$(nproc) || make -j1 || make -j1 V=s 111 | echo "::set-output name=status::success" 112 | grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME 113 | [ -s DEVICE_NAME ] && echo "DEVICE_NAME=_$(cat DEVICE_NAME)" >> $GITHUB_ENV 114 | echo "FILE_DATE=_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 115 | 116 | - name: Check space usage 117 | if: (!cancelled()) 118 | run: df -hT 119 | 120 | - name: Upload bin directory 121 | uses: actions/upload-artifact@main 122 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_BIN_DIR == 'true' 123 | with: 124 | name: OpenWrt_bin${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 125 | path: openwrt/bin 126 | 127 | - name: Organize files 128 | id: organize 129 | if: env.UPLOAD_FIRMWARE == 'true' && !cancelled() 130 | run: | 131 | cd openwrt/bin/targets/*/* 132 | rm -rf packages 133 | echo "FIRMWARE=$PWD" >> $GITHUB_ENV 134 | echo "::set-output name=status::success" 135 | 136 | - name: Upload firmware directory 137 | uses: actions/upload-artifact@main 138 | if: steps.organize.outputs.status == 'success' && !cancelled() 139 | with: 140 | name: OpenWrt_firmware${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 141 | path: ${{ env.FIRMWARE }} 142 | 143 | - name: Upload firmware to cowtransfer 144 | id: cowtransfer 145 | if: steps.organize.outputs.status == 'success' && env.UPLOAD_COWTRANSFER == 'true' && !cancelled() 146 | run: | 147 | curl -fsSL git.io/file-transfer | sh 148 | ./transfer cow --block 2621440 -s -p 64 --no-progress ${FIRMWARE} 2>&1 | tee cowtransfer.log 149 | echo "::warning file=cowtransfer.com::$(cat cowtransfer.log | grep https)" 150 | echo "::set-output name=url::$(cat cowtransfer.log | grep https | cut -f3 -d" ")" 151 | 152 | - name: Upload firmware to WeTransfer 153 | id: wetransfer 154 | if: steps.organize.outputs.status == 'success' && env.UPLOAD_WETRANSFER == 'true' && !cancelled() 155 | run: | 156 | curl -fsSL git.io/file-transfer | sh 157 | ./transfer wet -s -p 16 --no-progress ${FIRMWARE} 2>&1 | tee wetransfer.log 158 | echo "::warning file=wetransfer.com::$(cat wetransfer.log | grep https)" 159 | echo "::set-output name=url::$(cat wetransfer.log | grep https | cut -f3 -d" ")" 160 | 161 | - name: Generate release tag 162 | id: tag 163 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 164 | run: | 165 | echo "::set-output name=release_tag::$(date +"%Y.%m.%d-%H%M")" 166 | touch release.txt 167 | [ $UPLOAD_COWTRANSFER = true ] && echo "🔗 [Cowtransfer](${{ steps.cowtransfer.outputs.url }})" >> release.txt 168 | [ $UPLOAD_WETRANSFER = true ] && echo "🔗 [WeTransfer](${{ steps.wetransfer.outputs.url }})" >> release.txt 169 | echo "::set-output name=status::success" 170 | 171 | - name: Upload firmware to release 172 | uses: softprops/action-gh-release@v1 173 | if: steps.tag.outputs.status == 'success' && !cancelled() 174 | env: 175 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 176 | with: 177 | tag_name: ${{ steps.tag.outputs.release_tag }} 178 | body_path: release.txt 179 | files: ${{ env.FIRMWARE }}/* 180 | 181 | - name: Delete workflow runs 182 | uses: GitRML/delete-workflow-runs@main 183 | with: 184 | retain_days: 1 185 | keep_minimum_runs: 3 186 | 187 | - name: Remove old Releases 188 | uses: dev-drprasad/delete-older-releases@v0.1.0 189 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 190 | with: 191 | keep_latest: 10 192 | delete_tags: true 193 | env: 194 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 195 | -------------------------------------------------------------------------------- /.github/workflows/Lean_LEDE_K2P.yml: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2019-2020 P3TERX 3 | # 4 | # This is free software, licensed under the MIT License. 5 | # See /LICENSE for more information. 6 | # 7 | # https://github.com/P3TERX/Actions-OpenWrt 8 | # Description: Build OpenWrt using GitHub Actions 9 | # 10 | 11 | name: Build Lean_LEDE_K2P 12 | 13 | on: 14 | repository_dispatch: 15 | workflow_dispatch: 16 | inputs: 17 | ssh: 18 | description: 'SSH connection to Actions' 19 | required: false 20 | default: 'false' 21 | # schedule: 22 | # - cron: 0 6 1/3 * * 23 | # watch: 24 | # types: started 25 | 26 | env: 27 | REPO_URL: https://github.com/coolsnowwolf/lede 28 | REPO_BRANCH: master 29 | FEEDS_CONF: feeds.conf.default 30 | CONFIG_FILE: Lean_LEDE_K2P.config 31 | DIY_P1_SH: diy-part1.sh 32 | DIY_P2_SH: diy-part2.sh 33 | UPLOAD_BIN_DIR: false 34 | UPLOAD_FIRMWARE: true 35 | UPLOAD_COWTRANSFER: false 36 | UPLOAD_WETRANSFER: false 37 | UPLOAD_RELEASE: false 38 | TZ: Asia/Shanghai 39 | 40 | jobs: 41 | build: 42 | runs-on: ubuntu-20.04 43 | 44 | steps: 45 | - name: Checkout 46 | uses: actions/checkout@main 47 | 48 | - name: Initialization environment 49 | env: 50 | DEBIAN_FRONTEND: noninteractive 51 | run: | 52 | sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc 53 | sudo -E apt-get -qq update 54 | sudo -E apt-get -qq install $(curl -fsSL git.io/depends-ubuntu-2004) 55 | sudo -E apt-get -qq autoremove --purge 56 | sudo -E apt-get -qq clean 57 | sudo timedatectl set-timezone "$TZ" 58 | sudo mkdir -p /workdir 59 | sudo chown $USER:$GROUPS /workdir 60 | 61 | - name: Clone source code 62 | working-directory: /workdir 63 | run: | 64 | df -hT $PWD 65 | git clone $REPO_URL -b $REPO_BRANCH openwrt 66 | ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt 67 | 68 | - name: Load custom feeds 69 | run: | 70 | [ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default 71 | chmod +x $DIY_P1_SH 72 | cd openwrt 73 | $GITHUB_WORKSPACE/$DIY_P1_SH 74 | 75 | - name: Update feeds 76 | run: cd openwrt && ./scripts/feeds update -a 77 | 78 | - name: Install feeds 79 | run: cd openwrt && ./scripts/feeds install -a 80 | 81 | - name: Load custom configuration 82 | run: | 83 | [ -e files ] && mv files openwrt/files 84 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 85 | chmod +x $DIY_P2_SH 86 | cd openwrt 87 | $GITHUB_WORKSPACE/$DIY_P2_SH 88 | 89 | - name: SSH connection to Actions 90 | uses: P3TERX/ssh2actions@v1.0.0 91 | if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') 92 | env: 93 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 94 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 95 | 96 | - name: Download package 97 | id: package 98 | run: | 99 | cd openwrt 100 | make defconfig 101 | make download -j8 102 | find dl -size -1024c -exec ls -l {} \; 103 | find dl -size -1024c -exec rm -f {} \; 104 | 105 | - name: Compile the firmware 106 | id: compile 107 | run: | 108 | cd openwrt 109 | echo -e "$(nproc) thread compile" 110 | make -j$(nproc) || make -j1 || make -j1 V=s 111 | echo "::set-output name=status::success" 112 | grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME 113 | [ -s DEVICE_NAME ] && echo "DEVICE_NAME=_$(cat DEVICE_NAME)" >> $GITHUB_ENV 114 | echo "FILE_DATE=_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 115 | 116 | - name: Check space usage 117 | if: (!cancelled()) 118 | run: df -hT 119 | 120 | - name: Upload bin directory 121 | uses: actions/upload-artifact@main 122 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_BIN_DIR == 'true' 123 | with: 124 | name: OpenWrt_bin${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 125 | path: openwrt/bin 126 | 127 | - name: Organize files 128 | id: organize 129 | if: env.UPLOAD_FIRMWARE == 'true' && !cancelled() 130 | run: | 131 | cd openwrt/bin/targets/*/* 132 | rm -rf packages 133 | echo "FIRMWARE=$PWD" >> $GITHUB_ENV 134 | echo "::set-output name=status::success" 135 | 136 | - name: Upload firmware directory 137 | uses: actions/upload-artifact@main 138 | if: steps.organize.outputs.status == 'success' && !cancelled() 139 | with: 140 | name: OpenWrt_firmware${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 141 | path: ${{ env.FIRMWARE }} 142 | 143 | - name: Upload firmware to cowtransfer 144 | id: cowtransfer 145 | if: steps.organize.outputs.status == 'success' && env.UPLOAD_COWTRANSFER == 'true' && !cancelled() 146 | run: | 147 | curl -fsSL git.io/file-transfer | sh 148 | ./transfer cow --block 2621440 -s -p 64 --no-progress ${FIRMWARE} 2>&1 | tee cowtransfer.log 149 | echo "::warning file=cowtransfer.com::$(cat cowtransfer.log | grep https)" 150 | echo "::set-output name=url::$(cat cowtransfer.log | grep https | cut -f3 -d" ")" 151 | 152 | - name: Upload firmware to WeTransfer 153 | id: wetransfer 154 | if: steps.organize.outputs.status == 'success' && env.UPLOAD_WETRANSFER == 'true' && !cancelled() 155 | run: | 156 | curl -fsSL git.io/file-transfer | sh 157 | ./transfer wet -s -p 16 --no-progress ${FIRMWARE} 2>&1 | tee wetransfer.log 158 | echo "::warning file=wetransfer.com::$(cat wetransfer.log | grep https)" 159 | echo "::set-output name=url::$(cat wetransfer.log | grep https | cut -f3 -d" ")" 160 | 161 | - name: Generate release tag 162 | id: tag 163 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 164 | run: | 165 | echo "::set-output name=release_tag::$(date +"%Y.%m.%d-%H%M")" 166 | touch release.txt 167 | [ $UPLOAD_COWTRANSFER = true ] && echo "🔗 [Cowtransfer](${{ steps.cowtransfer.outputs.url }})" >> release.txt 168 | [ $UPLOAD_WETRANSFER = true ] && echo "🔗 [WeTransfer](${{ steps.wetransfer.outputs.url }})" >> release.txt 169 | echo "::set-output name=status::success" 170 | 171 | - name: Upload firmware to release 172 | uses: softprops/action-gh-release@v1 173 | if: steps.tag.outputs.status == 'success' && !cancelled() 174 | env: 175 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 176 | with: 177 | tag_name: ${{ steps.tag.outputs.release_tag }} 178 | body_path: release.txt 179 | files: ${{ env.FIRMWARE }}/* 180 | 181 | - name: Delete workflow runs 182 | uses: GitRML/delete-workflow-runs@main 183 | with: 184 | retain_days: 1 185 | keep_minimum_runs: 3 186 | 187 | - name: Remove old Releases 188 | uses: dev-drprasad/delete-older-releases@v0.1.0 189 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 190 | with: 191 | keep_latest: 3 192 | delete_tags: true 193 | env: 194 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 195 | -------------------------------------------------------------------------------- /.github/workflows/Lean_LEDE_K2T.yml: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2019-2020 P3TERX 3 | # 4 | # This is free software, licensed under the MIT License. 5 | # See /LICENSE for more information. 6 | # 7 | # https://github.com/P3TERX/Actions-OpenWrt 8 | # Description: Build OpenWrt using GitHub Actions 9 | # 10 | 11 | name: Build Lean_LEDE_K2T 12 | 13 | on: 14 | repository_dispatch: 15 | workflow_dispatch: 16 | inputs: 17 | ssh: 18 | description: 'SSH connection to Actions' 19 | required: false 20 | default: 'false' 21 | # schedule: 22 | # - cron: 0 6 1/3 * * 23 | # watch: 24 | # types: started 25 | 26 | env: 27 | REPO_URL: https://github.com/coolsnowwolf/lede 28 | REPO_BRANCH: master 29 | FEEDS_CONF: feeds.conf.default 30 | CONFIG_FILE: Lean_LEDE_K2T.config 31 | DIY_P1_SH: diy-part1.sh 32 | DIY_P2_SH: diy-part2.sh 33 | UPLOAD_BIN_DIR: false 34 | UPLOAD_FIRMWARE: true 35 | UPLOAD_COWTRANSFER: false 36 | UPLOAD_WETRANSFER: false 37 | UPLOAD_RELEASE: false 38 | TZ: Asia/Shanghai 39 | 40 | jobs: 41 | build: 42 | runs-on: ubuntu-20.04 43 | 44 | steps: 45 | - name: Checkout 46 | uses: actions/checkout@main 47 | 48 | - name: Initialization environment 49 | env: 50 | DEBIAN_FRONTEND: noninteractive 51 | run: | 52 | sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc 53 | sudo -E apt-get -qq update 54 | sudo -E apt-get -qq install $(curl -fsSL git.io/depends-ubuntu-2004) 55 | sudo -E apt-get -qq autoremove --purge 56 | sudo -E apt-get -qq clean 57 | sudo timedatectl set-timezone "$TZ" 58 | sudo mkdir -p /workdir 59 | sudo chown $USER:$GROUPS /workdir 60 | 61 | - name: Clone source code 62 | working-directory: /workdir 63 | run: | 64 | df -hT $PWD 65 | git clone $REPO_URL -b $REPO_BRANCH openwrt 66 | ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt 67 | 68 | - name: Load custom feeds 69 | run: | 70 | [ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default 71 | chmod +x $DIY_P1_SH 72 | cd openwrt 73 | $GITHUB_WORKSPACE/$DIY_P1_SH 74 | 75 | - name: Update feeds 76 | run: cd openwrt && ./scripts/feeds update -a 77 | 78 | - name: Install feeds 79 | run: cd openwrt && ./scripts/feeds install -a 80 | 81 | - name: Load custom configuration 82 | run: | 83 | [ -e files ] && mv files openwrt/files 84 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 85 | chmod +x $DIY_P2_SH 86 | cd openwrt 87 | $GITHUB_WORKSPACE/$DIY_P2_SH 88 | 89 | - name: SSH connection to Actions 90 | uses: P3TERX/ssh2actions@v1.0.0 91 | if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') 92 | env: 93 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 94 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 95 | 96 | - name: Download package 97 | id: package 98 | run: | 99 | cd openwrt 100 | make defconfig 101 | make download -j8 102 | find dl -size -1024c -exec ls -l {} \; 103 | find dl -size -1024c -exec rm -f {} \; 104 | 105 | - name: Compile the firmware 106 | id: compile 107 | run: | 108 | cd openwrt 109 | echo -e "$(nproc) thread compile" 110 | make -j$(nproc) || make -j1 || make -j1 V=s 111 | echo "::set-output name=status::success" 112 | grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME 113 | [ -s DEVICE_NAME ] && echo "DEVICE_NAME=_$(cat DEVICE_NAME)" >> $GITHUB_ENV 114 | echo "FILE_DATE=_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 115 | 116 | - name: Check space usage 117 | if: (!cancelled()) 118 | run: df -hT 119 | 120 | - name: Upload bin directory 121 | uses: actions/upload-artifact@main 122 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_BIN_DIR == 'true' 123 | with: 124 | name: OpenWrt_bin${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 125 | path: openwrt/bin 126 | 127 | - name: Organize files 128 | id: organize 129 | if: env.UPLOAD_FIRMWARE == 'true' && !cancelled() 130 | run: | 131 | cd openwrt/bin/targets/*/* 132 | rm -rf packages 133 | echo "FIRMWARE=$PWD" >> $GITHUB_ENV 134 | echo "::set-output name=status::success" 135 | 136 | - name: Upload firmware directory 137 | uses: actions/upload-artifact@main 138 | if: steps.organize.outputs.status == 'success' && !cancelled() 139 | with: 140 | name: OpenWrt_firmware${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 141 | path: ${{ env.FIRMWARE }} 142 | 143 | - name: Upload firmware to cowtransfer 144 | id: cowtransfer 145 | if: steps.organize.outputs.status == 'success' && env.UPLOAD_COWTRANSFER == 'true' && !cancelled() 146 | run: | 147 | curl -fsSL git.io/file-transfer | sh 148 | ./transfer cow --block 2621440 -s -p 64 --no-progress ${FIRMWARE} 2>&1 | tee cowtransfer.log 149 | echo "::warning file=cowtransfer.com::$(cat cowtransfer.log | grep https)" 150 | echo "::set-output name=url::$(cat cowtransfer.log | grep https | cut -f3 -d" ")" 151 | 152 | - name: Upload firmware to WeTransfer 153 | id: wetransfer 154 | if: steps.organize.outputs.status == 'success' && env.UPLOAD_WETRANSFER == 'true' && !cancelled() 155 | run: | 156 | curl -fsSL git.io/file-transfer | sh 157 | ./transfer wet -s -p 16 --no-progress ${FIRMWARE} 2>&1 | tee wetransfer.log 158 | echo "::warning file=wetransfer.com::$(cat wetransfer.log | grep https)" 159 | echo "::set-output name=url::$(cat wetransfer.log | grep https | cut -f3 -d" ")" 160 | 161 | - name: Generate release tag 162 | id: tag 163 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 164 | run: | 165 | echo "::set-output name=release_tag::$(date +"%Y.%m.%d-%H%M")" 166 | touch release.txt 167 | [ $UPLOAD_COWTRANSFER = true ] && echo "🔗 [Cowtransfer](${{ steps.cowtransfer.outputs.url }})" >> release.txt 168 | [ $UPLOAD_WETRANSFER = true ] && echo "🔗 [WeTransfer](${{ steps.wetransfer.outputs.url }})" >> release.txt 169 | echo "::set-output name=status::success" 170 | 171 | - name: Upload firmware to release 172 | uses: softprops/action-gh-release@v1 173 | if: steps.tag.outputs.status == 'success' && !cancelled() 174 | env: 175 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 176 | with: 177 | tag_name: ${{ steps.tag.outputs.release_tag }} 178 | body_path: release.txt 179 | files: ${{ env.FIRMWARE }}/* 180 | 181 | - name: Delete workflow runs 182 | uses: GitRML/delete-workflow-runs@main 183 | with: 184 | retain_days: 1 185 | keep_minimum_runs: 3 186 | 187 | - name: Remove old Releases 188 | uses: dev-drprasad/delete-older-releases@v0.1.0 189 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 190 | with: 191 | keep_latest: 3 192 | delete_tags: true 193 | env: 194 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 195 | -------------------------------------------------------------------------------- /.github/workflows/Lean_LEDE_N1.yml: -------------------------------------------------------------------------------- 1 | name: Lean_LEDE_N1 2 | 3 | on: 4 | # schedule: 5 | # - cron: 0 6 1/3 * * 6 | repository_dispatch: 7 | types: run 8 | 9 | env: 10 | TZ: Asia/Shanghai 11 | 12 | jobs: 13 | build: 14 | runs-on: [ubuntu-18.04] 15 | if: github.event_name == 'schedule' || github.event.action == 'run' 16 | 17 | steps: 18 | - name: Checkout 19 | uses: actions/checkout@main 20 | 21 | - name: Install depends 22 | run: | 23 | docker rmi `docker images -q` 24 | sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /usr/lib/jvm /opt/ghc 25 | sudo -E apt-get -qq update 26 | sudo -E apt-get -qq install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch python3.5 python2.7 unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler g++-multilib antlr3 gperf wget 27 | sudo -E apt-get -qq autoremove --purge 28 | sudo -E apt-get -qq clean 29 | 30 | - name: Clone Lean's openwrt 31 | run: | 32 | git clone https://github.com/coolsnowwolf/lede 33 | 34 | - name: Install feeds 35 | run: | 36 | cd lede 37 | 38 | git clone https://github.com/tuanqing/lede-mod 39 | git clone https://github.com/tuanqing/install-program package/install-program 40 | svn co https://github.com/Lienol/openwrt-package/trunk/lienol/luci-theme-bootstrap-mod package/luci-theme-bootstrap-mod 41 | 42 | git apply lede-mod/lede/*.patch 43 | 44 | ./scripts/feeds update -a 45 | ./scripts/feeds install -a 46 | 47 | git apply lede-mod/luci/*.patch --directory=feeds/luci 48 | git apply lede-mod/bootstrap/*.patch --directory=package/luci-theme-bootstrap-mod 49 | 50 | - name: Make config 51 | run: | 52 | cd lede 53 | 54 | cat > .config << EOF 55 | CONFIG_TARGET_armvirt=y 56 | CONFIG_TARGET_armvirt_64=y 57 | CONFIG_TARGET_armvirt_64_DEVICE_Phicomm-n1=y 58 | CONFIG_BRCMFMAC_SDIO=y 59 | CONFIG_PACKAGE_luci-app-haproxy-tcp=y 60 | # CONFIG_UnblockNeteaseMusic_NodeJS is not set 61 | EOF 62 | 63 | make defconfig 64 | ./scripts/feeds update -a 65 | cat .config 66 | 67 | - name: Compile openwrt 68 | run: | 69 | cd lede 70 | make download -j8 71 | make -j$(nproc) || make -j1 V=s 72 | 73 | - name: Build firmware 74 | run: | 75 | cp lede/bin/targets/*/*/*.tar.gz ./openwrt 76 | sudo ./make -d 77 | cp lede/.config out/config.seed 78 | 79 | cd out 80 | i=0 81 | kernels=("4.18.7" "4.19.106" "5.4.43") 82 | for x in ${kernels[*]}; do 83 | cd $x 84 | filename=$(ls) 85 | filename=${filename%.*} 86 | gzip *.img 87 | cd ../ 88 | echo "::set-env name=firmware_$((++i))::$filename" 89 | done 90 | 91 | - name: Upload firmware @ kernel 4.18.7 92 | uses: actions/upload-artifact@main 93 | with: 94 | name: ${{ env.firmware_1 }} 95 | path: out/4.18.7 96 | 97 | - name: Upload firmware @ kernel 4.19.106 98 | uses: actions/upload-artifact@main 99 | with: 100 | name: ${{ env.firmware_2 }} 101 | path: out/4.19.106 102 | 103 | - name: Upload firmware @ kernel 5.4.43 104 | uses: actions/upload-artifact@main 105 | with: 106 | name: ${{ env.firmware_3 }} 107 | path: out/5.4.43 108 | 109 | - name: Upload config file 110 | uses: actions/upload-artifact@main 111 | with: 112 | name: config 113 | path: out/config.seed 114 | -------------------------------------------------------------------------------- /.github/workflows/Lean_LEDE_Redmi_AC2100.yml: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2019-2020 P3TERX 3 | # 4 | # This is free software, licensed under the MIT License. 5 | # See /LICENSE for more information. 6 | # 7 | # https://github.com/P3TERX/Actions-OpenWrt 8 | # Description: Build OpenWrt using GitHub Actions 9 | # 10 | 11 | name: Build Lean_LEDE_Redmi_AC2100 12 | 13 | on: 14 | repository_dispatch: 15 | workflow_dispatch: 16 | inputs: 17 | ssh: 18 | description: 'SSH connection to Actions' 19 | required: false 20 | default: 'false' 21 | # schedule: 22 | # - cron: 0 6 1/3 * * 23 | # watch: 24 | # types: started 25 | 26 | env: 27 | REPO_URL: https://github.com/coolsnowwolf/lede 28 | REPO_BRANCH: master 29 | FEEDS_CONF: feeds.conf.default 30 | CONFIG_FILE: Lean_LEDE_Redmi_AC2100.config 31 | DIY_P1_SH: diy-part1.sh 32 | DIY_P2_SH: diy-part2.sh 33 | UPLOAD_BIN_DIR: false 34 | UPLOAD_FIRMWARE: true 35 | UPLOAD_COWTRANSFER: false 36 | UPLOAD_WETRANSFER: false 37 | UPLOAD_RELEASE: true 38 | TZ: Asia/Shanghai 39 | 40 | jobs: 41 | build: 42 | runs-on: ubuntu-20.04 43 | 44 | steps: 45 | - name: Checkout 46 | uses: actions/checkout@main 47 | 48 | - name: Initialization environment 49 | env: 50 | DEBIAN_FRONTEND: noninteractive 51 | run: | 52 | sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc 53 | sudo -E apt-get -qq update 54 | sudo -E apt-get -qq install $(curl -fsSL git.io/depends-ubuntu-2004) 55 | sudo -E apt-get -qq autoremove --purge 56 | sudo -E apt-get -qq clean 57 | sudo timedatectl set-timezone "$TZ" 58 | sudo mkdir -p /workdir 59 | sudo chown $USER:$GROUPS /workdir 60 | 61 | - name: Clone source code 62 | working-directory: /workdir 63 | run: | 64 | df -hT $PWD 65 | git clone $REPO_URL -b $REPO_BRANCH openwrt 66 | ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt 67 | 68 | - name: Load custom feeds 69 | run: | 70 | [ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default 71 | chmod +x $DIY_P1_SH 72 | cd openwrt 73 | $GITHUB_WORKSPACE/$DIY_P1_SH 74 | 75 | - name: Update feeds 76 | run: cd openwrt && ./scripts/feeds update -a 77 | 78 | - name: Install feeds 79 | run: cd openwrt && ./scripts/feeds install -a 80 | 81 | - name: Load custom configuration 82 | run: | 83 | [ -e files ] && mv files openwrt/files 84 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 85 | chmod +x $DIY_P2_SH 86 | cd openwrt 87 | $GITHUB_WORKSPACE/$DIY_P2_SH 88 | 89 | - name: SSH connection to Actions 90 | uses: P3TERX/ssh2actions@v1.0.0 91 | if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') 92 | env: 93 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 94 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 95 | 96 | - name: Download package 97 | id: package 98 | run: | 99 | cd openwrt 100 | make defconfig 101 | make download -j8 102 | find dl -size -1024c -exec ls -l {} \; 103 | find dl -size -1024c -exec rm -f {} \; 104 | 105 | - name: Compile the firmware 106 | id: compile 107 | run: | 108 | cd openwrt 109 | echo -e "$(nproc) thread compile" 110 | make -j$(nproc) || make -j1 || make -j1 V=s 111 | echo "::set-output name=status::success" 112 | grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME 113 | [ -s DEVICE_NAME ] && echo "DEVICE_NAME=_$(cat DEVICE_NAME)" >> $GITHUB_ENV 114 | echo "FILE_DATE=_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 115 | 116 | - name: Check space usage 117 | if: (!cancelled()) 118 | run: df -hT 119 | 120 | - name: Upload bin directory 121 | uses: actions/upload-artifact@main 122 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_BIN_DIR == 'true' 123 | with: 124 | name: OpenWrt_bin${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 125 | path: openwrt/bin 126 | 127 | - name: Organize files 128 | id: organize 129 | if: env.UPLOAD_FIRMWARE == 'true' && !cancelled() 130 | run: | 131 | cd openwrt/bin/targets/*/* 132 | rm -rf packages 133 | echo "FIRMWARE=$PWD" >> $GITHUB_ENV 134 | echo "::set-output name=status::success" 135 | 136 | - name: Upload firmware directory 137 | uses: actions/upload-artifact@main 138 | if: steps.organize.outputs.status == 'success' && !cancelled() 139 | with: 140 | name: OpenWrt_firmware${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 141 | path: ${{ env.FIRMWARE }} 142 | 143 | - name: Upload firmware to cowtransfer 144 | id: cowtransfer 145 | if: steps.organize.outputs.status == 'success' && env.UPLOAD_COWTRANSFER == 'true' && !cancelled() 146 | run: | 147 | curl -fsSL git.io/file-transfer | sh 148 | ./transfer cow --block 2621440 -s -p 64 --no-progress ${FIRMWARE} 2>&1 | tee cowtransfer.log 149 | echo "::warning file=cowtransfer.com::$(cat cowtransfer.log | grep https)" 150 | echo "::set-output name=url::$(cat cowtransfer.log | grep https | cut -f3 -d" ")" 151 | 152 | - name: Upload firmware to WeTransfer 153 | id: wetransfer 154 | if: steps.organize.outputs.status == 'success' && env.UPLOAD_WETRANSFER == 'true' && !cancelled() 155 | run: | 156 | curl -fsSL git.io/file-transfer | sh 157 | ./transfer wet -s -p 16 --no-progress ${FIRMWARE} 2>&1 | tee wetransfer.log 158 | echo "::warning file=wetransfer.com::$(cat wetransfer.log | grep https)" 159 | echo "::set-output name=url::$(cat wetransfer.log | grep https | cut -f3 -d" ")" 160 | 161 | - name: Generate release tag 162 | id: tag 163 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 164 | run: | 165 | echo "::set-output name=release_tag::$(date +"%Y.%m.%d-%H%M")" 166 | touch release.txt 167 | [ $UPLOAD_COWTRANSFER = true ] && echo "🔗 [Cowtransfer](${{ steps.cowtransfer.outputs.url }})" >> release.txt 168 | [ $UPLOAD_WETRANSFER = true ] && echo "🔗 [WeTransfer](${{ steps.wetransfer.outputs.url }})" >> release.txt 169 | echo "::set-output name=status::success" 170 | 171 | - name: Upload firmware to release 172 | uses: softprops/action-gh-release@v1 173 | if: steps.tag.outputs.status == 'success' && !cancelled() 174 | env: 175 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 176 | with: 177 | tag_name: ${{ steps.tag.outputs.release_tag }} 178 | body_path: release.txt 179 | files: ${{ env.FIRMWARE }}/* 180 | 181 | - name: Delete workflow runs 182 | uses: GitRML/delete-workflow-runs@main 183 | with: 184 | retain_days: 1 185 | keep_minimum_runs: 3 186 | 187 | - name: Remove old Releases 188 | uses: dev-drprasad/delete-older-releases@v0.1.0 189 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 190 | with: 191 | keep_latest: 3 192 | delete_tags: true 193 | env: 194 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 195 | -------------------------------------------------------------------------------- /.github/workflows/update-checker.yml: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2019-2024 P3TERX 3 | # 4 | # This is free software, licensed under the MIT License. 5 | # See /LICENSE for more information. 6 | # 7 | # https://github.com/P3TERX/Actions-OpenWrt 8 | # File: .github/workflows/update-checker.yml 9 | # Description: Source code update checker 10 | # 11 | 12 | name: Update Checker 13 | 14 | env: 15 | REPO_URL: https://github.com/coolsnowwolf/lede 16 | REPO_BRANCH: master 17 | 18 | on: 19 | workflow_dispatch: 20 | # schedule: 21 | # - cron: 0 */18 * * * 22 | 23 | jobs: 24 | check: 25 | runs-on: ubuntu-latest 26 | 27 | steps: 28 | 29 | - name: Get Commit Hash 30 | id: getHash 31 | run: | 32 | git clone --depth 1 $REPO_URL -b $REPO_BRANCH . 33 | echo "commitHash=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT 34 | 35 | - name: Compare Commit Hash 36 | id: cacheHash 37 | uses: actions/cache@v3 38 | with: 39 | path: .commitHash 40 | key: commitHash_${{ steps.getHash.outputs.commitHash }} 41 | 42 | - name: Save New Commit Hash 43 | if: steps.cacheHash.outputs.cache-hit != 'true' 44 | run: | 45 | echo ${{ steps.getHash.outputs.commitHash }} | tee .commitHash 46 | 47 | - name: Trigger build 48 | if: steps.cacheHash.outputs.cache-hit != 'true' 49 | uses: peter-evans/repository-dispatch@v2 50 | with: 51 | token: ${{ github.token }} 52 | event-type: Source Code Update 53 | 54 | - name: Delete workflow runs 55 | uses: Mattraks/delete-workflow-runs@v2 56 | with: 57 | retain_days: 0 58 | keep_minimum_runs: 2 59 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019-2020 P3TERX 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /Lean_LEDE_B70-BAK.config: -------------------------------------------------------------------------------- 1 | CONFIG_TARGET_ramips=y 2 | CONFIG_TARGET_ramips_mt7621=y 3 | CONFIG_TARGET_ramips_mt7621_DEVICE_hiwifi_hc5962=y 4 | CONFIG_ARIA2_BITTORRENT=y 5 | CONFIG_ARIA2_NOXML=y 6 | CONFIG_ARIA2_OPENSSL=y 7 | CONFIG_ARIA2_WEBSOCKET=y 8 | CONFIG_LIBCURL_COOKIES=y 9 | CONFIG_LIBCURL_FILE=y 10 | CONFIG_LIBCURL_FTP=y 11 | CONFIG_LIBCURL_HTTP=y 12 | CONFIG_LIBCURL_NO_SMB="!" 13 | CONFIG_LIBCURL_OPENSSL=y 14 | CONFIG_LIBCURL_PROXY=y 15 | CONFIG_PACKAGE_6in4=y 16 | CONFIG_PACKAGE_SAMBA_MAX_DEBUG_LEVEL=-1 17 | CONFIG_PACKAGE_adbyby=y 18 | CONFIG_PACKAGE_aliyundrive-webdav=y 19 | CONFIG_PACKAGE_antfs-mount=y 20 | CONFIG_PACKAGE_aria2=y 21 | CONFIG_PACKAGE_ariang=y 22 | CONFIG_PACKAGE_automount=y 23 | CONFIG_PACKAGE_autosamba=y 24 | CONFIG_PACKAGE_cfdisk=y 25 | CONFIG_PACKAGE_curl=y 26 | CONFIG_PACKAGE_fdisk=y 27 | CONFIG_PACKAGE_frpc=y 28 | CONFIG_PACKAGE_hd-idle=y 29 | CONFIG_PACKAGE_ip6tables=y 30 | CONFIG_PACKAGE_iptables-mod-conntrack-extra=y 31 | CONFIG_PACKAGE_iptables-mod-ipopt=y 32 | CONFIG_PACKAGE_iputils-arping=y 33 | CONFIG_PACKAGE_ipv6helper=y 34 | CONFIG_PACKAGE_jq=y 35 | CONFIG_PACKAGE_kmod-crypto-crc32c=y 36 | CONFIG_PACKAGE_kmod-fs-antfs=y 37 | CONFIG_PACKAGE_kmod-fs-exfat=y 38 | CONFIG_PACKAGE_kmod-fs-ext4=y 39 | CONFIG_PACKAGE_kmod-fs-vfat=y 40 | CONFIG_PACKAGE_kmod-ifb=y 41 | CONFIG_PACKAGE_kmod-ipt-conntrack-extra=y 42 | CONFIG_PACKAGE_kmod-ipt-ipopt=y 43 | CONFIG_PACKAGE_kmod-ipt-nat6=y 44 | CONFIG_PACKAGE_kmod-iptunnel=y 45 | CONFIG_PACKAGE_kmod-iptunnel4=y 46 | CONFIG_PACKAGE_kmod-lib-crc16=y 47 | CONFIG_PACKAGE_kmod-nf-nat6=y 48 | CONFIG_PACKAGE_kmod-nls-cp437=y 49 | CONFIG_PACKAGE_kmod-nls-iso8859-1=y 50 | CONFIG_PACKAGE_kmod-nls-utf8=y 51 | CONFIG_PACKAGE_kmod-sched-cake=y 52 | CONFIG_PACKAGE_kmod-sched-core=y 53 | CONFIG_PACKAGE_kmod-scsi-core=y 54 | CONFIG_PACKAGE_kmod-sit=y 55 | CONFIG_PACKAGE_kmod-usb-printer=y 56 | CONFIG_PACKAGE_kmod-usb-storage=y 57 | CONFIG_PACKAGE_kmod-usb-storage-extras=y 58 | CONFIG_PACKAGE_libblkid=y 59 | CONFIG_PACKAGE_libcap=y 60 | CONFIG_PACKAGE_libcurl=y 61 | CONFIG_PACKAGE_libfdisk=y 62 | CONFIG_PACKAGE_libmount=y 63 | CONFIG_PACKAGE_libncurses=y 64 | CONFIG_PACKAGE_libsmartcols=y 65 | CONFIG_PACKAGE_libstdcpp=y 66 | CONFIG_PACKAGE_libuv=y 67 | CONFIG_PACKAGE_libwebsockets-full=y 68 | CONFIG_PACKAGE_luci-app-adbyby-plus=y 69 | CONFIG_PACKAGE_luci-app-aliyundrive-webdav=y 70 | CONFIG_PACKAGE_luci-app-aria2=y 71 | CONFIG_PACKAGE_luci-app-frpc=y 72 | CONFIG_PACKAGE_luci-app-guest-wifi=y 73 | CONFIG_PACKAGE_luci-app-hd-idle=y 74 | CONFIG_PACKAGE_luci-app-mwan3=y 75 | CONFIG_PACKAGE_luci-app-pushbot=y 76 | CONFIG_PACKAGE_luci-app-samba=y 77 | CONFIG_PACKAGE_luci-app-sqm=y 78 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Xray=y 79 | CONFIG_PACKAGE_luci-app-syncdial=y 80 | CONFIG_PACKAGE_luci-app-ttyd=y 81 | CONFIG_PACKAGE_luci-app-usb-printer=y 82 | CONFIG_PACKAGE_luci-i18n-adbyby-plus-zh-cn=y 83 | CONFIG_PACKAGE_luci-i18n-aliyundrive-webdav-zh-cn=y 84 | CONFIG_PACKAGE_luci-i18n-aria2-zh-cn=y 85 | CONFIG_PACKAGE_luci-i18n-frpc-zh-cn=y 86 | CONFIG_PACKAGE_luci-i18n-guest-wifi-zh-cn=y 87 | CONFIG_PACKAGE_luci-i18n-hd-idle-zh-cn=y 88 | CONFIG_PACKAGE_luci-i18n-mwan3-zh-cn=y 89 | CONFIG_PACKAGE_luci-i18n-samba-zh-cn=y 90 | CONFIG_PACKAGE_luci-i18n-sqm-zh-cn=y 91 | CONFIG_PACKAGE_luci-i18n-ttyd-zh-cn=y 92 | CONFIG_PACKAGE_luci-i18n-usb-printer-zh-cn=y 93 | CONFIG_PACKAGE_luci-proto-ipv6=y 94 | CONFIG_PACKAGE_luci-theme-edge=y 95 | CONFIG_PACKAGE_luci-theme-infinityfreedom=y 96 | CONFIG_PACKAGE_mwan3=y 97 | CONFIG_PACKAGE_nano=y 98 | CONFIG_PACKAGE_odhcp6c=y 99 | CONFIG_PACKAGE_odhcp6c_ext_cer_id=0 100 | CONFIG_PACKAGE_odhcpd-ipv6only=y 101 | CONFIG_PACKAGE_odhcpd_ipv6only_ext_cer_id=0 102 | CONFIG_PACKAGE_p910nd=y 103 | CONFIG_PACKAGE_samba36-server=y 104 | CONFIG_PACKAGE_sqm-scripts=y 105 | CONFIG_PACKAGE_tc-mod-iptables=y 106 | CONFIG_PACKAGE_tc-tiny=y 107 | CONFIG_PACKAGE_terminfo=y 108 | CONFIG_PACKAGE_ttyd=y 109 | CONFIG_PACKAGE_wsdd2=y 110 | CONFIG_PACKAGE_xray-core=y 111 | -------------------------------------------------------------------------------- /Lean_LEDE_B70.config: -------------------------------------------------------------------------------- 1 | CONFIG_TARGET_ramips=y 2 | CONFIG_TARGET_ramips_mt7621=y 3 | CONFIG_TARGET_ramips_mt7621_DEVICE_hiwifi_hc5962=y 4 | CONFIG_NODEJS_12=y 5 | CONFIG_NODEJS_ICU_NONE=y 6 | CONFIG_PACKAGE_6in4=y 7 | CONFIG_PACKAGE_SAMBA_MAX_DEBUG_LEVEL=-1 8 | CONFIG_PACKAGE_UnblockNeteaseMusic=y 9 | CONFIG_PACKAGE_UnblockNeteaseMusic-Go=y 10 | CONFIG_PACKAGE_aliyundrive-webdav=y 11 | CONFIG_PACKAGE_automount=y 12 | CONFIG_PACKAGE_autosamba=y 13 | CONFIG_PACKAGE_boost=y 14 | CONFIG_PACKAGE_boost-date_time=y 15 | CONFIG_PACKAGE_boost-program_options=y 16 | CONFIG_PACKAGE_boost-system=y 17 | CONFIG_PACKAGE_cfdisk=y 18 | CONFIG_PACKAGE_fdisk=y 19 | CONFIG_PACKAGE_frpc=y 20 | CONFIG_PACKAGE_hd-idle=y 21 | CONFIG_PACKAGE_ip6tables=y 22 | CONFIG_PACKAGE_ipt2socks=y 23 | CONFIG_PACKAGE_iptables-mod-conntrack-extra=y 24 | CONFIG_PACKAGE_iptables-mod-ipopt=y 25 | CONFIG_PACKAGE_iputils-arping=y 26 | CONFIG_PACKAGE_ipv6helper=y 27 | CONFIG_PACKAGE_jq=y 28 | CONFIG_PACKAGE_kcptun-client=y 29 | CONFIG_PACKAGE_kcptun-config=y 30 | CONFIG_PACKAGE_kmod-crypto-crc32c=y 31 | CONFIG_PACKAGE_kmod-fs-exfat=y 32 | CONFIG_PACKAGE_kmod-fs-ext4=y 33 | CONFIG_PACKAGE_kmod-fs-ntfs3-oot=y 34 | CONFIG_PACKAGE_kmod-fs-vfat=y 35 | CONFIG_PACKAGE_kmod-ipt-conntrack-extra=y 36 | CONFIG_PACKAGE_kmod-ipt-ipopt=y 37 | CONFIG_PACKAGE_kmod-ipt-nat6=y 38 | CONFIG_PACKAGE_kmod-iptunnel=y 39 | CONFIG_PACKAGE_kmod-iptunnel4=y 40 | CONFIG_PACKAGE_kmod-lib-crc16=y 41 | CONFIG_PACKAGE_kmod-nf-nat6=y 42 | CONFIG_PACKAGE_kmod-nls-cp437=y 43 | CONFIG_PACKAGE_kmod-nls-iso8859-1=y 44 | CONFIG_PACKAGE_kmod-nls-utf8=y 45 | CONFIG_PACKAGE_kmod-scsi-core=y 46 | CONFIG_PACKAGE_kmod-sit=y 47 | CONFIG_PACKAGE_kmod-usb-storage=y 48 | CONFIG_PACKAGE_kmod-usb-storage-extras=y 49 | CONFIG_PACKAGE_libatomic=y 50 | CONFIG_PACKAGE_libblkid=y 51 | CONFIG_PACKAGE_libevent2=y 52 | CONFIG_PACKAGE_libfdisk=y 53 | CONFIG_PACKAGE_libmount=y 54 | CONFIG_PACKAGE_libnghttp2=y 55 | CONFIG_PACKAGE_libsmartcols=y 56 | CONFIG_PACKAGE_libstdcpp=y 57 | CONFIG_PACKAGE_libuv=y 58 | CONFIG_PACKAGE_libwebsockets-full=y 59 | CONFIG_PACKAGE_luci-app-aliyundrive-webdav=y 60 | CONFIG_PACKAGE_luci-app-argon-config=y 61 | CONFIG_PACKAGE_luci-app-frpc=y 62 | CONFIG_PACKAGE_luci-app-guest-wifi=y 63 | CONFIG_PACKAGE_luci-app-hd-idle=y 64 | CONFIG_PACKAGE_luci-app-mwan3=y 65 | CONFIG_PACKAGE_luci-app-openclash=y 66 | CONFIG_PACKAGE_luci-app-pushbot=y 67 | CONFIG_PACKAGE_luci-app-samba=y 68 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_IPT2Socks=y 69 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Kcptun=y 70 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_NaiveProxy=y 71 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Redsocks2=y 72 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Trojan=y 73 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Xray=y 74 | CONFIG_PACKAGE_luci-app-syncdial=y 75 | CONFIG_PACKAGE_luci-app-ttyd=y 76 | CONFIG_PACKAGE_luci-app-unblockmusic_INCLUDE_UnblockNeteaseMusic_Go=y 77 | CONFIG_PACKAGE_luci-app-unblockmusic_INCLUDE_UnblockNeteaseMusic_NodeJS=y 78 | CONFIG_PACKAGE_luci-compat=y 79 | CONFIG_PACKAGE_luci-i18n-aliyundrive-webdav-zh-cn=y 80 | CONFIG_PACKAGE_luci-i18n-argon-config-zh-cn=y 81 | CONFIG_PACKAGE_luci-i18n-frpc-zh-cn=y 82 | CONFIG_PACKAGE_luci-i18n-guest-wifi-zh-cn=y 83 | CONFIG_PACKAGE_luci-i18n-hd-idle-zh-cn=y 84 | CONFIG_PACKAGE_luci-i18n-mwan3-zh-cn=y 85 | CONFIG_PACKAGE_luci-i18n-samba-zh-cn=y 86 | CONFIG_PACKAGE_luci-i18n-ttyd-zh-cn=y 87 | CONFIG_PACKAGE_luci-proto-ipv6=y 88 | CONFIG_PACKAGE_luci-theme-edge=y 89 | CONFIG_PACKAGE_luci-theme-infinityfreedom=y 90 | CONFIG_PACKAGE_luci-theme-neobird=y 91 | CONFIG_PACKAGE_mwan3=y 92 | CONFIG_PACKAGE_naiveproxy=y 93 | CONFIG_PACKAGE_nano=y 94 | CONFIG_PACKAGE_node=y 95 | CONFIG_PACKAGE_ntfs3-mount=y 96 | CONFIG_PACKAGE_odhcp6c=y 97 | CONFIG_PACKAGE_odhcp6c_ext_cer_id=0 98 | CONFIG_PACKAGE_odhcpd-ipv6only=y 99 | CONFIG_PACKAGE_odhcpd_ipv6only_ext_cer_id=0 100 | CONFIG_PACKAGE_redsocks2=y 101 | CONFIG_PACKAGE_samba36-server=y 102 | CONFIG_PACKAGE_trojan=y 103 | CONFIG_PACKAGE_ttyd=y 104 | CONFIG_PACKAGE_wsdd2=y 105 | CONFIG_PACKAGE_xray-core=y 106 | CONFIG_boost-compile-visibility-hidden=y 107 | CONFIG_boost-runtime-shared=y 108 | CONFIG_boost-static-and-shared-libs=y 109 | CONFIG_boost-variant-release=y -------------------------------------------------------------------------------- /Lean_LEDE_HC5962.config: -------------------------------------------------------------------------------- 1 | CONFIG_TARGET_ramips=y 2 | CONFIG_TARGET_ramips_mt7621=y 3 | CONFIG_TARGET_ramips_mt7621_DEVICE_hiwifi_hc5962=y 4 | CONFIG_PACKAGE_6in4=y 5 | CONFIG_PACKAGE_SAMBA_MAX_DEBUG_LEVEL=-1 6 | CONFIG_PACKAGE_automount=y 7 | CONFIG_PACKAGE_autosamba=y 8 | CONFIG_PACKAGE_cfdisk=y 9 | CONFIG_PACKAGE_fdisk=y 10 | CONFIG_PACKAGE_frpc=y 11 | CONFIG_PACKAGE_hd-idle=y 12 | CONFIG_PACKAGE_ip6tables=y 13 | CONFIG_PACKAGE_iptables-mod-ipopt=y 14 | CONFIG_PACKAGE_iputils-arping=y 15 | CONFIG_PACKAGE_ipv6helper=y 16 | CONFIG_PACKAGE_jq=y 17 | CONFIG_PACKAGE_kcptun-client=y 18 | CONFIG_PACKAGE_kcptun-config=y 19 | CONFIG_PACKAGE_kmod-crypto-crc32c=y 20 | CONFIG_PACKAGE_kmod-fs-exfat=y 21 | CONFIG_PACKAGE_kmod-fs-ext4=y 22 | CONFIG_PACKAGE_kmod-fs-ntfs3-oot=y 23 | CONFIG_PACKAGE_kmod-fs-vfat=y 24 | CONFIG_PACKAGE_kmod-ipt-ipopt=y 25 | CONFIG_PACKAGE_kmod-ipt-nat6=y 26 | CONFIG_PACKAGE_kmod-iptunnel=y 27 | CONFIG_PACKAGE_kmod-iptunnel4=y 28 | CONFIG_PACKAGE_kmod-lib-crc16=y 29 | CONFIG_PACKAGE_kmod-nf-nat6=y 30 | CONFIG_PACKAGE_kmod-nls-cp437=y 31 | CONFIG_PACKAGE_kmod-nls-iso8859-1=y 32 | CONFIG_PACKAGE_kmod-nls-utf8=y 33 | CONFIG_PACKAGE_kmod-scsi-core=y 34 | CONFIG_PACKAGE_kmod-sit=y 35 | CONFIG_PACKAGE_kmod-usb-storage=y 36 | CONFIG_PACKAGE_kmod-usb-storage-extras=y 37 | CONFIG_PACKAGE_libatomic=y 38 | CONFIG_PACKAGE_libblkid=y 39 | CONFIG_PACKAGE_libevent2=y 40 | CONFIG_PACKAGE_libfdisk=y 41 | CONFIG_PACKAGE_libmount=y 42 | CONFIG_PACKAGE_libsmartcols=y 43 | CONFIG_PACKAGE_libwebsockets-full=y 44 | CONFIG_PACKAGE_luci-app-argon-config=y 45 | CONFIG_PACKAGE_luci-app-frpc=y 46 | CONFIG_PACKAGE_luci-app-guest-wifi=y 47 | CONFIG_PACKAGE_luci-app-hd-idle=y 48 | CONFIG_PACKAGE_luci-app-mwan3=y 49 | CONFIG_PACKAGE_luci-app-pushbot=y 50 | CONFIG_PACKAGE_luci-app-samba=y 51 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_IPT2Socks=y 52 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Kcptun=y 53 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_NaiveProxy=y 54 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Redsocks2=y 55 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Xray=y 56 | CONFIG_PACKAGE_luci-app-syncdial=y 57 | CONFIG_PACKAGE_luci-app-ttyd=y 58 | CONFIG_PACKAGE_luci-compat=y 59 | CONFIG_PACKAGE_luci-i18n-argon-config-zh-cn=y 60 | CONFIG_PACKAGE_luci-i18n-frpc-zh-cn=y 61 | CONFIG_PACKAGE_luci-i18n-guest-wifi-zh-cn=y 62 | CONFIG_PACKAGE_luci-i18n-hd-idle-zh-cn=y 63 | CONFIG_PACKAGE_luci-i18n-mwan3-zh-cn=y 64 | CONFIG_PACKAGE_luci-i18n-samba-zh-cn=y 65 | CONFIG_PACKAGE_luci-i18n-ttyd-zh-cn=y 66 | CONFIG_PACKAGE_luci-proto-ipv6=y 67 | CONFIG_PACKAGE_luci-theme-ifit=y 68 | CONFIG_PACKAGE_luci-theme-neobird=y 69 | CONFIG_PACKAGE_mwan3=y 70 | CONFIG_PACKAGE_naiveproxy=y 71 | CONFIG_PACKAGE_nano=y 72 | CONFIG_PACKAGE_ntfs3-mount=y 73 | CONFIG_PACKAGE_odhcp6c=y 74 | CONFIG_PACKAGE_odhcp6c_ext_cer_id=0 75 | CONFIG_PACKAGE_odhcpd-ipv6only=y 76 | CONFIG_PACKAGE_odhcpd_ipv6only_ext_cer_id=0 77 | CONFIG_PACKAGE_redsocks2=y 78 | CONFIG_PACKAGE_samba36-server=y 79 | CONFIG_PACKAGE_ttyd=y 80 | CONFIG_PACKAGE_wsdd2=y 81 | CONFIG_PACKAGE_xray-core=y 82 | -------------------------------------------------------------------------------- /Lean_LEDE_HC5962_PLUS.config: -------------------------------------------------------------------------------- 1 | CONFIG_TARGET_ramips=y 2 | CONFIG_TARGET_ramips_mt7621=y 3 | CONFIG_TARGET_ramips_mt7621_DEVICE_hiwifi_hc5962=y 4 | CONFIG_ARIA2_BITTORRENT=y 5 | CONFIG_ARIA2_NOXML=y 6 | CONFIG_ARIA2_OPENSSL=y 7 | CONFIG_ARIA2_WEBSOCKET=y 8 | CONFIG_NODEJS_12=y 9 | CONFIG_NODEJS_ICU_NONE=y 10 | CONFIG_PACKAGE_6in4=y 11 | CONFIG_PACKAGE_SAMBA_MAX_DEBUG_LEVEL=-1 12 | CONFIG_PACKAGE_UnblockNeteaseMusic=y 13 | CONFIG_PACKAGE_UnblockNeteaseMusic-Go=y 14 | CONFIG_PACKAGE_adbyby=y 15 | CONFIG_PACKAGE_aliyundrive-webdav=y 16 | CONFIG_PACKAGE_aria2=y 17 | CONFIG_PACKAGE_ariang=y 18 | CONFIG_PACKAGE_automount=y 19 | CONFIG_PACKAGE_autosamba=y 20 | CONFIG_PACKAGE_baidupcs-web=y 21 | CONFIG_PACKAGE_boost=y 22 | CONFIG_PACKAGE_boost-program_options=y 23 | CONFIG_PACKAGE_boost-system=y 24 | CONFIG_PACKAGE_cfdisk=y 25 | CONFIG_PACKAGE_chinadns-ng=y 26 | CONFIG_PACKAGE_dns2tcp=y 27 | CONFIG_PACKAGE_fdisk=y 28 | CONFIG_PACKAGE_frpc=y 29 | CONFIG_PACKAGE_hd-idle=y 30 | CONFIG_PACKAGE_ip6tables=y 31 | CONFIG_PACKAGE_iptables-mod-ipopt=y 32 | CONFIG_PACKAGE_iputils-arping=y 33 | CONFIG_PACKAGE_ipv6helper=y 34 | CONFIG_PACKAGE_jq=y 35 | CONFIG_PACKAGE_kcptun-client=y 36 | CONFIG_PACKAGE_kcptun-config=y 37 | CONFIG_PACKAGE_kmod-crypto-crc32c=y 38 | CONFIG_PACKAGE_kmod-fs-exfat=y 39 | CONFIG_PACKAGE_kmod-fs-ext4=y 40 | CONFIG_PACKAGE_kmod-fs-ntfs3-oot=y 41 | CONFIG_PACKAGE_kmod-fs-vfat=y 42 | CONFIG_PACKAGE_kmod-ifb=y 43 | CONFIG_PACKAGE_kmod-ipt-ipopt=y 44 | CONFIG_PACKAGE_kmod-ipt-nat6=y 45 | CONFIG_PACKAGE_kmod-iptunnel=y 46 | CONFIG_PACKAGE_kmod-iptunnel4=y 47 | CONFIG_PACKAGE_kmod-lib-crc16=y 48 | CONFIG_PACKAGE_kmod-nf-nat6=y 49 | CONFIG_PACKAGE_kmod-nls-cp437=y 50 | CONFIG_PACKAGE_kmod-nls-iso8859-1=y 51 | CONFIG_PACKAGE_kmod-nls-utf8=y 52 | CONFIG_PACKAGE_kmod-sched-cake=y 53 | CONFIG_PACKAGE_kmod-sched-core=y 54 | CONFIG_PACKAGE_kmod-scsi-core=y 55 | CONFIG_PACKAGE_kmod-sit=y 56 | CONFIG_PACKAGE_kmod-usb-printer=y 57 | CONFIG_PACKAGE_kmod-usb-storage=y 58 | CONFIG_PACKAGE_kmod-usb-storage-extras=y 59 | CONFIG_PACKAGE_libatomic=y 60 | CONFIG_PACKAGE_libblkid=y 61 | CONFIG_PACKAGE_libcares=y 62 | CONFIG_PACKAGE_libevent2=y 63 | CONFIG_PACKAGE_libfdisk=y 64 | CONFIG_PACKAGE_libmaxminddb=y 65 | CONFIG_PACKAGE_libmbedtls=y 66 | CONFIG_PACKAGE_libminiupnpc=y 67 | CONFIG_PACKAGE_libmount=y 68 | CONFIG_PACKAGE_libnatpmp=y 69 | CONFIG_PACKAGE_libnghttp2=y 70 | CONFIG_PACKAGE_libsmartcols=y 71 | CONFIG_PACKAGE_libstdcpp=y 72 | CONFIG_PACKAGE_libwebsockets-full=y 73 | CONFIG_PACKAGE_lua-maxminddb=y 74 | CONFIG_PACKAGE_luci-app-adbyby-plus=y 75 | CONFIG_PACKAGE_luci-app-aliyundrive-webdav=y 76 | CONFIG_PACKAGE_luci-app-argon-config=y 77 | CONFIG_PACKAGE_luci-app-aria2=y 78 | CONFIG_PACKAGE_luci-app-baidupcs-web=y 79 | CONFIG_PACKAGE_luci-app-bypass=y 80 | CONFIG_PACKAGE_luci-app-eqos=y 81 | CONFIG_PACKAGE_luci-app-frpc=y 82 | CONFIG_PACKAGE_luci-app-guest-wifi=y 83 | CONFIG_PACKAGE_luci-app-hd-idle=y 84 | CONFIG_PACKAGE_luci-app-mwan3=y 85 | CONFIG_PACKAGE_luci-app-openclash=y 86 | CONFIG_PACKAGE_luci-app-passwall=y 87 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Xray=y 88 | CONFIG_PACKAGE_luci-app-pushbot=y 89 | CONFIG_PACKAGE_luci-app-samba=y 90 | CONFIG_PACKAGE_luci-app-sqm=y 91 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_IPT2Socks=y 92 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Kcptun=y 93 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_NaiveProxy=y 94 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Redsocks2=y 95 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Xray=y 96 | CONFIG_PACKAGE_luci-app-syncdial=y 97 | CONFIG_PACKAGE_luci-app-ttyd=y 98 | CONFIG_PACKAGE_luci-app-unblockmusic_INCLUDE_UnblockNeteaseMusic_Go=y 99 | CONFIG_PACKAGE_luci-app-unblockmusic_INCLUDE_UnblockNeteaseMusic_NodeJS=y 100 | CONFIG_PACKAGE_luci-app-usb-printer=y 101 | CONFIG_PACKAGE_luci-app-uugamebooster=y 102 | CONFIG_PACKAGE_luci-app-verysync=y 103 | CONFIG_PACKAGE_luci-app-zerotier=y 104 | CONFIG_PACKAGE_luci-compat=y 105 | CONFIG_PACKAGE_luci-i18n-adbyby-plus-zh-cn=y 106 | CONFIG_PACKAGE_luci-i18n-aliyundrive-webdav-zh-cn=y 107 | CONFIG_PACKAGE_luci-i18n-argon-config-zh-cn=y 108 | CONFIG_PACKAGE_luci-i18n-aria2-zh-cn=y 109 | CONFIG_PACKAGE_luci-i18n-bypass-zh-cn=y 110 | CONFIG_PACKAGE_luci-i18n-eqos-zh-cn=y 111 | CONFIG_PACKAGE_luci-i18n-frpc-zh-cn=y 112 | CONFIG_PACKAGE_luci-i18n-guest-wifi-zh-cn=y 113 | CONFIG_PACKAGE_luci-i18n-hd-idle-zh-cn=y 114 | CONFIG_PACKAGE_luci-i18n-mwan3-zh-cn=y 115 | CONFIG_PACKAGE_luci-i18n-passwall-zh-cn=y 116 | CONFIG_PACKAGE_luci-i18n-samba-zh-cn=y 117 | CONFIG_PACKAGE_luci-i18n-sqm-zh-cn=y 118 | CONFIG_PACKAGE_luci-i18n-ttyd-zh-cn=y 119 | CONFIG_PACKAGE_luci-i18n-usb-printer-zh-cn=y 120 | CONFIG_PACKAGE_luci-i18n-uugamebooster-zh-cn=y 121 | CONFIG_PACKAGE_luci-i18n-verysync-zh-cn=y 122 | CONFIG_PACKAGE_luci-i18n-zerotier-zh-cn=y 123 | CONFIG_PACKAGE_luci-proto-ipv6=y 124 | CONFIG_PACKAGE_luci-theme-ifit=y 125 | CONFIG_PACKAGE_luci-theme-neobird=y 126 | CONFIG_PACKAGE_mwan3=y 127 | CONFIG_PACKAGE_naiveproxy=y 128 | CONFIG_PACKAGE_nano=y 129 | CONFIG_PACKAGE_node=y 130 | CONFIG_PACKAGE_ntfs3-mount=y 131 | CONFIG_PACKAGE_odhcp6c=y 132 | CONFIG_PACKAGE_odhcp6c_ext_cer_id=0 133 | CONFIG_PACKAGE_odhcpd-ipv6only=y 134 | CONFIG_PACKAGE_odhcpd_ipv6only_ext_cer_id=0 135 | CONFIG_PACKAGE_p910nd=y 136 | CONFIG_PACKAGE_redsocks2=y 137 | CONFIG_PACKAGE_samba36-server=y 138 | CONFIG_PACKAGE_shadowsocks-libev-ss-local=y 139 | CONFIG_PACKAGE_shadowsocks-libev-ss-redir=y 140 | CONFIG_PACKAGE_shadowsocks-libev-ss-server=y 141 | CONFIG_PACKAGE_shadowsocksr-libev-ssr-server=y 142 | CONFIG_PACKAGE_simple-obfs-client=y 143 | CONFIG_PACKAGE_smartdns=y 144 | CONFIG_PACKAGE_sqm-scripts=y 145 | CONFIG_PACKAGE_tc-mod-iptables=y 146 | CONFIG_PACKAGE_tc-tiny=y 147 | CONFIG_PACKAGE_trojan-go=y 148 | CONFIG_PACKAGE_trojan-plus=y 149 | CONFIG_PACKAGE_ttyd=y 150 | CONFIG_PACKAGE_unzip=y 151 | CONFIG_PACKAGE_uugamebooster=y 152 | CONFIG_PACKAGE_verysync=y 153 | CONFIG_PACKAGE_wsdd2=y 154 | CONFIG_PACKAGE_xray-core=y 155 | CONFIG_PACKAGE_zerotier=y 156 | CONFIG_boost-compile-visibility-hidden=y 157 | CONFIG_boost-runtime-shared=y 158 | CONFIG_boost-static-and-shared-libs=y 159 | CONFIG_boost-variant-release=y 160 | -------------------------------------------------------------------------------- /Lean_LEDE_K2P.config: -------------------------------------------------------------------------------- 1 | CONFIG_TARGET_ramips=y 2 | CONFIG_TARGET_ramips_mt7621=y 3 | CONFIG_TARGET_ramips_mt7621_DEVICE_phicomm_k2p=y 4 | CONFIG_PACKAGE_6in4=y 5 | CONFIG_PACKAGE_frpc=y 6 | CONFIG_PACKAGE_ip6tables=y 7 | CONFIG_PACKAGE_iptables-mod-conntrack-extra=y 8 | CONFIG_PACKAGE_iptables-mod-ipopt=y 9 | CONFIG_PACKAGE_ipv6helper=y 10 | CONFIG_PACKAGE_kmod-ifb=m 11 | CONFIG_PACKAGE_kmod-ipt-conntrack-extra=y 12 | CONFIG_PACKAGE_kmod-ipt-ipopt=y 13 | CONFIG_PACKAGE_kmod-ipt-nat6=y 14 | CONFIG_PACKAGE_kmod-iptunnel=y 15 | CONFIG_PACKAGE_kmod-iptunnel4=y 16 | CONFIG_PACKAGE_kmod-nf-nat6=y 17 | CONFIG_PACKAGE_kmod-sched-cake=m 18 | CONFIG_PACKAGE_kmod-sched-core=m 19 | CONFIG_PACKAGE_kmod-sit=y 20 | CONFIG_PACKAGE_kmod-tun=m 21 | CONFIG_PACKAGE_libcap=m 22 | CONFIG_PACKAGE_libminiupnpc=m 23 | CONFIG_PACKAGE_libnatpmp=m 24 | CONFIG_PACKAGE_libncurses=m 25 | CONFIG_PACKAGE_libstdcpp=m 26 | CONFIG_PACKAGE_libuv=m 27 | CONFIG_PACKAGE_libwebsockets-full=m 28 | CONFIG_PACKAGE_luci-app-frpc=y 29 | CONFIG_PACKAGE_luci-app-guest-wifi=m 30 | CONFIG_PACKAGE_luci-app-mwan3=y 31 | CONFIG_PACKAGE_luci-app-sqm=m 32 | CONFIG_PACKAGE_luci-app-syncdial=y 33 | CONFIG_PACKAGE_luci-app-ttyd=m 34 | CONFIG_PACKAGE_luci-app-zerotier=m 35 | CONFIG_PACKAGE_luci-i18n-frpc-zh-cn=y 36 | CONFIG_PACKAGE_luci-i18n-guest-wifi-zh-cn=m 37 | CONFIG_PACKAGE_luci-i18n-mwan3-zh-cn=y 38 | CONFIG_PACKAGE_luci-i18n-ttyd-zh-cn=m 39 | CONFIG_PACKAGE_luci-i18n-zerotier-zh-cn=m 40 | CONFIG_PACKAGE_luci-proto-ipv6=y 41 | CONFIG_PACKAGE_luci-theme-argon=m 42 | CONFIG_PACKAGE_luci-theme-material=m 43 | CONFIG_PACKAGE_luci-theme-netgear=m 44 | CONFIG_PACKAGE_mwan3=y 45 | CONFIG_PACKAGE_nano=m 46 | CONFIG_PACKAGE_odhcp6c=y 47 | CONFIG_PACKAGE_odhcp6c_ext_cer_id=0 48 | CONFIG_PACKAGE_odhcpd-ipv6only=y 49 | CONFIG_PACKAGE_odhcpd_ipv6only_ext_cer_id=0 50 | CONFIG_PACKAGE_sqm-scripts=m 51 | CONFIG_PACKAGE_tc=m 52 | CONFIG_PACKAGE_terminfo=m 53 | CONFIG_PACKAGE_ttyd=m 54 | CONFIG_PACKAGE_zerotier=m 55 | -------------------------------------------------------------------------------- /Lean_LEDE_K2T.config: -------------------------------------------------------------------------------- 1 | CONFIG_TARGET_ath79=y 2 | CONFIG_TARGET_ath79_generic=y 3 | CONFIG_TARGET_ath79_generic_DEVICE_phicomm_k2t=y 4 | CONFIG_PACKAGE_6in4=y 5 | CONFIG_PACKAGE_boost=y 6 | CONFIG_PACKAGE_boost-date_time=y 7 | CONFIG_PACKAGE_boost-program_options=y 8 | CONFIG_PACKAGE_boost-system=y 9 | CONFIG_PACKAGE_frpc=y 10 | CONFIG_PACKAGE_ip6tables=y 11 | CONFIG_PACKAGE_ipt2socks=y 12 | CONFIG_PACKAGE_iptables-mod-conntrack-extra=y 13 | CONFIG_PACKAGE_iptables-mod-ipopt=y 14 | CONFIG_PACKAGE_ipv6helper=y 15 | CONFIG_PACKAGE_kmod-ifb=y 16 | CONFIG_PACKAGE_kmod-ipt-conntrack-extra=y 17 | CONFIG_PACKAGE_kmod-ipt-ipopt=y 18 | CONFIG_PACKAGE_kmod-ipt-nat6=y 19 | CONFIG_PACKAGE_kmod-iptunnel=y 20 | CONFIG_PACKAGE_kmod-iptunnel4=y 21 | CONFIG_PACKAGE_kmod-nf-nat6=y 22 | CONFIG_PACKAGE_kmod-sched-cake=y 23 | CONFIG_PACKAGE_kmod-sched-core=y 24 | CONFIG_PACKAGE_kmod-sit=y 25 | CONFIG_PACKAGE_libstdcpp=y 26 | CONFIG_PACKAGE_luci-app-frpc=y 27 | CONFIG_PACKAGE_luci-app-guest-wifi=y 28 | CONFIG_PACKAGE_luci-app-mwan3=y 29 | CONFIG_PACKAGE_luci-app-sqm=y 30 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Trojan=y 31 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray=y 32 | CONFIG_PACKAGE_luci-app-syncdial=y 33 | CONFIG_PACKAGE_luci-i18n-guest-wifi-zh-cn=y 34 | CONFIG_PACKAGE_luci-i18n-mwan3-zh-cn=y 35 | CONFIG_PACKAGE_luci-proto-ipv6=y 36 | CONFIG_PACKAGE_mwan3=y 37 | CONFIG_PACKAGE_odhcp6c=y 38 | CONFIG_PACKAGE_odhcp6c_ext_cer_id=0 39 | CONFIG_PACKAGE_odhcpd-ipv6only=y 40 | CONFIG_PACKAGE_odhcpd_ipv6only_ext_cer_id=0 41 | CONFIG_PACKAGE_sqm-scripts=y 42 | CONFIG_PACKAGE_tc=y 43 | CONFIG_PACKAGE_trojan=y 44 | CONFIG_PACKAGE_v2ray=y 45 | CONFIG_V2RAY_COMPRESS_UPX=y 46 | CONFIG_V2RAY_DISABLE_NONE=y 47 | CONFIG_V2RAY_EXCLUDE_ASSETS=y 48 | CONFIG_V2RAY_EXCLUDE_V2CTL=y 49 | CONFIG_V2RAY_JSON_INTERNAL=y 50 | CONFIG_boost-compile-visibility-hidden=y 51 | CONFIG_boost-runtime-shared=y 52 | CONFIG_boost-static-and-shared-libs=y 53 | CONFIG_boost-variant-release=y 54 | -------------------------------------------------------------------------------- /Lean_LEDE_Redmi_AC2100.config: -------------------------------------------------------------------------------- 1 | CONFIG_TARGET_ramips=y 2 | CONFIG_TARGET_ramips_mt7621=y 3 | CONFIG_TARGET_ramips_mt7621_DEVICE_xiaomi_redmi-router-ac2100=y 4 | CONFIG_PACKAGE_6in4=y 5 | CONFIG_PACKAGE_boost=y 6 | CONFIG_PACKAGE_boost-date_time=y 7 | CONFIG_PACKAGE_boost-program_options=y 8 | CONFIG_PACKAGE_boost-system=y 9 | CONFIG_PACKAGE_frpc=y 10 | CONFIG_PACKAGE_ip6tables=y 11 | CONFIG_PACKAGE_ipt2socks=y 12 | CONFIG_PACKAGE_iptables-mod-conntrack-extra=y 13 | CONFIG_PACKAGE_iptables-mod-ipopt=y 14 | CONFIG_PACKAGE_ipv6helper=y 15 | CONFIG_PACKAGE_kcptun-client=y 16 | CONFIG_PACKAGE_kmod-ipt-conntrack-extra=y 17 | CONFIG_PACKAGE_kmod-ipt-ipopt=y 18 | CONFIG_PACKAGE_kmod-ipt-nat6=y 19 | CONFIG_PACKAGE_kmod-iptunnel=y 20 | CONFIG_PACKAGE_kmod-iptunnel4=y 21 | CONFIG_PACKAGE_kmod-nf-nat6=y 22 | CONFIG_PACKAGE_kmod-sit=y 23 | CONFIG_PACKAGE_libcap=y 24 | CONFIG_PACKAGE_libevent2=y 25 | CONFIG_PACKAGE_libncurses=y 26 | CONFIG_PACKAGE_libstdcpp=y 27 | CONFIG_PACKAGE_libuv=y 28 | CONFIG_PACKAGE_libwebsockets-full=y 29 | CONFIG_PACKAGE_luci-app-frpc=y 30 | CONFIG_PACKAGE_luci-app-guest-wifi=y 31 | CONFIG_PACKAGE_luci-app-mwan3=y 32 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Kcptun=y 33 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Redsocks2=y 34 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Server=y 35 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Trojan=y 36 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray=y 37 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray_plugin=y 38 | CONFIG_PACKAGE_luci-app-syncdial=y 39 | CONFIG_PACKAGE_luci-app-ttyd=y 40 | CONFIG_PACKAGE_luci-i18n-frpc-zh-cn=y 41 | CONFIG_PACKAGE_luci-i18n-guest-wifi-zh-cn=y 42 | CONFIG_PACKAGE_luci-i18n-mwan3-zh-cn=y 43 | CONFIG_PACKAGE_luci-i18n-ttyd-zh-cn=y 44 | CONFIG_PACKAGE_luci-proto-ipv6=y 45 | CONFIG_PACKAGE_mwan3=y 46 | CONFIG_PACKAGE_nano=y 47 | CONFIG_PACKAGE_odhcp6c=y 48 | CONFIG_PACKAGE_odhcp6c_ext_cer_id=0 49 | CONFIG_PACKAGE_odhcpd-ipv6only=y 50 | CONFIG_PACKAGE_odhcpd_ipv6only_ext_cer_id=0 51 | CONFIG_PACKAGE_redsocks2=y 52 | CONFIG_PACKAGE_shadowsocksr-libev-server=y 53 | CONFIG_PACKAGE_terminfo=y 54 | CONFIG_PACKAGE_trojan=y 55 | CONFIG_PACKAGE_ttyd=y 56 | CONFIG_PACKAGE_v2ray=y 57 | CONFIG_PACKAGE_v2ray-plugin=y 58 | CONFIG_V2RAY_COMPRESS_GOPROXY=y 59 | CONFIG_V2RAY_COMPRESS_UPX=y 60 | CONFIG_V2RAY_DISABLE_NONE=y 61 | CONFIG_V2RAY_EXCLUDE_ASSETS=y 62 | CONFIG_V2RAY_EXCLUDE_V2CTL=y 63 | CONFIG_V2RAY_JSON_INTERNAL=y 64 | CONFIG_boost-compile-visibility-hidden=y 65 | CONFIG_boost-runtime-shared=y 66 | CONFIG_boost-static-and-shared-libs=y 67 | CONFIG_boost-variant-release=y 68 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Auto-Build-OpenWrt 2 | 3 | [![LICENSE](https://img.shields.io/github/license/mashape/apistatus.svg?style=flat-square&label=LICENSE)](https://github.com/molun/Auto-Build-OpenWrt/blob/master/LICENSE) 4 | [![GitHub Stars](https://img.shields.io/github/stars/P3TERX/Actions-OpenWrt.svg?style=flat-square&label=Stars&logo=github)](https://github.com/P3TERX/Actions-OpenWrt/stargazers) 5 | [![GitHub Forks](https://img.shields.io/github/forks/P3TERX/Actions-OpenWrt.svg?style=flat-square&label=Forks&logo=github)](https://github.com/P3TERX/Actions-OpenWrt/fork) 6 | 7 | Build OpenWrt using GitHub Actions 8 | 9 | [Read the details in P3TERX blog (in Chinese) | 中文教程](https://p3terx.com/archives/build-openwrt-with-github-actions.html) 10 | 11 | ## Status 12 | 13 | ![Build Lean_LEDE_B70](https://github.com/molun/Auto-Build-OpenWrt/workflows/Build%20Lean_LEDE_B70/badge.svg) 14 | ![Build Lean_LEDE_K2P](https://github.com/molun/Auto-Build-OpenWrt/workflows/Build%20Lean_LEDE_K2P/badge.svg) 15 | ![Build Lean_LEDE_K2T](https://github.com/molun/Auto-Build-OpenWrt/workflows/Build%20Lean_LEDE_K2T/badge.svg) 16 | ![Build Lean_LEDE_HC5962](https://github.com/molun/Auto-Build-OpenWrt/workflows/Build%20Lean_LEDE_HC5962/badge.svg) 17 | ![Build Lean_LEDE_Redmi_AC2100](https://github.com/molun/Auto-Build-OpenWrt/workflows/Build%20Lean_LEDE_Redmi_AC2100/badge.svg) 18 | 19 | 20 | ## Config 21 | ``` 22 | rm -f .config.old && make defconfig && ./scripts/diffconfig.sh > seed.config && cat seed.config 23 | ``` 24 | 25 | ## Usage 26 | 27 | - Click the [Use this template](https://github.com/molun/Auto-Build-OpenWrt/generate) button to create a new repository. 28 | - Generate `.config` files using [OpenWrt](https://github.com/openwrt/openwrt)/[Lean's OpenWrt](https://github.com/coolsnowwolf/lede)/[Lienol's OpenWrt](https://github.com/Lienol/openwrt) source code. ( You can change it through environment variables in the workflow file. ) 29 | - Push `.config` file to the GitHub repository, and the build starts automatically.Progress can be viewed on the Actions page. 30 | - When the build is complete, click the `Artifacts` button in the upper right corner of the Actions page to download the binaries. 31 | 32 | ## Acknowledgments 33 | 34 | - [Microsoft](https://www.microsoft.com) 35 | - [Microsoft Azure](https://azure.microsoft.com) 36 | - [GitHub](https://github.com) 37 | - [GitHub Actions](https://github.com/features/actions) 38 | - [tmate](https://github.com/tmate-io/tmate) 39 | - [mxschmitt/action-tmate](https://github.com/mxschmitt/action-tmate) 40 | - [csexton/debugger-action](https://github.com/csexton/debugger-action) 41 | - [Cisco](https://www.cisco.com/) 42 | - [OpenWrt](https://github.com/openwrt/openwrt) 43 | - [Lean's OpenWrt](https://github.com/coolsnowwolf/lede) 44 | - [Lienol's OpenWrt](https://github.com/Lienol/openwrt) 45 | - [P3TERX/Actions-OpenWrt](https://github.com/P3TERX/Actions-OpenWrt) 46 | - [Cowtransfer](https://cowtransfer.com) 47 | - [WeTransfer](https://wetransfer.com/) 48 | - [Mikubill/transfer](https://github.com/Mikubill/transfer) 49 | 50 | ## License 51 | 52 | [MIT](https://github.com/molun/Auto-Build-OpenWrt/blob/master/LICENSE) © MOLUN -------------------------------------------------------------------------------- /diy-part0.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (c) 2019-2020 P3TERX 4 | # 5 | # This is free software, licensed under the MIT License. 6 | # See /LICENSE for more information. 7 | # 8 | # https://github.com/P3TERX/Actions-OpenWrt 9 | # File name: diy-part1.sh 10 | # Description: OpenWrt DIY script part 1 (Before Update feeds) 11 | # 12 | 13 | # Uncomment a feed source 14 | #sed -i 's/^#\(.*helloworld\)/\1/' feeds.conf.default 15 | 16 | # Add a feed source 17 | echo 'src-git helloworld https://github.com/fw876/helloworld' >>feeds.conf.default 18 | #echo 'src-git passwall https://github.com/xiaorouji/openwrt-passwall' >>feeds.conf.default 19 | #echo 'src-git vssr https://github.com/jerrykuku/luci-app-vssr' >>feeds.conf.default 20 | #echo 'src-git bypass https://github.com/kiddin9/openwrt-bypass' >>feeds.conf.default 21 | #sed -i '$a src-git small8 https://github.com/kenzok8/small-package' feeds.conf.default 22 | #sed -i '$a src-git kiddin9 https://github.com/kiddin9/openwrt-packages' feeds.conf.default 23 | #sed -i '$a src-git kenzo https://github.com/kenzok8/openwrt-packages' feeds.conf.default 24 | #sed -i '$a src-git small https://github.com/kenzok8/small' feeds.conf.default 25 | #sed -i '$a src-git infinityfreedom https://github.com/xiaoqingfengATGH/luci-theme-infinityfreedom' feeds.conf.default 26 | 27 | # Define My Package 28 | git clone https://github.com/vernesong/OpenClash package/molun/luci-app-openclash 29 | git clone https://github.com/jerrykuku/luci-app-jd-dailybonus package/molun/luci-app-jd-dailybonus 30 | #git clone https://github.com/rufengsuixing/luci-app-adguardhome package/molun/luci-app-adguardhome 31 | #git clone https://github.com/sirpdboy/luci-theme-opentopd package/molun/luci-theme-opentopd 32 | #git clone https://github.com/zzsj0928/luci-app-pushbot package/molun/luci-app-pushbot 33 | git clone -b 18.06 https://github.com/kiddin9/luci-theme-edge package/molun/luci-theme-edge 34 | git clone -b 18.06 https://github.com/jerrykuku/luci-theme-argon package/molun/luci-theme-argon 35 | git clone https://github.com/jerrykuku/luci-app-argon-config package/molun/luci-app-argon-config 36 | git clone https://github.com/thinktip/luci-theme-neobird package/molun/luci-theme-neobird 37 | git clone https://github.com/xiaoqingfengATGH/luci-theme-infinityfreedom package/molun/luci-theme-infinityfreedom 38 | -------------------------------------------------------------------------------- /diy-part1.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (c) 2019-2024 P3TERX 4 | # 5 | # This is free software, licensed under the MIT License. 6 | # See /LICENSE for more information. 7 | # 8 | # https://github.com/P3TERX/Actions-OpenWrt 9 | # File name: diy-part1.sh 10 | # Description: OpenWrt DIY script part 1 (Before Update feeds) 11 | # 12 | 13 | # Uncomment a feed source 14 | #sed -i 's/^#\(.*helloworld\)/\1/' feeds.conf.default 15 | 16 | # Add a feed source 17 | echo 'src-git helloworld https://github.com/fw876/helloworld' >>feeds.conf.default 18 | #echo 'src-git passwall https://github.com/xiaorouji/openwrt-passwall' >>feeds.conf.default 19 | #sed -i '$a src-git lienol https://github.com/Lienol/openwrt-package' feeds.conf.default 20 | sed -i '$a src-git kenzo https://github.com/kenzok8/openwrt-packages' feeds.conf.default 21 | sed -i '$a src-git small https://github.com/kenzok8/small' feeds.conf.default 22 | #sed -i '$a src-git small8 https://github.com/kenzok8/small-package' feeds.conf.default 23 | 24 | # Define My Package 25 | #git clone https://github.com/vernesong/OpenClash package/molun/luci-app-openclash 26 | #git clone https://github.com/rufengsuixing/luci-app-adguardhome package/molun/luci-app-adguardhome 27 | #git clone https://github.com/jerrykuku/luci-app-jd-dailybonus package/molun/luci-app-jd-dailybonus 28 | #git clone https://github.com/sirpdboy/luci-theme-opentopd package/molun/luci-theme-opentopd 29 | #git clone https://github.com/xiaoqingfengATGH/luci-theme-infinityfreedom package/molun/luci-theme-infinityfreedom 30 | -------------------------------------------------------------------------------- /diy-part2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (c) 2019-2024 P3TERX 4 | # 5 | # This is free software, licensed under the MIT License. 6 | # See /LICENSE for more information. 7 | # 8 | # https://github.com/P3TERX/Actions-OpenWrt 9 | # File name: diy-part2.sh 10 | # Description: OpenWrt DIY script part 2 (After Update feeds) 11 | # 12 | 13 | # 修改默认IP 14 | sed -i 's/192.168.1.1/192.168.2.1/g' package/base-files/files/bin/config_generate 15 | 16 | # 删除默认密码 17 | #sed -i "/CYXluq4wUazHjmCDBCqXF/d" package/lean/default-settings/files/zzz-default-settings 18 | 19 | # 修改默认主题 20 | sed -i 's/luci-theme-bootstrap/luci-theme-argon/g' ./feeds/luci/collections/luci/Makefile 21 | 22 | # 取消bootstrap为默认主题 23 | #sed -i '/set luci.main.mediaurlbase=\/luci-static\/bootstrap/d' feeds/luci/themes/luci-theme-bootstrap/root/etc/uci-defaults/30_luci-theme-bootstrap 24 | 25 | # 修改主机名称 26 | #sed -i 's/OpenWrt/HIWIFI-HC5962/g' package/base-files/files/bin/config_generate 27 | 28 | # 修改版本号 29 | sed -i "s/OpenWrt /MOLUN build $(TZ=UTC-8 date "+%Y.%m.%d") @ OpenWrt /g" package/lean/default-settings/files/zzz-default-settings 30 | 31 | # 修改默认wifi名称ssid为tymishop 32 | #sed -i 's/ssid=OpenWrt/ssid=tymishop/g' package/kernel/mac80211/files/lib/wifi/mac80211.sh 33 | 34 | #开启MU-MIMO 35 | #sed -i 's/mu_beamformer=0/mu_beamformer=1/g' package/kernel/mac80211/files/lib/wifi/mac80211.sh 36 | 37 | #wifi加密方式,没有是none 38 | #sed -i 's/encryption=none/encryption=psk2/g' package/kernel/mac80211/files/lib/wifi/mac80211.sh 39 | 40 | #wifi密码 41 | #sed -i 's/key=15581822425/key=gds.2021/g' package/kernel/mac80211/files/lib/wifi/mac80211.sh 42 | 43 | # 删除软件包 44 | rm -rf package/lean/luci-theme-argon 45 | 46 | # Add kernel build user 47 | [ -z $(grep "CONFIG_KERNEL_BUILD_USER=" .config) ] && 48 | echo 'CONFIG_KERNEL_BUILD_USER="MOLUN"' >>.config || 49 | sed -i 's@\(CONFIG_KERNEL_BUILD_USER=\).*@\1$"MOLUN"@' .config 50 | 51 | # Add kernel build domain 52 | [ -z $(grep "CONFIG_KERNEL_BUILD_DOMAIN=" .config) ] && 53 | echo 'CONFIG_KERNEL_BUILD_DOMAIN="GitHub Actions"' >>.config || 54 | sed -i 's@\(CONFIG_KERNEL_BUILD_DOMAIN=\).*@\1$"GitHub Actions"@' .config 55 | -------------------------------------------------------------------------------- /diy-part3.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (c) 2019-2020 P3TERX 4 | # 5 | # This is free software, licensed under the MIT License. 6 | # See /LICENSE for more information. 7 | # 8 | # https://github.com/P3TERX/Actions-OpenWrt 9 | # File name: diy-part1.sh 10 | # Description: OpenWrt DIY script part 1 (Before Update feeds) 11 | # 12 | 13 | # Uncomment a feed source 14 | #sed -i 's/^#\(.*helloworld\)/\1/' feeds.conf.default 15 | 16 | # Add a feed source 17 | #echo 'src-git helloworld https://github.com/fw876/helloworld' >>feeds.conf.default 18 | sed -i '$a src-git small8 https://github.com/kenzok8/small-package' feeds.conf.default 19 | #sed -i '$a src-git kenzo https://github.com/kenzok8/openwrt-packages' feeds.conf.default 20 | #sed -i '$a src-git small https://github.com/kenzok8/small' feeds.conf.default 21 | 22 | 23 | # Define My Package 24 | #git clone https://github.com/vernesong/OpenClash package/molun/luci-app-openclash 25 | #git clone https://github.com/rufengsuixing/luci-app-adguardhome package/molun/luci-app-adguardhome 26 | #git clone https://github.com/jerrykuku/luci-app-jd-dailybonus package/molun/luci-app-jd-dailybonus 27 | #git clone https://github.com/sirpdboy/luci-theme-opentopd package/molun/luci-theme-opentopd 28 | git clone https://github.com/xiaoqingfengATGH/luci-theme-infinityfreedom package/molun/luci-theme-infinityfreedom 29 | #git clone -b 18.06 https://github.com/kiddin9/luci-theme-edge package/molun/luci-theme-edge -------------------------------------------------------------------------------- /使用说明/TELEGRAM_BOT_TOKEN.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/molun/Auto-Build-OpenWrt/b91a604da6daee3d792fd798b63fb31833ba440e/使用说明/TELEGRAM_BOT_TOKEN.png -------------------------------------------------------------------------------- /使用说明/TELEGRAM_CHAT_ID.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/molun/Auto-Build-OpenWrt/b91a604da6daee3d792fd798b63fb31833ba440e/使用说明/TELEGRAM_CHAT_ID.png -------------------------------------------------------------------------------- /使用说明/创建自己的Bot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/molun/Auto-Build-OpenWrt/b91a604da6daee3d792fd798b63fb31833ba440e/使用说明/创建自己的Bot.png -------------------------------------------------------------------------------- /使用说明/根据提示创建Bot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/molun/Auto-Build-OpenWrt/b91a604da6daee3d792fd798b63fb31833ba440e/使用说明/根据提示创建Bot.png -------------------------------------------------------------------------------- /使用说明/设置TELEGRAM密钥.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/molun/Auto-Build-OpenWrt/b91a604da6daee3d792fd798b63fb31833ba440e/使用说明/设置TELEGRAM密钥.png -------------------------------------------------------------------------------- /使用说明/通过get_id_bot获取ID.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/molun/Auto-Build-OpenWrt/b91a604da6daee3d792fd798b63fb31833ba440e/使用说明/通过get_id_bot获取ID.png -------------------------------------------------------------------------------- /插件说明/LuCI.txt: -------------------------------------------------------------------------------- 1 | CONFIG_PACKAGE_ttyd=y 2 | CONFIG_PACKAGE_luci-app-ttyd=y 3 | CONFIG_PACKAGE_luci-i18n-ttyd-zh-cn=y 4 | CONFIG_PACKAGE_nano=y 5 | 6 | CONFIG_PACKAGE_mwan3=y 7 | CONFIG_PACKAGE_luci-app-mwan3=y 8 | CONFIG_PACKAGE_luci-i18n-mwan3-zh-cn=y 9 | CONFIG_PACKAGE_luci-app-syncdial=y 10 | 11 | CONFIG_PACKAGE_adbyby=y 12 | CONFIG_PACKAGE_luci-app-adbyby-plus=y 13 | CONFIG_PACKAGE_luci-i18n-adbyby-plus-zh-cn=y 14 | 15 | CONFIG_PACKAGE_luci-app-unblockmusic=y 16 | CONFIG_PACKAGE_luci-i18n-unblockmusic-zh-cn=y 17 | 18 | CONFIG_PACKAGE_UnblockNeteaseMusic=y 19 | CONFIG_PACKAGE_UnblockNeteaseMusicGo=y 20 | 21 | CONFIG_UnblockNeteaseMusic_Go=y 22 | CONFIG_UnblockNeteaseMusic_NodeJS=y 23 | 24 | CONFIG_PACKAGE_luci-app-guest-wifi=y 25 | CONFIG_PACKAGE_luci-i18n-guest-wifi-zh-cn=y 26 | 27 | CONFIG_PACKAGE_frpc=y 28 | CONFIG_PACKAGE_luci-app-frpc=y 29 | 30 | CONFIG_PACKAGE_kmod-usb-printer=y 31 | CONFIG_PACKAGE_luci-app-usb-printer=y 32 | CONFIG_PACKAGE_luci-i18n-usb-printer-zh-cn=y 33 | 34 | CONFIG_PACKAGE_hd-idle=y 35 | CONFIG_PACKAGE_luci-app-hd-idle=y 36 | CONFIG_PACKAGE_luci-i18n-hd-idle-zh-cn=y 37 | 38 | CONFIG_PACKAGE_aria2=y 39 | CONFIG_PACKAGE_luci-app-aria2=y 40 | CONFIG_PACKAGE_luci-i18n-aria2-zh-cn=y 41 | CONFIG_ARIA2_BITTORRENT=y 42 | CONFIG_ARIA2_NOXML=y 43 | CONFIG_ARIA2_OPENSSL=y 44 | CONFIG_ARIA2_WEBSOCKET=y 45 | 46 | CONFIG_PACKAGE_qBittorrent=y 47 | CONFIG_PACKAGE_luci-app-qbittorrent=y 48 | CONFIG_PACKAGE_luci-i18n-qbittorrent-zh-cn=y 49 | 50 | CONFIG_PACKAGE_luci-app-transmission=y 51 | CONFIG_PACKAGE_luci-i18n-transmission-zh-cn=y 52 | CONFIG_PACKAGE_transmission-daemon-openssl=y 53 | CONFIG_PACKAGE_transmission-web-control=y 54 | 55 | CONFIG_PACKAGE_verysync=y 56 | CONFIG_PACKAGE_luci-app-verysync=y 57 | CONFIG_PACKAGE_luci-i18n-verysync-zh-cn=y 58 | 59 | CONFIG_PACKAGE_ddns-scripts_aliyun=y 60 | CONFIG_PACKAGE_ddns-scripts_cloudflare.com-v4=y 61 | CONFIG_PACKAGE_ddns-scripts_dnspod=y 62 | 63 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Kcptun=y 64 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Redsocks2=y 65 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Server=y 66 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Trojan=y 67 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray=y 68 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray_plugin=y 69 | 70 | CONFIG_PACKAGE_kcptun-client=y 71 | CONFIG_PACKAGE_trojan=y 72 | CONFIG_PACKAGE_v2ray=y 73 | CONFIG_PACKAGE_v2ray-plugin=y 74 | CONFIG_PACKAGE_wsdd2=y 75 | CONFIG_V2RAY_COMPRESS_UPX=y 76 | CONFIG_V2RAY_DISABLE_NONE=y 77 | CONFIG_V2RAY_EXCLUDE_ASSETS=y 78 | CONFIG_V2RAY_EXCLUDE_V2CTL=y 79 | CONFIG_V2RAY_JSON_INTERNAL=y 80 | 81 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Brook=y 82 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks=y 83 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_ShadowsocksR_socks=y 84 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks_socks=y 85 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Trojan=y 86 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_kcptun=y 87 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_simple-obfs=y 88 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_v2ray-plugin=y 89 | 90 | CONFIG_PACKAGE_shadowsocks-libev-ss-local=y 91 | CONFIG_PACKAGE_shadowsocks-libev-ss-redir=y 92 | CONFIG_PACKAGE_shadowsocksr-libev-ssr-local=y 93 | CONFIG_PACKAGE_simple-obfs=y 94 | CONFIG_PACKAGE_trojan=y 95 | CONFIG_PACKAGE_v2ray-plugin=y 96 | CONFIG_PACKAGE_wsdd2=y 97 | CONFIG_PACKAGE_brook=y 98 | 99 | CONFIG_PACKAGE_luci-theme-argon-dark-mod=y 100 | CONFIG_PACKAGE_luci-theme-argon-light-mod=y 101 | CONFIG_PACKAGE_luci-theme-material=y -------------------------------------------------------------------------------- /插件说明/LuCI应用说明.yml: -------------------------------------------------------------------------------- 1 | 选择LuCI 配置 添加插件应用:常用 2 | ----------------------------------------------------------------------------------------- 3 | LuCI ---> Applications ---> luci-app-accesscontrol #访问时间控制 4 | LuCI ---> Applications ---> luci-app-adbyby-plus #广告屏蔽大师Plus + 5 | LuCI ---> Applications ---> luci-app-arpbind #IP/MAC绑定 6 | LuCI ---> Applications ---> luci-app-autoreboot #支持计划重启 7 | LuCI ---> Applications ---> luci-app-ddns #动态域名 DNS(集成阿里DDNS客户端) 8 | LuCI ---> Applications ---> luci-app-filetransfer #文件传输(可web安装ipk包) 9 | LuCI ---> Applications ---> luci-app-firewall #添加防火墙 10 | LuCI ---> Applications ---> luci-app-flowoffload #Turbo ACC网络加速(集成FLOW,BBR,NAT,DNS... 11 | LuCI ---> Applications ---> luci-app-frpc #内网穿透 Frp 12 | LuCI ---> Applications ---> luci-app-guest-wifi #WiFi访客网络 13 | LuCI ---> Applications ---> luci-app-ipsec-vpnd #vpn服务器 IPSec 14 | LuCI ---> Applications ---> luci-app-mwan3 #MWAN3负载均衡 15 | LuCI ---> Applications ---> luci-app-mwan3helper #MWAN3分流助手 16 | LuCI ---> Applications ---> luci-app-nlbwmon #网络带宽监视器 17 | LuCI ---> Applications ---> luci-app-ramfree #释放内存 18 | LuCI ---> Applications ---> luci-app-samba #网络共享(Samba) 19 | LuCI ---> Applications ---> luci-app-sqm #流量智能队列管理(QOS) 20 | ------------------------------------------------------------------------------------------- 21 | LuCI ---> Applications ---> luci-app-ssr-plus #ssr低调上网Plus+ 22 | luci-app-ssr-plus ---> Include shadowsocks v2ray Plugin #SS v2ray插件 * 23 | luci-app-ssr-plus ---> Include v2ray #v2ray代理 24 | luci-app-ssr-plus ---> Include Trojan #Trojan代理 25 | luci-app-ssr-plus ---> Include red---socks2 #red---socks2代理 * 26 | luci-app-ssr-plus ---> Include Kcptun #Kcptun加速 27 | luci-app-ssr-plus ---> Include ShadowsocksR Server #ssr服务器 28 | ------------------------------------------------------------------------------------------- 29 | LuCI ---> Applications ---> luci-app-syncdial #多拨虚拟网卡(原macvlan) 30 | LuCI ---> Applications ---> luci-app-unblockmusic #解锁网易云灰色歌曲3合1新版本 31 | LuCI ---> Applications ---> luci-app-upnp #通用即插即用UPnP(端口自动转发) 32 | LuCI ---> Applications ---> luci-app-vlmcsd #KMS服务器设置 33 | LuCI ---> Applications ---> luci-app-vsftpd #FTP服务器 34 | LuCI ---> Applications ---> luci-app-wifischedule #WiFi 计划 35 | LuCI ---> Applications ---> luci-app-wireleShadowsocksRegdb #WiFi无线 36 | LuCI ---> Applications ---> luci-app-wol #WOL网络唤醒 37 | LuCI ---> Applications ---> luci-app-wrtbwmon #实时流量监测 38 | LuCI ---> Applications ---> luci-app-xlnetacc #迅雷快鸟 39 | LuCI ---> Applications ---> luci-app-zerotier #ZeroTier内网穿透 40 | Extra packages ---> ipv6helper #支持 ipv6 41 | Utilities ---> open-vm-tools #打开适用于VMware的VM Tools 42 | 43 | 44 | 45 | 以下是全部: 注:应用后面标记 “ * ” 为最近新添加 46 | ----------------------------------------------------------------------------------------- 47 | LuCI ---> Applications ---> luci-app-accesscontrol #访问时间控制 48 | LuCI ---> Applications ---> luci-app-acme #ACME自动化证书管理环境 49 | LuCI ---> Applications ---> luci-app-adblock #ADB广告过滤 50 | LuCI ---> Applications ---> luci-app-adbyby-plus #广告屏蔽大师Plus + 51 | LuCI ---> Applications ---> luci-app-adbyby #广告过滤大师(已弃) 52 | LuCI ---> Applications ---> luci-app-adkill #广告过滤(已弃) 53 | LuCI ---> Applications ---> luci-app-advanced-reboot #Linksys高级重启 54 | LuCI ---> Applications ---> luci-app-ahcp #支持AHCPd 55 | LuCI ---> Applications ---> luci-app-aliddns #阿里DDNS客户端(已弃,集成至ddns) 56 | LuCI ---> Applications ---> luci-app-amule #aMule下载工具 57 | LuCI ---> Applications ---> luci-app-aria2 # Aria2下载工具 58 | LuCI ---> Applications ---> luci-app-arpbind #IP/MAC绑定 59 | LuCI ---> Applications ---> luci-app-asterisk #支持Asterisk电话服务器 60 | LuCI ---> Applications ---> luci-app-attendedsysupgrade #固件更新升级相关 61 | LuCI ---> Applications ---> luci-app-autoreboot #支持计划重启 62 | LuCI ---> Applications ---> luci-app-baidupcs-web #百度网盘管理 63 | LuCI ---> Applications ---> luci-app-bcp38 #BCP38网络入口过滤(不确定) 64 | LuCI ---> Applications ---> luci-app-bird1-ipv4 #对Bird1-ipv4的支持 65 | LuCI ---> Applications ---> luci-app-bird1-ipv6 #对Bird1-ipv6的支持 66 | LuCI ---> Applications ---> luci-app-bird4 #Bird 4(未知)(已弃) 67 | LuCI ---> Applications ---> luci-app-bird6 #Bird 6(未知)(已弃) 68 | LuCI ---> Applications ---> luci-app-bmx6 #BMX6路由协议 69 | LuCI ---> Applications ---> luci-app-bmx7 #BMX7路由协议 70 | LuCI ---> Applications ---> luci-app-caldav #联系人(已弃) 71 | LuCI ---> Applications ---> luci-app-cifsd #网络共享CIFS/SMB服务器 * 72 | LuCI ---> Applications ---> luci-app-cjdns #加密IPV6网络相关 73 | LuCI ---> Applications ---> luci-app-clamav #ClamAV杀毒软件 74 | LuCI ---> Applications ---> luci-app-commands #Shell命令模块 75 | LuCI ---> Applications ---> luci-app-cshark #CloudShark捕获工具 76 | LuCI ---> Applications ---> luci-app-ddns #动态域名 DNS(集成阿里DDNS客户端) 77 | LuCI ---> Applications ---> luci-app-diag-core #core诊断工具 78 | LuCI ---> Applications ---> luci-app-diskman #磁盘管理工具 * 79 | luci-app-diskman ---> Include btrfs-progs #新型的写时复制 (COW) 80 | luci-app-diskman ---> Include lsblk #lsblk命令 用于列出所有可用块设备的信息 81 | luci-app-diskman ---> Include mdadm #mdadm命令 用于创建、管理、监控RAID设备的工具 82 | luci-app-diskman ---> Include kmod-md-raid456 #RAID 4,5,6 驱动程序模块 83 | luci-app-diskman ---> Include kmod-md-linear #RAID 驱动程序模块 84 | LuCI ---> Applications ---> luci-app-dnscrypt-proxy #DNSCrypt解决DNS污染 85 | LuCI ---> Applications ---> luci-app-dnsforwarder #DNSForwarder防DNS污染 86 | LuCI ---> Applications ---> luci-app-dnspod #DNSPod动态域名解析(已弃) 87 | LuCI ---> Applications ---> luci-app-dockerman #Docker容器 * 88 | LuCI ---> Applications ---> luci-app-dump1090 #民航无线频率(不确定) 89 | LuCI ---> Applications ---> luci-app-dynapoint #DynaPoint(未知) 90 | LuCI ---> Applications ---> luci-app-e2guardian #Web内容过滤器 91 | LuCI ---> Applications ---> luci-app-familycloud #家庭云盘 92 | LuCI ---> Applications ---> luci-app-filetransfer #文件传输(可web安装ipk包) 93 | LuCI ---> Applications ---> luci-app-firewall #添加防火墙 94 | LuCI ---> Applications ---> luci-app-flowoffload #Turbo ACC网络加速(集成FLOW,BBR,NAT,DNS... 95 | LuCI ---> Applications ---> luci-app-freifunk-diagnostics #freifunk组件 诊断(未知) 96 | LuCI ---> Applications ---> luci-app-freifunk-policyrouting #freifunk组件 策略路由(未知) 97 | LuCI ---> Applications ---> luci-app-freifunk-widgets #freifunk组件 索引(未知) 98 | LuCI ---> Applications ---> luci-app-frpc #内网穿透Frp客户端 99 | LuCI ---> Applications ---> luci-app-frps #内网穿透Frp服务端 * 100 | LuCI ---> Applications ---> luci-app-fwknopd #Firewall Knock Operator服务器 101 | LuCI ---> Applications ---> luci-app-guest-wifi #WiFi访客网络 102 | LuCI ---> Applications ---> luci-app-gfwlist #GFW域名列表(已弃) 103 | LuCI ---> Applications ---> luci-app-haproxy-tcp #HAProxy负载均衡-TCP 104 | LuCI ---> Applications ---> luci-app-hd-idle #硬盘休眠 105 | LuCI ---> Applications ---> luci-app-hnet #Homenet Status家庭网络控制协议 106 | LuCI ---> Applications ---> luci-app-ipsec-vpnd #vpn服务器 IPSec 107 | LuCI ---> Applications ---> luci-app-kodexplorer #KOD可道云私人网盘 108 | LuCI ---> Applications ---> luci-app-kooldns #vpn服务器 ddns替代方案(已弃) 109 | LuCI ---> Applications ---> luci-app-koolproxy #KP去广告(已弃) 110 | LuCI ---> Applications ---> luci-app-lxc #LXC容器管理 111 | LuCI ---> Applications ---> luci-app-meshwizard #网络设置向导 112 | LuCI ---> Applications ---> luci-app-minidlna #完全兼容DLNA / UPnP-AV客户端的服务器软件 113 | LuCI ---> Applications ---> luci-app-mjpg-streamer #兼容Linux-UVC的摄像头程序 114 | LuCI ---> Applications ---> luci-app-mtwifi #MTWiFi驱动的支持 * 115 | LuCI ---> Applications ---> luci-app-mmc-over-gpio #添加SD卡操作界面(已弃) 116 | LuCI ---> Applications ---> luci-app-multiwan #多拨虚拟网卡(已弃,移至syncdial) 117 | LuCI ---> Applications ---> luci-app-mwan #MWAN负载均衡(已弃) 118 | LuCI ---> Applications ---> luci-app-mwan3 #MWAN3负载均衡 119 | LuCI ---> Applications ---> luci-app-mwan3helper #MWAN3分流助手 120 | LuCI ---> Applications ---> luci-app-n2n_v2 #N2N内网穿透 N2N v2 vpn服务 121 | LuCI ---> Applications ---> luci-app-netdata #Netdata实时监控(图表) 122 | LuCI ---> Applications ---> luci-app-nft-qos #QOS流控 Nftables版 123 | LuCI ---> Applications ---> luci-app-ngrokc #Ngrok 内网穿透(已弃) 124 | LuCI ---> Applications ---> luci-app-nlbwmon #网络带宽监视器 125 | LuCI ---> Applications ---> luci-app-noddos #NodDOS Clients 阻止DDoS攻击 126 | LuCI ---> Applications ---> luci-app-nps #内网穿透nps * 127 | LuCI ---> Applications ---> luci-app-ntpc #NTP时间同步服务器 128 | LuCI ---> Applications ---> luci-app-ocserv #OpenConnect vpn服务 129 | LuCI ---> Applications ---> luci-app-olsr #OLSR配置和状态模块 130 | LuCI ---> Applications ---> luci-app-olsr-services #OLSR服务器 131 | LuCI ---> Applications ---> luci-app-olsr-viz #OLSR可视化 132 | LuCI ---> Applications ---> luci-app-openvpn #Openvpn客户端 133 | LuCI ---> Applications ---> luci-app-openvpn-server #易于使用的Openvpn服务器 Web-UI 134 | LuCI ---> Applications ---> luci-app-oscam #OSCAM服务器(已弃) 135 | LuCI ---> Applications ---> luci-app-p910nd #打印服务器模块 136 | LuCI ---> Applications ---> luci-app-pagekitec #Pagekite内网穿透客户端 137 | LuCI ---> Applications ---> luci-app-polipo #Polipo代理(是一个小型且快速的网页缓存代理) 138 | LuCI ---> Applications ---> luci-app-pppoe-relay #PPPoE NAT穿透 点对点协议(PPP) 139 | LuCI ---> Applications ---> luci-app-pptp-server #vpn服务器 pptp(已弃) 140 | LuCI ---> Applications ---> luci-app-privoxy #Privoxy网络代理(带过滤无缓存) 141 | LuCI ---> Applications ---> luci-app-qbittorrent #BT下载工具(qBittorrent) 142 | LuCI ---> Applications ---> luci-app-qos #流量服务质量(QoS)流控 143 | LuCI ---> Applications ---> luci-app-radicale #CalDAV/CardDAV同步工具 144 | LuCI ---> Applications ---> luci-app-ramfree #释放内存 145 | LuCI ---> Applications ---> luci-app-rp-pppoe-server #Roaring Penguin PPPoE Server 服务器 146 | LuCI ---> Applications ---> luci-app-samba #网络共享(Samba) 147 | LuCI ---> Applications ---> luci-app-samba4 #网络共享(Samba4) 148 | LuCI ---> Applications ---> luci-app-sfe #Turbo ACC网络加速(flowoffload二选一) 149 | LuCI ---> Applications ---> luci-app-shadowsocks #SS低调上网(已弃) 150 | LuCI ---> Applications ---> luci-app-shadowsocks-libev #SS-libev服务端 151 | LuCI ---> Applications ---> luci-app-shairplay #支持AirPlay功能 152 | LuCI ---> Applications ---> luci-app-siitwizard #SIIT配置向导 SIIT-Wizzard 153 | LuCI ---> Applications ---> luci-app-simple-adblock #简单的广告拦截 154 | LuCI ---> Applications ---> luci-app-smartdns #SmartDNS本地服务器(已弃) 155 | LuCI ---> Applications ---> luci-app-softethervpn #SoftEther vpn服务器 NAT穿透 * 156 | LuCI ---> Applications ---> luci-app-splash #Client-Splash是无线MESH网络的一个热点认证系统 157 | LuCI ---> Applications ---> luci-app-sqm #流量智能队列管理(QOS) 158 | LuCI ---> Applications ---> luci-app-squid #Squid代理服务器 159 | LuCI ---> Applications ---> luci-app-ssr-plus #ssr低调上网Plus+ 160 | luci-app-ssr-plus ---> Include shadowsocks New Version #新SS代理(已弃) 161 | luci-app-ssr-plus ---> Include shadowsocks Simple-obfs Plugin #simple-obfs简单混淆工具(已弃) 162 | luci-app-ssr-plus ---> Include shadowsocks v2ray Plugin #SS v2ray插件 * 163 | luci-app-ssr-plus ---> Include v2ray #v2ray代理 164 | luci-app-ssr-plus ---> Include Trojan #Trojan代理 165 | luci-app-ssr-plus ---> Include red---socks2 #red---socks2代理 * 166 | luci-app-ssr-plus ---> Include Kcptun #Kcptun加速 167 | luci-app-ssr-plus ---> Include ShadowsocksR Server #ssr服务器 168 | luci-app-ssr-plus ---> Include DNS2SOCKS #DNS服务器(已弃) 169 | luci-app-ssr-plus ---> Include ShadowsocksR Socks and Tunnel #SSR代理(已弃) 170 | luci-app-ssr-plus ---> Include Socks Server #socks代理服务器(已弃) 171 | LuCI ---> Applications ---> luci-app-ssr-pro #ssr-Pro(已弃) 172 | LuCI ---> Applications ---> luci-app-ssrserver-python #ShadowsocksR Python服务器 173 | LuCI ---> Applications ---> luci-app-statistics #流量监控工具 174 | LuCI ---> Applications ---> luci-app-syncdial #多拨虚拟网卡(原macvlan) 175 | LuCI ---> Applications ---> luci-app-tinyproxy #Tinyproxy是 HTTP(S)代理服务器 176 | LuCI ---> Applications ---> luci-app-transmission #BT下载工具 177 | LuCI ---> Applications ---> luci-app-travelmate #旅行路由器 178 | LuCI ---> Applications ---> luci-app-ttyd #网页终端命令行 179 | LuCI ---> Applications ---> luci-app-udpxy #udpxy做组播服务器 180 | LuCI ---> Applications ---> luci-app-uhttpd #uHTTPd Web服务器 181 | LuCI ---> Applications ---> luci-app-unblockmusic #解锁网易云灰色歌曲3合1新版本 182 | UnblockNeteaseMusic Golang Version #Golang版本 * 183 | UnblockNeteaseMusic NodeJS Version #NodeJS版本 * 184 | LuCI ---> Applications ---> luci-app-unblockneteasemusic-go #解除网易云音乐(合并) 185 | LuCI ---> Applications ---> luci-app-unblockneteasemusic-mini #解除网易云音乐(合并) 186 | LuCI ---> Applications ---> luci-app-unbound #Unbound DNS解析器 187 | LuCI ---> Applications ---> luci-app-upnp #通用即插即用UPnP(端口自动转发) 188 | LuCI ---> Applications ---> luci-app-usb-printer #USB 打印服务器 189 | LuCI ---> Applications ---> luci-app-v2ray-server #v2ray 服务器 190 | LuCI ---> Applications ---> luci-app-v2ray-pro #v2ray透明代理(已弃,集成ssr) 191 | LuCI ---> Applications ---> luci-app-verysync #微力同步 * 192 | LuCI ---> Applications ---> luci-app-vlmcsd #KMS服务器设置 193 | LuCI ---> Applications ---> luci-app-vnstat #vnStat网络监控(图表) 194 | LuCI ---> Applications ---> luci-app-vpnbypass #vpn BypassWebUI 绕过vpn设置 195 | LuCI ---> Applications ---> luci-app-vsftpd #FTP服务器 196 | LuCI ---> Applications ---> luci-app-watchcat #断网检测功能与定时重启 197 | LuCI ---> Applications ---> luci-app-webadmin #Web管理页面设置 198 | LuCI ---> Applications ---> luci-app-webshell #网页命令行终端(已弃) 199 | LuCI ---> Applications ---> luci-app-wifischedule #WiFi 计划 200 | LuCI ---> Applications ---> luci-app-wireguard #vpn服务器 WireGuard状态 201 | LuCI ---> Applications ---> luci-app-wireless-regdb #WiFi无线 202 | LuCI ---> Applications ---> luci-app-wol #WOL网络唤醒 203 | LuCI ---> Applications ---> luci-app-wrtbwmon #实时流量监测 204 | LuCI ---> Applications ---> luci-app-xlnetacc #迅雷快鸟 205 | LuCI ---> Applications ---> luci-app-zerotier #ZeroTier内网穿透 206 | 207 | --------------------------------------------------------------------------------------------------- 208 | 支持 iPv6: 209 | 1、Extra packages ---> ipv6helper (选定这个后下面几项自动选择了) 210 | Network ---> odhcp6c 211 | Network ---> odhcpd-ipv6only 212 | LuCI ---> Protocols ---> luci-proto-ipv6 213 | LuCI ---> Protocols ---> luci-proto-ppp 214 | 215 | 216 | 217 | 218 | 信息来源:https://www.right.com.cn/forum/thread-3682029-1-1.html --------------------------------------------------------------------------------