├── .github ├── ISSUE_TEMPLATE │ └── bugreport.yml └── workflows │ ├── ActionTrigger.yml │ ├── RaspberryPi3.yml │ ├── RaspberryPi4.yml │ ├── RaspberryPi5.yml │ ├── Rockchip.yml │ ├── x86_64.yml │ └── x86_64Lite.yml ├── LICENSE ├── README.md ├── assets ├── images │ ├── action1.jpg │ ├── appstore.png │ ├── infinityfreedom-theme-main.png │ ├── infinityfreedom-theme.png │ ├── network.png │ ├── openwrt.png │ └── service.png ├── network.png ├── openwrt.png └── service.png ├── configs ├── Driver.config ├── RPi3B.config ├── RPi4.config ├── RPi5.config ├── Rockchip.config ├── luci │ ├── Lite.config │ └── Standard.config └── x86_64.config ├── configure.sh ├── openwrt-env └── package.sh /.github/ISSUE_TEMPLATE/bugreport.yml: -------------------------------------------------------------------------------- 1 | name: 问题描述[Bug] 2 | description: 反馈问题模板 3 | body: 4 | - type: textarea 5 | id: description 6 | attributes: 7 | label: 问题描述 8 | description: 详细叙述问题 9 | validations: 10 | required: true 11 | - type: checkboxes 12 | id: duplicate_issue 13 | attributes: 14 | label: 重复 issue 15 | description: 是否搜索了 issues 16 | options: 17 | - label: 没有类似的 issue 18 | required: true 19 | - type: checkboxes 20 | id: search_browser 21 | attributes: 22 | label: 浏览器搜索 23 | description: 是否在浏览器搜索了相关的问题 24 | options: 25 | - label: 未找到类似的问题 26 | required: true 27 | - type: dropdown 28 | id: Model 29 | attributes: 30 | label: "设备型号" 31 | description: "使用的设备型号" 32 | multiple: true 33 | options: 34 | - RaspberryPi3 35 | - RaspberryPi4 36 | - RaspberryPi5 37 | - x86_64 38 | - R68S 39 | - NanoPi R2S 40 | - NanoPi R4S 41 | - NanoPi R5C 42 | - NanoPi R5S 43 | - OrangePi R1 Plus 44 | validations: 45 | required: true 46 | - type: input 47 | id: firmware_name 48 | attributes: 49 | label: 固件版本 50 | description: 使用的固件名称(例如:openwrt-x86-64-generic-ext4-combined-efi.img.gz) 51 | validations: 52 | required: true 53 | - type: textarea 54 | id: details_log 55 | attributes: 56 | label: 详细日志 57 | description: 系统运行日志 58 | validations: 59 | required: true -------------------------------------------------------------------------------- /.github/workflows/ActionTrigger.yml: -------------------------------------------------------------------------------- 1 | name: ActionTrigger 2 | 3 | env: 4 | REPO_URL: https://github.com/coolsnowwolf/lede 5 | REPO_BRANCH: master 6 | UPLOAD_RELEASE: true 7 | 8 | on: 9 | workflow_dispatch: 10 | schedule: 11 | - cron: '0 16 */7 * *' 12 | 13 | jobs: 14 | check: 15 | runs-on: ubuntu-latest 16 | 17 | steps: 18 | - name: Checkout 19 | uses: actions/checkout@v4 20 | 21 | - name: AutoTrigger 22 | uses: bigbugcc/ActionBot@main 23 | 24 | - name: Delete workflow runs 25 | uses: bigbugcc/delete-workflow-runs@main 26 | with: 27 | keep_minimum_runs: 1 28 | 29 | - name: Remove old Releases 30 | uses: dev-drprasad/delete-older-releases@v0.2.0 31 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 32 | with: 33 | keep_latest: 18 34 | delete_tags: true 35 | env: 36 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -------------------------------------------------------------------------------- /.github/workflows/RaspberryPi3.yml: -------------------------------------------------------------------------------- 1 | name: Raspberry Pi3B+ 2 | 3 | on: 4 | repository_dispatch: 5 | workflow_dispatch: 6 | 7 | env: 8 | OPNAME: 'Raspberry Pi3B+' 9 | REPO_URL: https://github.com/coolsnowwolf/lede 10 | REPO_BRANCH: master 11 | FEEDS_CONF: feeds.conf.default 12 | EXTERNAL_FILE: configs/luci/Standard.config 13 | CONFIG_FILE: configs/RPi3B.config 14 | SYS_CONF_SH: configure.sh 15 | PACKS: package.sh 16 | EXTEND_DRIVER: true 17 | UPLOAD_BIN_DIR: false 18 | UPLOAD_FIRMWARE: true 19 | UPLOAD_RELEASE: true 20 | TZ: Asia/Shanghai 21 | 22 | jobs: 23 | build: 24 | runs-on: ubuntu-22.04 25 | 26 | steps: 27 | - name: Checkout 28 | uses: actions/checkout@v4 29 | 30 | - name: Initialization environment 31 | env: 32 | DEBIAN_FRONTEND: noninteractive 33 | run: | 34 | sudo rm -rf /etc/apt/sources.list.d/* 35 | sudo -E apt-get -qq update 36 | sudo -E apt-get -qq install $(curl -fsSL https://raw.githubusercontent.com/bigbugcc/openwrts/master/openwrt-env) 37 | sudo -E apt-get -qq autoremove --purge 38 | sudo -E apt-get -qq clean 39 | sudo timedatectl set-timezone "$TZ" 40 | sudo mkdir -p /mnt/workdir 41 | sudo chown $USER:$GROUPS /mnt/workdir 42 | 43 | - name: Clone source code 44 | working-directory: /mnt/workdir 45 | run: | 46 | df -hT $PWD 47 | git clone --depth 1 $REPO_URL -b $REPO_BRANCH openwrt 48 | ln -sf /mnt/workdir/openwrt $GITHUB_WORKSPACE/openwrt 49 | 50 | - name: Cache 51 | uses: stupidloud/cachewrtbuild@main 52 | with: 53 | ccache: 'true' 54 | mixkey: 'rpi3' 55 | prefix: 'openwrt' 56 | 57 | - name: Load custom feeds 58 | run: | 59 | [ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default 60 | chmod +x $SYS_CONF_SH 61 | cd openwrt 62 | $GITHUB_WORKSPACE/$SYS_CONF_SH 63 | 64 | - name: Update feeds 65 | run: cd openwrt && ./scripts/feeds update -a 66 | 67 | - name: Install feeds 68 | run: cd openwrt && ./scripts/feeds install -a 69 | 70 | - name: Load custom configuration 71 | run: | 72 | [ -e files ] && mv files openwrt/files 73 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 74 | chmod +x $PACKS 75 | cd openwrt 76 | $GITHUB_WORKSPACE/$PACKS 77 | 78 | - name: Extend Driver 79 | if: env.EXTEND_DRIVER == 'true' 80 | run: | 81 | cat configs/Driver.config >> openwrt/.config 82 | 83 | - name: Modify configuration 84 | run: | 85 | cat $EXTERNAL_FILE >> openwrt/.config 86 | cd openwrt && make defconfig 87 | sed -i '/CONFIG_DEFAULT_luci/'d .config 88 | cat .config 89 | 90 | - name: Download package 91 | id: package 92 | run: | 93 | cd openwrt 94 | make download -j$(nproc) 95 | find dl -size -1024c -exec ls -l {} \; 96 | find dl -size -1024c -exec rm -f {} \; 97 | 98 | - name: Compile the firmware 99 | id: compile 100 | run: | 101 | cd openwrt 102 | echo -e "$(nproc) thread compile" 103 | make -j$(nproc) V=s || make -j4 V=s 104 | echo "status=success" >> $GITHUB_OUTPUT 105 | grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME 106 | [ -s DEVICE_NAME ] && echo "DEVICE_NAME=_$(cat DEVICE_NAME)" >> $GITHUB_ENV 107 | echo "FILE_DATE=_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 108 | 109 | - name: Check space usage 110 | if: (!cancelled()) 111 | run: df -hT 112 | 113 | - name: Upload bin directory 114 | uses: actions/upload-artifact@main 115 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_BIN_DIR == 'true' 116 | with: 117 | name: OpenWrt_bin${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 118 | path: openwrt/bin 119 | 120 | - name: Organize files 121 | id: organize 122 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_FIRMWARE == 'true' && !cancelled() 123 | run: | 124 | cd openwrt/bin/targets/*/* 125 | rm -rf packages 126 | echo "FIRMWARE=$PWD" >> $GITHUB_ENV 127 | echo "status=success" >> $GITHUB_OUTPUT 128 | 129 | - name: Upload firmware directory 130 | uses: actions/upload-artifact@main 131 | if: steps.organize.outputs.status == 'success' && !cancelled() 132 | with: 133 | name: OpenWrt_firmware${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 134 | path: ${{ env.FIRMWARE }} 135 | 136 | - name: Generate release tag 137 | id: tag 138 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_RELEASE == 'true' && !cancelled() 139 | run: | 140 | echo "== Time:$(date +'%Y-%m-%d %H:%M:%S') ==" 141 | echo "release_tag=$(date +"%Y.%m.%d-%H%M%S")" >> $GITHUB_OUTPUT 142 | touch release.txt 143 | echo "status=success" >> $GITHUB_OUTPUT 144 | 145 | - name: Generate release body 146 | if: steps.compile.outputs.status == 'success' && !cancelled() 147 | run: | 148 | echo "![](https://img.shields.io/github/downloads/${{ github.repository }}/${{ steps.tag.outputs.release_tag }}/total?style=flat-square)" >> release.txt 149 | 150 | - name: Upload firmware to release 151 | uses: softprops/action-gh-release@v1 152 | if: steps.tag.outputs.status == 'success' && !cancelled() 153 | env: 154 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 155 | with: 156 | name: ${{ env.OPNAME }} 157 | tag_name: ${{ steps.tag.outputs.release_tag }} 158 | body_path: release.txt 159 | files: ${{ env.FIRMWARE }}/* -------------------------------------------------------------------------------- /.github/workflows/RaspberryPi4.yml: -------------------------------------------------------------------------------- 1 | name: Raspberry Pi4 2 | 3 | on: 4 | repository_dispatch: 5 | workflow_dispatch: 6 | 7 | env: 8 | OPNAME: 'Raspberry Pi4' 9 | REPO_URL: https://github.com/coolsnowwolf/lede 10 | REPO_BRANCH: master 11 | FEEDS_CONF: feeds.conf.default 12 | EXTERNAL_FILE: configs/luci/Standard.config 13 | CONFIG_FILE: configs/RPi4.config 14 | SYS_CONF_SH: configure.sh 15 | PACKS: package.sh 16 | EXTEND_DRIVER: true 17 | UPLOAD_BIN_DIR: false 18 | UPLOAD_FIRMWARE: true 19 | UPLOAD_RELEASE: true 20 | TZ: Asia/Shanghai 21 | 22 | jobs: 23 | build: 24 | runs-on: ubuntu-22.04 25 | 26 | steps: 27 | - name: Checkout 28 | uses: actions/checkout@v4 29 | 30 | - name: Initialization environment 31 | env: 32 | DEBIAN_FRONTEND: noninteractive 33 | run: | 34 | sudo rm -rf /etc/apt/sources.list.d/* 35 | sudo -E apt-get -qq update 36 | sudo -E apt-get -qq install $(curl -fsSL https://raw.githubusercontent.com/bigbugcc/openwrts/master/openwrt-env) 37 | sudo -E apt-get -qq autoremove --purge 38 | sudo -E apt-get -qq clean 39 | sudo timedatectl set-timezone "$TZ" 40 | sudo mkdir -p /mnt/workdir 41 | sudo chown $USER:$GROUPS /mnt/workdir 42 | 43 | - name: Clone source code 44 | working-directory: /mnt/workdir 45 | run: | 46 | df -hT $PWD 47 | git clone --depth 1 $REPO_URL -b $REPO_BRANCH openwrt 48 | ln -sf /mnt/workdir/openwrt $GITHUB_WORKSPACE/openwrt 49 | 50 | - name: Cache 51 | uses: stupidloud/cachewrtbuild@main 52 | with: 53 | ccache: 'true' 54 | mixkey: 'rpi4' 55 | prefix: 'openwrt' 56 | 57 | - name: Load custom feeds 58 | run: | 59 | [ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default 60 | chmod +x $SYS_CONF_SH 61 | cd openwrt 62 | $GITHUB_WORKSPACE/$SYS_CONF_SH 63 | 64 | - name: Update feeds 65 | run: cd openwrt && ./scripts/feeds update -a 66 | 67 | - name: Install feeds 68 | run: cd openwrt && ./scripts/feeds install -a 69 | 70 | - name: Load custom configuration 71 | run: | 72 | [ -e files ] && mv files openwrt/files 73 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 74 | chmod +x $PACKS 75 | cd openwrt 76 | $GITHUB_WORKSPACE/$PACKS 77 | 78 | - name: Extend Driver 79 | if: env.EXTEND_DRIVER == 'true' 80 | run: | 81 | cat configs/Driver.config >> openwrt/.config 82 | 83 | - name: Modify configuration 84 | run: | 85 | cat $EXTERNAL_FILE >> openwrt/.config 86 | cd openwrt && make defconfig 87 | sed -i '/CONFIG_DEFAULT_luci/'d .config 88 | cat .config 89 | 90 | - name: Download package 91 | id: package 92 | run: | 93 | cd openwrt 94 | make download -j$(nproc) 95 | find dl -size -1024c -exec ls -l {} \; 96 | find dl -size -1024c -exec rm -f {} \; 97 | 98 | - name: Compile the firmware 99 | id: compile 100 | run: | 101 | cd openwrt 102 | echo -e "$(nproc) thread compile" 103 | make -j$(nproc) V=s || make -j4 V=s 104 | echo "status=success" >> $GITHUB_OUTPUT 105 | grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME 106 | [ -s DEVICE_NAME ] && echo "DEVICE_NAME=_$(cat DEVICE_NAME)" >> $GITHUB_ENV 107 | echo "FILE_DATE=_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 108 | 109 | - name: Check space usage 110 | if: (!cancelled()) 111 | run: df -hT 112 | 113 | - name: Upload bin directory 114 | uses: actions/upload-artifact@main 115 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_BIN_DIR == 'true' 116 | with: 117 | name: OpenWrt_bin${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 118 | path: openwrt/bin 119 | 120 | - name: Organize files 121 | id: organize 122 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_FIRMWARE == 'true' && !cancelled() 123 | run: | 124 | cd openwrt/bin/targets/*/* 125 | rm -rf packages 126 | echo "FIRMWARE=$PWD" >> $GITHUB_ENV 127 | echo "status=success" >> $GITHUB_OUTPUT 128 | 129 | - name: Upload firmware directory 130 | uses: actions/upload-artifact@main 131 | if: steps.organize.outputs.status == 'success' && !cancelled() 132 | with: 133 | name: OpenWrt_firmware${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 134 | path: ${{ env.FIRMWARE }} 135 | 136 | - name: Generate release tag 137 | id: tag 138 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_RELEASE == 'true' && !cancelled() 139 | run: | 140 | echo "== Time:$(date +'%Y-%m-%d %H:%M:%S') ==" 141 | echo "release_tag=$(date +"%Y.%m.%d-%H%M%S")" >> $GITHUB_OUTPUT 142 | touch release.txt 143 | echo "status=success" >> $GITHUB_OUTPUT 144 | 145 | - name: Generate release body 146 | if: steps.compile.outputs.status == 'success' && !cancelled() 147 | run: | 148 | echo "![](https://img.shields.io/github/downloads/${{ github.repository }}/${{ steps.tag.outputs.release_tag }}/total?style=flat-square)" >> release.txt 149 | 150 | - name: Upload firmware to release 151 | uses: softprops/action-gh-release@v1 152 | if: steps.tag.outputs.status == 'success' && !cancelled() 153 | env: 154 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 155 | with: 156 | name: ${{ env.OPNAME }} 157 | tag_name: ${{ steps.tag.outputs.release_tag }} 158 | body_path: release.txt 159 | files: ${{ env.FIRMWARE }}/* 160 | -------------------------------------------------------------------------------- /.github/workflows/RaspberryPi5.yml: -------------------------------------------------------------------------------- 1 | name: Raspberry Pi5 2 | 3 | on: 4 | repository_dispatch: 5 | workflow_dispatch: 6 | 7 | env: 8 | OPNAME: 'Raspberry Pi5' 9 | REPO_URL: https://github.com/coolsnowwolf/lede 10 | REPO_BRANCH: master 11 | FEEDS_CONF: feeds.conf.default 12 | EXTERNAL_FILE: configs/luci/Standard.config 13 | CONFIG_FILE: configs/RPi5.config 14 | SYS_CONF_SH: configure.sh 15 | PACKS: package.sh 16 | EXTEND_DRIVER: true 17 | UPLOAD_BIN_DIR: false 18 | UPLOAD_FIRMWARE: true 19 | UPLOAD_RELEASE: true 20 | TZ: Asia/Shanghai 21 | 22 | jobs: 23 | build: 24 | runs-on: ubuntu-22.04 25 | 26 | steps: 27 | - name: Checkout 28 | uses: actions/checkout@v4 29 | 30 | - name: Initialization environment 31 | env: 32 | DEBIAN_FRONTEND: noninteractive 33 | run: | 34 | sudo rm -rf /etc/apt/sources.list.d/* 35 | sudo -E apt-get -qq update 36 | sudo -E apt-get -qq install $(curl -fsSL https://raw.githubusercontent.com/bigbugcc/openwrts/master/openwrt-env) 37 | sudo -E apt-get -qq autoremove --purge 38 | sudo -E apt-get -qq clean 39 | sudo timedatectl set-timezone "$TZ" 40 | sudo mkdir -p /mnt/workdir 41 | sudo chown $USER:$GROUPS /mnt/workdir 42 | 43 | - name: Clone source code 44 | working-directory: /mnt/workdir 45 | run: | 46 | df -hT $PWD 47 | git clone --depth 1 $REPO_URL -b $REPO_BRANCH openwrt 48 | ln -sf /mnt/workdir/openwrt $GITHUB_WORKSPACE/openwrt 49 | 50 | - name: Cache 51 | uses: stupidloud/cachewrtbuild@main 52 | with: 53 | ccache: 'true' 54 | mixkey: 'rpi5' 55 | prefix: 'openwrt' 56 | 57 | - name: Load custom feeds 58 | run: | 59 | [ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default 60 | chmod +x $SYS_CONF_SH 61 | cd openwrt 62 | $GITHUB_WORKSPACE/$SYS_CONF_SH 63 | 64 | - name: Update feeds 65 | run: cd openwrt && ./scripts/feeds update -a 66 | 67 | - name: Install feeds 68 | run: cd openwrt && ./scripts/feeds install -a 69 | 70 | - name: Load custom configuration 71 | run: | 72 | [ -e files ] && mv files openwrt/files 73 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 74 | chmod +x $PACKS 75 | cd openwrt 76 | $GITHUB_WORKSPACE/$PACKS 77 | 78 | - name: Extend Driver 79 | if: env.EXTEND_DRIVER == 'true' 80 | run: | 81 | cat configs/Driver.config >> openwrt/.config 82 | 83 | - name: Modify configuration 84 | run: | 85 | cat $EXTERNAL_FILE >> openwrt/.config 86 | cd openwrt && make defconfig 87 | sed -i '/CONFIG_DEFAULT_luci/'d .config 88 | cat .config 89 | 90 | - name: Download package 91 | id: package 92 | run: | 93 | cd openwrt 94 | make download -j$(nproc) 95 | find dl -size -1024c -exec ls -l {} \; 96 | find dl -size -1024c -exec rm -f {} \; 97 | 98 | - name: Compile the firmware 99 | id: compile 100 | run: | 101 | cd openwrt 102 | echo -e "$(nproc) thread compile" 103 | make -j$(nproc) V=s || make -j4 V=s 104 | echo "status=success" >> $GITHUB_OUTPUT 105 | grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME 106 | [ -s DEVICE_NAME ] && echo "DEVICE_NAME=_$(cat DEVICE_NAME)" >> $GITHUB_ENV 107 | echo "FILE_DATE=_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 108 | 109 | - name: Check space usage 110 | if: (!cancelled()) 111 | run: df -hT 112 | 113 | - name: Upload bin directory 114 | uses: actions/upload-artifact@main 115 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_BIN_DIR == 'true' 116 | with: 117 | name: OpenWrt_bin${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 118 | path: openwrt/bin 119 | 120 | - name: Organize files 121 | id: organize 122 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_FIRMWARE == 'true' && !cancelled() 123 | run: | 124 | cd openwrt/bin/targets/*/* 125 | rm -rf packages 126 | echo "FIRMWARE=$PWD" >> $GITHUB_ENV 127 | echo "status=success" >> $GITHUB_OUTPUT 128 | 129 | - name: Upload firmware directory 130 | uses: actions/upload-artifact@main 131 | if: steps.organize.outputs.status == 'success' && !cancelled() 132 | with: 133 | name: OpenWrt_firmware${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 134 | path: ${{ env.FIRMWARE }} 135 | 136 | - name: Generate release tag 137 | id: tag 138 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_RELEASE == 'true' && !cancelled() 139 | run: | 140 | echo "== Time:$(date +'%Y-%m-%d %H:%M:%S') ==" 141 | echo "release_tag=$(date +"%Y.%m.%d-%H%M%S")" >> $GITHUB_OUTPUT 142 | touch release.txt 143 | echo "status=success" >> $GITHUB_OUTPUT 144 | 145 | - name: Generate release body 146 | if: steps.compile.outputs.status == 'success' && !cancelled() 147 | run: | 148 | echo "![](https://img.shields.io/github/downloads/${{ github.repository }}/${{ steps.tag.outputs.release_tag }}/total?style=flat-square)" >> release.txt 149 | 150 | - name: Upload firmware to release 151 | uses: softprops/action-gh-release@v1 152 | if: steps.tag.outputs.status == 'success' && !cancelled() 153 | env: 154 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 155 | with: 156 | name: ${{ env.OPNAME }} 157 | tag_name: ${{ steps.tag.outputs.release_tag }} 158 | body_path: release.txt 159 | files: ${{ env.FIRMWARE }}/* -------------------------------------------------------------------------------- /.github/workflows/Rockchip.yml: -------------------------------------------------------------------------------- 1 | name: Rockchip 2 | 3 | on: 4 | repository_dispatch: 5 | workflow_dispatch: 6 | 7 | env: 8 | OPNAME: 'R68S、R2S、R4S、R5C、R5S、OPiR1Plus' 9 | REPO_URL: https://github.com/coolsnowwolf/lede 10 | REPO_BRANCH: master 11 | FEEDS_CONF: feeds.conf.default 12 | EXTERNAL_FILE: configs/luci/Standard.config 13 | CONFIG_FILE: configs/Rockchip.config 14 | SYS_CONF_SH: configure.sh 15 | PACKS: package.sh 16 | EXTEND_DRIVER: true 17 | UPLOAD_BIN_DIR: false 18 | UPLOAD_FIRMWARE: true 19 | UPLOAD_RELEASE: true 20 | TZ: Asia/Shanghai 21 | 22 | jobs: 23 | build: 24 | runs-on: ubuntu-22.04 25 | 26 | steps: 27 | - name: Checkout 28 | uses: actions/checkout@v4 29 | 30 | - name: Initialization environment 31 | env: 32 | DEBIAN_FRONTEND: noninteractive 33 | run: | 34 | sudo rm -rf /etc/apt/sources.list.d/* 35 | sudo -E apt-get -qq update 36 | sudo -E apt-get -qq install $(curl -fsSL https://raw.githubusercontent.com/bigbugcc/openwrts/master/openwrt-env) 37 | sudo -E apt-get -qq autoremove --purge 38 | sudo -E apt-get -qq clean 39 | sudo timedatectl set-timezone "$TZ" 40 | sudo mkdir -p /mnt/workdir 41 | sudo chown $USER:$GROUPS /mnt/workdir 42 | 43 | - name: Clone source code 44 | working-directory: /mnt/workdir 45 | run: | 46 | df -hT $PWD 47 | git clone --depth 1 $REPO_URL -b $REPO_BRANCH openwrt 48 | ln -sf /mnt/workdir/openwrt $GITHUB_WORKSPACE/openwrt 49 | 50 | - name: Cache 51 | uses: stupidloud/cachewrtbuild@main 52 | with: 53 | ccache: 'true' 54 | mixkey: 'armv8' 55 | prefix: 'openwrt' 56 | 57 | - name: Load custom feeds 58 | run: | 59 | [ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default 60 | chmod +x $SYS_CONF_SH 61 | cd openwrt 62 | $GITHUB_WORKSPACE/$SYS_CONF_SH 63 | 64 | - name: Update feeds 65 | run: cd openwrt && ./scripts/feeds update -a 66 | 67 | - name: Install feeds 68 | run: cd openwrt && ./scripts/feeds install -a 69 | 70 | - name: Load custom configuration 71 | run: | 72 | [ -e files ] && mv files openwrt/files 73 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 74 | chmod +x $PACKS 75 | cd openwrt 76 | $GITHUB_WORKSPACE/$PACKS 77 | 78 | - name: Extend Driver 79 | if: env.EXTEND_DRIVER == 'true' 80 | run: | 81 | cat configs/Driver.config >> openwrt/.config 82 | 83 | - name: Modify configuration 84 | run: | 85 | cat $EXTERNAL_FILE >> openwrt/.config 86 | cd openwrt && make defconfig 87 | sed -i '/CONFIG_DEFAULT_luci/'d .config 88 | cat .config 89 | 90 | - name: Download package 91 | id: package 92 | run: | 93 | cd openwrt 94 | make download -j$(nproc) 95 | find dl -size -1024c -exec ls -l {} \; 96 | find dl -size -1024c -exec rm -f {} \; 97 | 98 | - name: Compile the firmware 99 | id: compile 100 | run: | 101 | cd openwrt 102 | echo -e "$(nproc) thread compile" 103 | make -j$(nproc) V=s || make -j4 V=s 104 | echo "status=success" >> $GITHUB_OUTPUT 105 | echo "DEVICE_NAME=R2S-R4S-OPiR1Plus" >> $GITHUB_ENV 106 | echo "FILE_DATE=_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 107 | 108 | - name: Check space usage 109 | if: (!cancelled()) 110 | run: df -hT 111 | 112 | - name: Upload bin directory 113 | uses: actions/upload-artifact@main 114 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_BIN_DIR == 'true' 115 | with: 116 | name: OpenWrt_bin${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 117 | path: openwrt/bin 118 | 119 | - name: Organize files 120 | id: organize 121 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_FIRMWARE == 'true' && !cancelled() 122 | run: | 123 | cd openwrt/bin/targets/*/* 124 | rm -rf packages 125 | echo "FIRMWARE=$PWD" >> $GITHUB_ENV 126 | echo "status=success" >> $GITHUB_OUTPUT 127 | 128 | - name: Upload firmware directory 129 | uses: actions/upload-artifact@main 130 | if: steps.organize.outputs.status == 'success' && !cancelled() 131 | with: 132 | name: OpenWrt_firmware${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 133 | path: ${{ env.FIRMWARE }} 134 | 135 | - name: Generate release tag 136 | id: tag 137 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_RELEASE == 'true' && !cancelled() 138 | run: | 139 | echo "== Time:$(date +'%Y-%m-%d %H:%M:%S') ==" 140 | echo "release_tag=$(date +"%Y.%m.%d-%H%M%S")" >> $GITHUB_OUTPUT 141 | touch release.txt 142 | echo "status=success" >> $GITHUB_OUTPUT 143 | 144 | - name: Generate release body 145 | if: steps.compile.outputs.status == 'success' && !cancelled() 146 | run: | 147 | echo "![](https://img.shields.io/github/downloads/${{ github.repository }}/${{ steps.tag.outputs.release_tag }}/total?style=flat-square)" >> release.txt 148 | echo "- FastRhino R68S" >> release.txt 149 | echo "- FriendlyARM NanoPi R2S | R4S | R5C | R5S " >> release.txt 150 | echo "- Xunlong Orange Pi R1 Plus" >> release.txt 151 | 152 | - name: Upload firmware to release 153 | uses: softprops/action-gh-release@v1 154 | if: steps.tag.outputs.status == 'success' && !cancelled() 155 | env: 156 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 157 | with: 158 | name: ${{ env.OPNAME }} 159 | tag_name: ${{ steps.tag.outputs.release_tag }} 160 | body_path: release.txt 161 | files: ${{ env.FIRMWARE }}/* 162 | -------------------------------------------------------------------------------- /.github/workflows/x86_64.yml: -------------------------------------------------------------------------------- 1 | name: x86_64 2 | 3 | on: 4 | repository_dispatch: 5 | workflow_dispatch: 6 | 7 | env: 8 | OPNAME: 'x86_64' 9 | REPO_URL: https://github.com/coolsnowwolf/lede 10 | REPO_BRANCH: master 11 | FEEDS_CONF: feeds.conf.default 12 | EXTERNAL_FILE: configs/luci/Standard.config 13 | CONFIG_FILE: configs/x86_64.config 14 | SYS_CONF_SH: configure.sh 15 | PACKS: package.sh 16 | EXTEND_DRIVER: true 17 | UPLOAD_BIN_DIR: false 18 | UPLOAD_FIRMWARE: true 19 | UPLOAD_RELEASE: true 20 | TZ: Asia/Shanghai 21 | 22 | jobs: 23 | build: 24 | runs-on: ubuntu-22.04 25 | 26 | steps: 27 | - name: Checkout 28 | uses: actions/checkout@v4 29 | 30 | - name: Initialization environment 31 | env: 32 | DEBIAN_FRONTEND: noninteractive 33 | run: | 34 | sudo rm -rf /etc/apt/sources.list.d/* 35 | sudo -E apt-get -qq update 36 | sudo -E apt-get -qq install $(curl -fsSL https://raw.githubusercontent.com/bigbugcc/openwrts/master/openwrt-env) 37 | sudo -E apt-get -qq autoremove --purge 38 | sudo -E apt-get -qq clean 39 | sudo timedatectl set-timezone "$TZ" 40 | sudo mkdir -p /mnt/workdir 41 | sudo chown $USER:$GROUPS /mnt/workdir 42 | 43 | - name: Clone source code 44 | working-directory: /mnt/workdir 45 | run: | 46 | df -hT $PWD 47 | git clone --depth 1 $REPO_URL -b $REPO_BRANCH openwrt 48 | ln -sf /mnt/workdir/openwrt $GITHUB_WORKSPACE/openwrt 49 | 50 | - name: Cache 51 | uses: stupidloud/cachewrtbuild@main 52 | with: 53 | ccache: 'true' 54 | mixkey: 'x86' 55 | prefix: 'openwrt' 56 | 57 | - name: Load custom feeds 58 | run: | 59 | [ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default 60 | chmod +x $SYS_CONF_SH 61 | cd openwrt 62 | $GITHUB_WORKSPACE/$SYS_CONF_SH 63 | 64 | - name: Update feeds 65 | run: cd openwrt && ./scripts/feeds update -a 66 | 67 | - name: Install feeds 68 | run: cd openwrt && ./scripts/feeds install -a 69 | 70 | - name: Load custom configuration 71 | run: | 72 | [ -e files ] && mv files openwrt/files 73 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 74 | chmod +x $PACKS 75 | cd openwrt 76 | $GITHUB_WORKSPACE/$PACKS 77 | 78 | - name: Extend Driver 79 | if: env.EXTEND_DRIVER == 'true' 80 | run: | 81 | cat configs/Driver.config >> openwrt/.config 82 | 83 | - name: Modify configuration 84 | run: | 85 | cat $EXTERNAL_FILE >> openwrt/.config 86 | cd openwrt && make defconfig 87 | sed -i '/CONFIG_DEFAULT_luci/'d .config 88 | cat .config 89 | 90 | - name: Download package 91 | id: package 92 | run: | 93 | cd openwrt 94 | make download -j$(nproc) 95 | find dl -size -1024c -exec ls -l {} \; 96 | find dl -size -1024c -exec rm -f {} \; 97 | 98 | - name: Compile the firmware 99 | id: compile 100 | run: | 101 | cd openwrt 102 | echo -e "$(nproc) thread compile" 103 | make -j$(nproc) V=s || make -j4 V=s 104 | echo "status=success" >> $GITHUB_OUTPUT 105 | grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME 106 | [ -s DEVICE_NAME ] && echo "DEVICE_NAME=_$(cat DEVICE_NAME)" >> $GITHUB_ENV 107 | echo "FILE_DATE=_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 108 | 109 | - name: Check space usage 110 | if: (!cancelled()) 111 | run: df -hT 112 | 113 | - name: Upload bin directory 114 | uses: actions/upload-artifact@main 115 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_BIN_DIR == 'true' 116 | with: 117 | name: OpenWrt_bin${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 118 | path: openwrt/bin 119 | 120 | - name: Organize files 121 | id: organize 122 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_FIRMWARE == 'true' && !cancelled() 123 | run: | 124 | cd openwrt/bin/targets/*/* 125 | rm -rf packages 126 | echo "FIRMWARE=$PWD" >> $GITHUB_ENV 127 | echo "status=success" >> $GITHUB_OUTPUT 128 | 129 | - name: Upload firmware directory 130 | uses: actions/upload-artifact@main 131 | if: steps.organize.outputs.status == 'success' && !cancelled() 132 | with: 133 | name: OpenWrt_firmware${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 134 | path: ${{ env.FIRMWARE }} 135 | 136 | - name: Generate release tag 137 | id: tag 138 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_RELEASE == 'true' && !cancelled() 139 | run: | 140 | echo "== Time:$(date +'%Y-%m-%d %H:%M:%S') ==" 141 | echo "release_tag=$(date +"%Y.%m.%d-%H%M%S")" >> $GITHUB_OUTPUT 142 | touch release.txt 143 | echo "status=success" >> $GITHUB_OUTPUT 144 | 145 | - name: Generate release body 146 | if: steps.compile.outputs.status == 'success' && !cancelled() 147 | run: | 148 | echo "![](https://img.shields.io/github/downloads/${{ github.repository }}/${{ steps.tag.outputs.release_tag }}/total?style=flat-square)" >> release.txt 149 | 150 | - name: Upload firmware to release 151 | uses: softprops/action-gh-release@v1 152 | if: steps.tag.outputs.status == 'success' && !cancelled() 153 | env: 154 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 155 | with: 156 | name: ${{ env.OPNAME }} 157 | tag_name: ${{ steps.tag.outputs.release_tag }} 158 | body_path: release.txt 159 | files: ${{ env.FIRMWARE }}/* 160 | -------------------------------------------------------------------------------- /.github/workflows/x86_64Lite.yml: -------------------------------------------------------------------------------- 1 | name: x86_64Lite 2 | 3 | on: 4 | repository_dispatch: 5 | workflow_dispatch: 6 | 7 | env: 8 | OPNAME: 'x86_64Lite' 9 | REPO_URL: https://github.com/coolsnowwolf/lede 10 | REPO_BRANCH: master 11 | FEEDS_CONF: feeds.conf.default 12 | EXTERNAL_FILE: configs/luci/Lite.config 13 | CONFIG_FILE: configs/x86_64.config 14 | SYS_CONF_SH: configure.sh 15 | PACKS: package.sh 16 | EXTEND_DRIVER: false 17 | UPLOAD_BIN_DIR: false 18 | UPLOAD_FIRMWARE: true 19 | UPLOAD_RELEASE: true 20 | TZ: Asia/Shanghai 21 | 22 | jobs: 23 | build: 24 | runs-on: ubuntu-22.04 25 | 26 | steps: 27 | - name: Checkout 28 | uses: actions/checkout@v4 29 | 30 | - name: Initialization environment 31 | env: 32 | DEBIAN_FRONTEND: noninteractive 33 | run: | 34 | sudo rm -rf /etc/apt/sources.list.d/* 35 | sudo -E apt-get -qq update 36 | sudo -E apt-get -qq install $(curl -fsSL https://raw.githubusercontent.com/bigbugcc/openwrts/master/openwrt-env) 37 | sudo -E apt-get -qq autoremove --purge 38 | sudo -E apt-get -qq clean 39 | sudo timedatectl set-timezone "$TZ" 40 | sudo mkdir -p /mnt/workdir 41 | sudo chown $USER:$GROUPS /mnt/workdir 42 | 43 | - name: Clone source code 44 | working-directory: /mnt/workdir 45 | run: | 46 | df -hT $PWD 47 | git clone --depth 1 $REPO_URL -b $REPO_BRANCH openwrt 48 | ln -sf /mnt/workdir/openwrt $GITHUB_WORKSPACE/openwrt 49 | 50 | - name: Cache 51 | uses: stupidloud/cachewrtbuild@main 52 | with: 53 | ccache: 'true' 54 | mixkey: 'x86' 55 | prefix: 'openwrt' 56 | 57 | - name: Load custom feeds 58 | run: | 59 | [ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default 60 | chmod +x $SYS_CONF_SH 61 | cd openwrt 62 | $GITHUB_WORKSPACE/$SYS_CONF_SH 63 | 64 | - name: Update feeds 65 | run: cd openwrt && ./scripts/feeds update -a 66 | 67 | - name: Install feeds 68 | run: cd openwrt && ./scripts/feeds install -a 69 | 70 | - name: Load custom configuration 71 | run: | 72 | [ -e files ] && mv files openwrt/files 73 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 74 | chmod +x $PACKS 75 | cd openwrt 76 | $GITHUB_WORKSPACE/$PACKS 77 | 78 | - name: Extend Driver 79 | if: env.EXTEND_DRIVER == 'true' 80 | run: | 81 | cat configs/Driver.config >> openwrt/.config 82 | 83 | - name: Modify configuration 84 | run: | 85 | cat $EXTERNAL_FILE >> openwrt/.config 86 | cd openwrt && make defconfig 87 | sed -i '/CONFIG_DEFAULT_luci/'d .config 88 | cat .config 89 | 90 | - name: Download package 91 | id: package 92 | run: | 93 | cd openwrt 94 | make download -j$(nproc) 95 | find dl -size -1024c -exec ls -l {} \; 96 | find dl -size -1024c -exec rm -f {} \; 97 | 98 | - name: Compile the firmware 99 | id: compile 100 | run: | 101 | cd openwrt 102 | echo -e "$(nproc) thread compile" 103 | make -j$(nproc) V=s || make -j4 V=s 104 | echo "status=success" >> $GITHUB_OUTPUT 105 | grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME 106 | [ -s DEVICE_NAME ] && echo "DEVICE_NAME=_$(cat DEVICE_NAME)" >> $GITHUB_ENV 107 | echo "FILE_DATE=_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 108 | 109 | - name: Check space usage 110 | if: (!cancelled()) 111 | run: df -hT 112 | 113 | - name: Upload bin directory 114 | uses: actions/upload-artifact@main 115 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_BIN_DIR == 'true' 116 | with: 117 | name: OpenWrt_bin${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 118 | path: openwrt/bin 119 | 120 | - name: Organize files 121 | id: organize 122 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_FIRMWARE == 'true' && !cancelled() 123 | run: | 124 | cd openwrt/bin/targets/*/* 125 | rm -rf packages 126 | echo "FIRMWARE=$PWD" >> $GITHUB_ENV 127 | echo "status=success" >> $GITHUB_OUTPUT 128 | 129 | - name: Upload firmware directory 130 | uses: actions/upload-artifact@main 131 | if: steps.organize.outputs.status == 'success' && !cancelled() 132 | with: 133 | name: OpenWrt_firmware${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 134 | path: ${{ env.FIRMWARE }} 135 | 136 | - name: Generate release tag 137 | id: tag 138 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_RELEASE == 'true' && !cancelled() 139 | run: | 140 | echo "== Time:$(date +'%Y-%m-%d %H:%M:%S') ==" 141 | echo "release_tag=$(date +"%Y.%m.%d-%H%M%S")" >> $GITHUB_OUTPUT 142 | touch release.txt 143 | echo "status=success" >> $GITHUB_OUTPUT 144 | 145 | - name: Generate release body 146 | if: steps.compile.outputs.status == 'success' && !cancelled() 147 | run: | 148 | echo "![](https://img.shields.io/github/downloads/${{ github.repository }}/${{ steps.tag.outputs.release_tag }}/total?style=flat-square)" >> release.txt 149 | 150 | - name: Upload firmware to release 151 | uses: softprops/action-gh-release@v1 152 | if: steps.tag.outputs.status == 'success' && !cancelled() 153 | env: 154 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 155 | with: 156 | name: ${{ env.OPNAME }} 157 | tag_name: ${{ steps.tag.outputs.release_tag }} 158 | body_path: release.txt 159 | files: ${{ env.FIRMWARE }}/* -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 bigbugcc 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. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Action Openwrt 云自动编译 2 | ⏰ **每周自动拉取最新源码自动编译** 3 | 4 | [![Contributors][contributors-shield]][contributors-url] 5 | [![Forks][forks-shield]][forks-url] 6 | [![Stargazers][stars-shield]][stars-url] 7 | [![Issues][issues-shield]][issues-url] 8 | [![MIT License][license-shield]][license-url] 9 | 10 |
11 | 12 |

13 | 14 | Logo 15 | 16 |

Openwrt/LEDE 云编译(带应用商店)

17 |

18 | 👉 每周定时自动拉取Openwrt最新源码编译,自动发布到 [ Releases ]👈 19 |
20 | 探索本项目的文档 » 21 |
22 |
23 | 下载地址 24 | · 25 | Action 26 | · 27 | 提出新特性 28 |

29 | 30 |

31 | 32 | ## 目录 33 | 34 | - [Action Openwrt 云自动编译](#action-openwrt-云自动编译) 35 | - [目录](#目录) 36 | - [支持的设备](#支持的设备) 37 | - [🎯固件默认设置](#固件默认设置) 38 | - [固件特性](#固件特性) 39 | - [自带插件](#自带插件) 40 | - [文件目录说明](#文件目录说明) 41 | - [定制固件](#定制固件) 42 | - [注意事项](#注意事项) 43 | - [固件预览](#固件预览) 44 | - [版权说明](#版权说明) 45 | - [项目支持](#项目支持) 46 | - [Stargazers over time](#stargazers-over-time) 47 | 48 |
49 | 50 | 51 | ## 支持的设备 52 | 🎯 带应用商店的固件:`x86Lite` 53 | | 支持的设备 | 固类别 | Action | 状态 | 下载页 | 54 | | :------------------------: | :---------------------: | :-------------------: | :-------------------: | :--------------------------: | 55 | | x86_64 | [LEDE](https://github.com/coolsnowwolf/lede) |[🍕](https://github.com/bigbugcc/OpenWrts/actions/workflows/x86_64.yml) | ![x86_64](https://github.com/bigbugcc/openwrts/actions/workflows/x86_64.yml/badge.svg) | [✔](https://github.com/bigbugcc/OpenWrts/releases) | 56 | | x86_64Lite | [LEDE](https://github.com/coolsnowwolf/lede) |[🍕](https://github.com/bigbugcc/OpenWrts/actions/workflows/x86_64Lite.yml) | ![x86_64Lite](https://github.com/bigbugcc/openwrts/actions/workflows/x86_64Lite.yml/badge.svg) | [✔](https://github.com/bigbugcc/OpenWrts/releases) | 57 | | 树莓派 3B/3B+ | [LEDE](https://github.com/coolsnowwolf/lede) | [🍕](https://github.com/bigbugcc/OpenWrts/actions/workflows/RaspberryPi3.yml) | ![RaspberryPi3](https://github.com/bigbugcc/openwrts/actions/workflows/RaspberryPi3.yml/badge.svg) | [✔](https://github.com/bigbugcc/OpenWrts/releases) | 58 | | 树莓派 4B | [LEDE](https://github.com/coolsnowwolf/lede) | [🍕](https://github.com/bigbugcc/OpenWrts/actions/workflows/RaspberryPi4.yml) | ![RaspberryPi4](https://github.com/bigbugcc/openwrts/actions/workflows/RaspberryPi4.yml/badge.svg) | [✔](https://github.com/bigbugcc/OpenWrts/releases) | 59 | | 树莓派 5 | [LEDE](https://github.com/coolsnowwolf/lede) | [🍕](https://github.com/bigbugcc/OpenWrts/actions/workflows/RaspberryPi5.yml) | ![RaspberryPi5](https://github.com/bigbugcc/openwrts/actions/workflows/RaspberryPi5.yml/badge.svg) | [✔](https://github.com/bigbugcc/OpenWrts/releases) | 60 | | NanoPi R2S | [LEDE](https://github.com/coolsnowwolf/lede) | [🍕](https://github.com/bigbugcc/OpenWrts/actions/workflows/Rockchip.yml) | ![R2S](https://github.com/bigbugcc/openwrts/actions/workflows/Rockchip.yml/badge.svg) | [✔](https://github.com/bigbugcc/OpenWrts/releases) | 61 | | NanoPi R4S | [LEDE](https://github.com/coolsnowwolf/lede) | [🍕](https://github.com/bigbugcc/OpenWrts/actions/workflows/Rockchip.yml) | ![R4S](https://github.com/bigbugcc/openwrts/actions/workflows/Rockchip.yml/badge.svg) | [✔](https://github.com/bigbugcc/OpenWrts/releases) | 62 | | NanoPi R5C | [LEDE](https://github.com/coolsnowwolf/lede) | [🍕](https://github.com/bigbugcc/OpenWrts/actions/workflows/Rockchip.yml) | ![R5C](https://github.com/bigbugcc/openwrts/actions/workflows/Rockchip.yml/badge.svg) | [✔](https://github.com/bigbugcc/OpenWrts/releases) | 63 | | NanoPi R5S | [LEDE](https://github.com/coolsnowwolf/lede) | [🍕](https://github.com/bigbugcc/OpenWrts/actions/workflows/Rockchip.yml) | ![R5S](https://github.com/bigbugcc/openwrts/actions/workflows/Rockchip.yml/badge.svg) | [✔](https://github.com/bigbugcc/OpenWrts/releases) | 64 | | FastRhino R68S | [LEDE](https://github.com/coolsnowwolf/lede) | [🍕](https://github.com/bigbugcc/OpenWrts/actions/workflows/Rockchip.yml) | ![R68S](https://github.com/bigbugcc/openwrts/actions/workflows/Rockchip.yml/badge.svg) | [✔](https://github.com/bigbugcc/OpenWrts/releases) | 65 | | Orange Pi R1 Plus | [LEDE](https://github.com/coolsnowwolf/lede) | [🍕](https://github.com/bigbugcc/OpenWrts/actions/workflows/Rockchip.yml) | ![OrangePiR1](https://github.com/bigbugcc/openwrts/actions/workflows/Rockchip.yml/badge.svg) | [✔](https://github.com/bigbugcc/OpenWrts/releases) | 66 | 67 |
68 | 69 | ### 🎯固件默认设置 70 | - 路由器地址: `192.168.10.1` 71 | - 默认用户名: `root` 72 | - 默认密码 : `password` 73 | 74 |
75 | 76 | ## 固件特性 77 | ⏰ 固件编译改为`周更`(稳定为主,减少资源浪费) 78 | 79 | ✨ iStore应用商店 [AppStore](./assets/images/appstore.png) 80 | 81 | ✨ 自带常用的插件 82 | 83 | ✨ Arm集成所有openwrt的USB驱动 84 | 85 | ✨ ~~集成Python3.x(带pip)环境~~ 86 | 87 | ✨ 集成Docker-CE 88 | 89 | ✨ ~~集成Node.js(14.xLTS 带npm、yarn)~~ 90 | 91 | ✨ 全新的 [Them](https://github.com/jerrykuku/luci-theme-argon) 92 | 93 | ✨ x86_64 vmdk固件集成vm-tools 94 | 95 | ✨ x86_64 iso格式镜像 96 | 97 | ✨ x86_64 Lite版本(必要插件&应用商店) 98 | 99 |
100 | 101 | ## 自带插件 102 | 🍕 默认插件 103 | - PassWall2 / SSR Plus / OpenClash 104 | - AdGuard Home 105 | - Mentohust 106 | - ~~luci-app-vssr~~ 107 | - luci-adbyby-plus 108 | - luci-app-unblockmusic 109 | - luci-app-ddns 110 | - luci-app-pushbot (全能推送) 111 | - luci-app-onliner 112 | - luci-app-ttyd 113 | - luci-app-turboacc 114 | - luci-app-upnp 115 | - luci-app-netdata 116 | - luci-usb-printer 117 | - luci-app-nps 118 | - luci-app-frpc 119 | - luci-app-n2n 120 | - luci-app-syncdial (多播插件) 121 | - luci-app-turboacc 122 | - luci-app-kms 123 | - luci-app-docker 124 | - luci-app-serverchan 125 | - luci-app-control-timewol (定时wol唤醒) 126 | - luci-app-aliyundrive-webdav (阿里云盘) 127 | - luci-app-filebrowser 128 | - luci-app-nfs 129 | ...... 130 | 131 |
132 | 133 | ## 文件目录说明 134 | eg: 135 | 136 | ``` 137 | filetree 138 | ├── .github/workflows 139 | │ ├── Rockchip.yml 140 | │ ├── RaspberryPi3.yml 141 | │ ├── RaspberryPi4.yml 142 | │ ├── RaspberryPi5.yml 143 | │ ├── x86_64.yml 144 | │ ├── x86_64Lite.yml 145 | │ ├── update-checker.yml 146 | ├── /configs/ (配置文件目录) 147 | │ ├── /luci/ (app插件配置) 148 | │ | ├── Lite.config (简洁配置) 149 | │ | ├── Standard.config (标准配置 大量插件) 150 | │ ├── RPi3.config 151 | │ ├── RPi4.config 152 | │ ├── RPi5.config 153 | │ ├── x86_64.config 154 | │ ├── Rockchip.config 155 | ├── configure.sh (固件参数修改) 156 | ├── package.sh (luci-app) 157 | 158 | Tips: 159 | x86.conf | RPi4.config - 该类型配置文件主要为机型配置文件 160 | Standard.conf / Lite.conf - 主要用于配置固件插件应用 161 | ``` 162 |
163 | 164 | ## 定制固件 165 | 1. Fork 此项目 166 | 2. 按需修改 ```configure.sh``` 和 ```package.sh``` 文件 167 | 3. 上传你自己的 ```xx.config``` 配置文件到configs目录 168 | 4. 添加或修改自己的``````xx.yml``````文件 169 | 5. 最后根据个人喜好修改 ```update-checker.yml``` 需自行添加 ```Actions secrets``` (触发自动编译) 170 | 171 | ### 注意事项: 172 | 📌 修改默认系统参数 👉 ```configure.sh``` 173 | 📌 添加其它Luci插件 👉 ```package.sh``` 174 | 📌 插件 / 应用配置文件 👉 ```configs/Standard.config``` 175 |
176 | 177 | ## 固件预览 178 | **主界面(主题一):** 179 | ![主界面](./assets/images/openwrt.png) 180 | 181 | **应用商店/插件** 182 | ![应用商店/插件](./assets/images/appstore.png) 183 | 184 | **服务/插件:** 185 | ![服务/插件](./assets/images/service.png) 186 | 187 | **网络:** 188 | ![网络](./assets/images/network.png) 189 | 190 | **经典主题二:** 191 | ![登录页](./assets/images/infinityfreedom-theme.png) 192 | 193 | **主界面:** 194 | ![主界面](./assets/images/infinityfreedom-theme-main.png) 195 | 196 | 197 | ## 版权说明 198 | 199 | 该项目签署了MIT 授权许可,详情请参阅 [LICENSE](https://github.com/bigbugcc/OpenWrts/blob/main/LICENSE) 200 | 201 | 202 | ## 项目支持 203 | - [P3TERX/Actions-OpenWrt](https://github.com/P3TERX/Actions-OpenWrt) 204 | - [coolsnowwolf/lede](https://github.com/coolsnowwolf/lede) 205 | - [luci-theme-argon](https://github.com/jerrykuku/luci-theme-argon) 206 | - [istore](https://github.com/linkease/istore) 207 | 208 | ## Stargazers over time 209 | [![Stargazers over time](https://starchart.cc/bigbugcc/OpenWrts.svg)](https://starchart.cc/bigbugcc/OpenWrts) 210 | 211 | 212 | [your-project-path]:https://github.com/bigbugcc/OpenWrts/ 213 | [contributors-shield]: https://img.shields.io/github/contributors/bigbugcc/OpenWrts?style=flat-square 214 | [contributors-url]: https://github.com/bigbugcc/OpenWrts/graphs/contributors 215 | [forks-shield]: https://img.shields.io/github/forks/bigbugcc/OpenWrts?style=flat-square 216 | [forks-url]: https://github.com/bigbugcc/OpenWrts/network/members 217 | [stars-shield]: https://img.shields.io/github/stars/bigbugcc/OpenWrts?style=flat-square 218 | [stars-url]: https://github.com/bigbugcc/OpenWrts/stargazers 219 | [issues-shield]: https://img.shields.io/github/issues/bigbugcc/OpenWrts?style=flat-square 220 | [issues-url]: https://img.shields.io/github/issues/bigbugcc/OpenWrts 221 | [license-shield]: https://img.shields.io/github/license/bigbugcc/OpenWrts?style=flat-square 222 | [license-url]: https://github.com/bigbugcc/OpenWrts/blob/master/LICENSE -------------------------------------------------------------------------------- /assets/images/action1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigbugcc/OpenWrts/73b9cd09852fa806992d564a620ad96d9dae8096/assets/images/action1.jpg -------------------------------------------------------------------------------- /assets/images/appstore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigbugcc/OpenWrts/73b9cd09852fa806992d564a620ad96d9dae8096/assets/images/appstore.png -------------------------------------------------------------------------------- /assets/images/infinityfreedom-theme-main.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigbugcc/OpenWrts/73b9cd09852fa806992d564a620ad96d9dae8096/assets/images/infinityfreedom-theme-main.png -------------------------------------------------------------------------------- /assets/images/infinityfreedom-theme.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigbugcc/OpenWrts/73b9cd09852fa806992d564a620ad96d9dae8096/assets/images/infinityfreedom-theme.png -------------------------------------------------------------------------------- /assets/images/network.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigbugcc/OpenWrts/73b9cd09852fa806992d564a620ad96d9dae8096/assets/images/network.png -------------------------------------------------------------------------------- /assets/images/openwrt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigbugcc/OpenWrts/73b9cd09852fa806992d564a620ad96d9dae8096/assets/images/openwrt.png -------------------------------------------------------------------------------- /assets/images/service.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigbugcc/OpenWrts/73b9cd09852fa806992d564a620ad96d9dae8096/assets/images/service.png -------------------------------------------------------------------------------- /assets/network.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigbugcc/OpenWrts/73b9cd09852fa806992d564a620ad96d9dae8096/assets/network.png -------------------------------------------------------------------------------- /assets/openwrt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigbugcc/OpenWrts/73b9cd09852fa806992d564a620ad96d9dae8096/assets/openwrt.png -------------------------------------------------------------------------------- /assets/service.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigbugcc/OpenWrts/73b9cd09852fa806992d564a620ad96d9dae8096/assets/service.png -------------------------------------------------------------------------------- /configs/Driver.config: -------------------------------------------------------------------------------- 1 | ## File System Drivers 2 | CONFIG_PACKAGE_kmod-fs-f2fs=y 3 | CONFIG_PACKAGE_kmod-fs-nfs=y 4 | CONFIG_PACKAGE_kmod-fs-nfs-common=y 5 | CONFIG_PACKAGE_kmod-fs-nfs-common-rpcsec=y 6 | CONFIG_PACKAGE_kmod-fs-nfs-v3=y 7 | CONFIG_PACKAGE_kmod-fs-nfs-v4=y 8 | CONFIG_PACKAGE_kmod-fs-nfsd=y 9 | CONFIG_PACKAGE_kmod-fs-squashfs=y 10 | CONFIG_PACKAGE_kmod-fs-xfs=y 11 | 12 | ## I2C Drivers 13 | CONFIG_PACKAGE_kmod-i2c-core=y 14 | ## Network Support 15 | ### Dependence for OpenClash 16 | CONFIG_PACKAGE_kmod-inet-diag=y 17 | ## USB Drivers 18 | ### USB Audio 19 | CONFIG_PACKAGE_kmod-usb-audio=y 20 | 21 | ### USB Net Drivers 22 | CONFIG_PACKAGE_kmod-usb-net=y 23 | CONFIG_PACKAGE_kmod-usb-net-asix=y 24 | CONFIG_PACKAGE_kmod-usb-net-asix-ax88179=y 25 | CONFIG_PACKAGE_kmod-usb-net-rtl8152=y 26 | CONFIG_PACKAGE_kmod-usb-net-cdc-eem=y 27 | CONFIG_PACKAGE_kmod-usb-net-cdc-ether=y 28 | CONFIG_PACKAGE_kmod-usb-net-cdc-mbim=y 29 | CONFIG_PACKAGE_kmod-usb-net-cdc-ncm=y 30 | CONFIG_PACKAGE_kmod-usb-net-cdc-subset=y 31 | CONFIG_PACKAGE_kmod-usb-net-dm9601-ether=y 32 | CONFIG_PACKAGE_kmod-usb-net-hso=y 33 | CONFIG_PACKAGE_kmod-usb-net-huawei-cdc-ncm=y 34 | CONFIG_PACKAGE_kmod-usb-net-ipheth=y 35 | CONFIG_PACKAGE_kmod-usb-net-kalmia=y 36 | CONFIG_PACKAGE_kmod-usb-net-kaweth=y 37 | CONFIG_PACKAGE_kmod-usb-net-mcs7830=y 38 | CONFIG_PACKAGE_kmod-usb-net-pegasus=y 39 | CONFIG_PACKAGE_kmod-usb-net-pl=y 40 | CONFIG_PACKAGE_kmod-usb-net-qmi-wwan=y 41 | CONFIG_PACKAGE_kmod-usb-net-rndis=y 42 | CONFIG_PACKAGE_kmod-usb-net-sierrawireless=y 43 | CONFIG_PACKAGE_kmod-usb-net-smsc95xx=y 44 | CONFIG_PACKAGE_kmod-usb-net-sr9700=y 45 | CONFIG_PACKAGE_kmod-usb-net2280=y 46 | 47 | ### USB Storage Drivers 48 | CONFIG_PACKAGE_kmod-usb-ohci=y 49 | CONFIG_PACKAGE_kmod-usb-ohci-pci=y 50 | CONFIG_PACKAGE_kmod-usb-printer=y 51 | CONFIG_PACKAGE_kmod-usb-storage=y 52 | CONFIG_PACKAGE_kmod-usb-storage-extras=y 53 | CONFIG_PACKAGE_kmod-usb-storage-uas=y 54 | CONFIG_PACKAGE_kmod-usb-uhci=y 55 | CONFIG_PACKAGE_kmod-usb2=y 56 | CONFIG_PACKAGE_kmod-usb2-pci=y 57 | CONFIG_PACKAGE_kmod-usb3=y 58 | 59 | # 3G/4G Drivers & Utilities 60 | CONFIG_PACKAGE_comgt-ncm=y 61 | CONFIG_PACKAGE_comgt=y 62 | CONFIG_PACKAGE_kmod-mii=y 63 | CONFIG_PACKAGE_kmod-usb-acm=y 64 | CONFIG_PACKAGE_kmod-usb-serial=y 65 | CONFIG_PACKAGE_kmod-usb-serial-option=y 66 | CONFIG_PACKAGE_kmod-usb-serial-wwan=y 67 | CONFIG_PACKAGE_luci-proto-3g=y 68 | CONFIG_PACKAGE_luci-proto-ncm=y 69 | CONFIG_PACKAGE_luci-proto-qmi=y 70 | CONFIG_PACKAGE_qmi-utils=y 71 | CONFIG_PACKAGE_umbim=y 72 | CONFIG_PACKAGE_uqmi=y 73 | CONFIG_PACKAGE_usb-modeswitch=y 74 | # Mobile Network Sharing 75 | CONFIG_PACKAGE_libimobiledevice-utils=y 76 | CONFIG_PACKAGE_libplist-utils=y 77 | CONFIG_PACKAGE_libudev-fbsd=y 78 | CONFIG_PACKAGE_libusbmuxd-utils=y 79 | CONFIG_PACKAGE_usbmuxd=y 80 | CONFIG_PACKAGE_smartdns=y 81 | 82 | ## Python 83 | #CONFIG_PACKAGE_python-pip-conf=y 84 | #CONFIG_PACKAGE_python3=y -------------------------------------------------------------------------------- /configs/RPi3B.config: -------------------------------------------------------------------------------- 1 | # Target Config 2 | CONFIG_TARGET_bcm27xx=y 3 | CONFIG_TARGET_bcm27xx_bcm2710=y 4 | CONFIG_TARGET_bcm27xx_bcm2710_DEVICE_rpi-3=y -------------------------------------------------------------------------------- /configs/RPi4.config: -------------------------------------------------------------------------------- 1 | # Target Config 2 | CONFIG_TARGET_bcm27xx=y 3 | CONFIG_TARGET_bcm27xx_bcm2711=y 4 | CONFIG_TARGET_bcm27xx_bcm2711_DEVICE_rpi-4=y -------------------------------------------------------------------------------- /configs/RPi5.config: -------------------------------------------------------------------------------- 1 | # Target Config 2 | CONFIG_TARGET_bcm27xx=y 3 | CONFIG_TARGET_bcm27xx_bcm2712=y 4 | CONFIG_TARGET_bcm27xx_bcm2712_DEVICE_rpi-5=y -------------------------------------------------------------------------------- /configs/Rockchip.config: -------------------------------------------------------------------------------- 1 | CONFIG_MODULES=y 2 | CONFIG_TARGET_rockchip=y 3 | CONFIG_TARGET_rockchip_armv8=y 4 | CONFIG_TARGET_MULTI_PROFILE=y 5 | 6 | CONFIG_TARGET_DEVICE_rockchip_armv8_DEVICE_fastrhino_r68s=y 7 | CONFIG_TARGET_DEVICE_rockchip_armv8_DEVICE_friendlyarm_nanopi-r2c=y 8 | CONFIG_TARGET_DEVICE_rockchip_armv8_DEVICE_friendlyarm_nanopi-r2s=y 9 | CONFIG_TARGET_DEVICE_rockchip_armv8_DEVICE_friendlyarm_nanopi-r4s=y 10 | CONFIG_TARGET_DEVICE_rockchip_armv8_DEVICE_friendlyarm_nanopi-r5c=y 11 | CONFIG_TARGET_DEVICE_rockchip_armv8_DEVICE_friendlyarm_nanopi-r5s=y 12 | CONFIG_TARGET_DEVICE_rockchip_armv8_DEVICE_xunlong_orangepi-r1-plus=y -------------------------------------------------------------------------------- /configs/luci/Lite.config: -------------------------------------------------------------------------------- 1 | # Root filesystem images 2 | CONFIG_TARGET_ROOTFS_EXT4FS=y 3 | CONFIG_TARGET_KERNEL_PARTSIZE=64 4 | CONFIG_TARGET_ROOTFS_PARTSIZE=800 5 | 6 | # Ipv6 Support 7 | CONFIG_IPV6=y 8 | CONFIG_PACKAGE_ipv6helper=y 9 | 10 | # Wireguard Support 11 | CONFIG_PACKAGE_luci-proto-wireguard=y 12 | 13 | #============================== LuCI ==============================# 14 | # Applications 15 | # >>> Default App Disable <<< 16 | # CONFIG_PACKAGE_luci-app-vlmcsd is not set 17 | # CONFIG_PACKAGE_luci-app-arpbind is not set 18 | # CONFIG_PACKAGE_luci-app-ddns is not set 19 | # CONFIG_PACKAGE_luci-app-upnp is not set 20 | # CONFIG_PACKAGE_luci-app-vsftpd is not set 21 | # CONFIG_PACKAGE_luci-app-wol is not set 22 | # CONFIG_PACKAGE_luci-app-rclone_INCLUDE_rclone-webui is not set 23 | # CONFIG_PACKAGE_luci-app-rclone_INCLUDE_rclone-ng is not set 24 | # CONFIG_PACKAGE_luci-app-unblockmusic_INCLUDE_UnblockNeteaseMusic_Go is not set 25 | 26 | CONFIG_PACKAGE_luci-app-openclash=y 27 | CONFIG_PACKAGE_luci-app-store=y 28 | CONFIG_PACKAGE_luci-app-autoreboot=y 29 | CONFIG_PACKAGE_luci-app-docker=y 30 | 31 | 32 | CONFIG_PACKAGE_luci-app-dockerman=y 33 | CONFIG_PACKAGE_luci-app-filetransfer=y 34 | CONFIG_PACKAGE_luci-app-firewall=y 35 | CONFIG_PACKAGE_luci-app-netdata=y 36 | CONFIG_PACKAGE_luci-app-oaf=y 37 | CONFIG_PACKAGE_appfilter=y 38 | CONFIG_PACKAGE_kmod-oaf=y 39 | CONFIG_PACKAGE_luci-app-onliner=y 40 | CONFIG_PACKAGE_luci-app-ssr-plus=y 41 | CONFIG_PACKAGE_luci-app-passwall2=y 42 | CONFIG_PACKAGE_luci-app-ttyd=y 43 | CONFIG_PACKAGE_luci-app-smartdns=y 44 | CONFIG_PACKAGE_luci-app-accesscontrol=y 45 | CONFIG_PACKAGE_luci-app-turboacc=y 46 | CONFIG_PACKAGE_luci-app-turboacc_INCLUDE_PDNSD=y 47 | CONFIG_PACKAGE_luci-app-turboacc_INCLUDE_DNSFORWARDER=y 48 | CONFIG_PACKAGE_luci-app-turboacc_INCLUDE_DNSPROXY=y 49 | 50 | # 4. Themes 51 | CONFIG_PACKAGE_luci-theme-argon=y 52 | CONFIG_PACKAGE_luci-theme-bootstrap=y 53 | CONFIG_PACKAGE_luci-theme-material=y 54 | 55 | # Lang Support 56 | CONFIG_LUCI_LANG_en=y 57 | CONFIG_LUCI_LANG_zh-cn=y 58 | CONFIG_LUCI_LANG_zh-tw=y 59 | #============================== end of LuCI ==============================# -------------------------------------------------------------------------------- /configs/luci/Standard.config: -------------------------------------------------------------------------------- 1 | # Root filesystem images 2 | CONFIG_TARGET_ROOTFS_EXT4FS=y 3 | CONFIG_TARGET_KERNEL_PARTSIZE=64 4 | CONFIG_TARGET_ROOTFS_PARTSIZE=900 5 | 6 | # Ipv6 Support 7 | CONFIG_IPV6=y 8 | CONFIG_PACKAGE_ipv6helper=y 9 | 10 | #============================== LuCI ==============================# 11 | # CONFIG_PACKAGE_luci-app-unblockmusic_INCLUDE_UnblockNeteaseMusic_Go is not set 12 | # Applications 13 | CONFIG_PACKAGE_luci-app-openclash=y 14 | CONFIG_PACKAGE_luci-app-accesscontrol=y 15 | CONFIG_PACKAGE_luci-app-adguardhome=y 16 | CONFIG_PACKAGE_luci-app-arpbind=y 17 | CONFIG_PACKAGE_luci-app-autoreboot=y 18 | CONFIG_PACKAGE_luci-app-cifs-mount=y 19 | CONFIG_PACKAGE_luci-app-commands=y 20 | CONFIG_PACKAGE_luci-app-control-timewol=y 21 | CONFIG_PACKAGE_luci-app-ddns=y 22 | CONFIG_PACKAGE_luci-app-docker=y 23 | CONFIG_PACKAGE_luci-app-dockerman=y 24 | CONFIG_PACKAGE_luci-app-filebrowser=y 25 | CONFIG_PACKAGE_luci-app-filetransfer=y 26 | CONFIG_PACKAGE_luci-app-firewall=y 27 | CONFIG_PACKAGE_luci-app-frpc=y 28 | CONFIG_PACKAGE_luci-app-ipsec-vpnd=y 29 | CONFIG_PACKAGE_mentohust=y 30 | CONFIG_PACKAGE_luci-app-mentohust=y 31 | CONFIG_PACKAGE_luci-app-mwan3=y 32 | CONFIG_PACKAGE_luci-app-n2n=y 33 | CONFIG_PACKAGE_luci-app-netdata=y 34 | CONFIG_PACKAGE_luci-app-nfs=y 35 | CONFIG_PACKAGE_luci-app-nlbwmon=y 36 | CONFIG_PACKAGE_luci-app-nps=y 37 | CONFIG_PACKAGE_luci-app-oaf=y 38 | CONFIG_PACKAGE_appfilter=y 39 | CONFIG_PACKAGE_kmod-oaf=y 40 | CONFIG_PACKAGE_luci-app-diskman=y 41 | CONFIG_PACKAGE_luci-app-onliner=y 42 | CONFIG_PACKAGE_luci-app-openvpn=y 43 | CONFIG_PACKAGE_luci-app-passwall2=y 44 | CONFIG_PACKAGE_luci-app-pushbot=y 45 | CONFIG_PACKAGE_luci-app-qbittorrent_static=y 46 | CONFIG_PACKAGE_luci-app-qbittorrent-simple_dynamic=y 47 | CONFIG_PACKAGE_luci-app-qos=y 48 | CONFIG_PACKAGE_luci-app-samba4=y 49 | CONFIG_PACKAGE_luci-app-serverchan=y 50 | CONFIG_PACKAGE_luci-app-softethervpn=y 51 | CONFIG_PACKAGE_luci-app-ssr-plus=y 52 | CONFIG_PACKAGE_luci-app-syncdial=y 53 | CONFIG_PACKAGE_luci-app-ttyd=y 54 | CONFIG_PACKAGE_luci-app-turboacc=y 55 | CONFIG_PACKAGE_luci-app-turboacc_INCLUDE_PDNSD=y 56 | CONFIG_PACKAGE_luci-app-turboacc_INCLUDE_DNSFORWARDER=y 57 | CONFIG_PACKAGE_luci-app-turboacc_INCLUDE_DNSPROXY=y 58 | CONFIG_PACKAGE_luci-app-upnp=y 59 | CONFIG_PACKAGE_luci-app-usb-printer=y 60 | CONFIG_PACKAGE_luci-app-vlmcsd=y 61 | CONFIG_PACKAGE_luci-app-vsftpd=y 62 | CONFIG_PACKAGE_luci-app-wireguard=y 63 | CONFIG_PACKAGE_luci-app-wol=y 64 | CONFIG_PACKAGE_luci-app-zerotier=y 65 | CONFIG_PACKAGE_luci-app-smartdns=y 66 | # end of Applications 67 | 68 | # Lang Support 69 | CONFIG_LUCI_LANG_en=y 70 | CONFIG_LUCI_LANG_zh-cn=y 71 | CONFIG_LUCI_LANG_zh-tw=y 72 | 73 | # Themes 74 | CONFIG_PACKAGE_luci-theme-argon=y 75 | CONFIG_PACKAGE_luci-theme-bootstrap=y 76 | CONFIG_PACKAGE_luci-theme-infinityfreedom=y 77 | CONFIG_PACKAGE_luci-theme-material=y 78 | CONFIG_PACKAGE_luci-theme-netgear=y 79 | CONFIG_PACKAGE_luci-theme-neobird=y 80 | # end of Themes 81 | 82 | #============================== end of LuCI ==============================# 83 | 84 | ## Python 85 | #CONFIG_PACKAGE_python-pip-conf=y 86 | #CONFIG_PACKAGE_python3=y -------------------------------------------------------------------------------- /configs/x86_64.config: -------------------------------------------------------------------------------- 1 | # Target Config 2 | CONFIG_TARGET_x86=y 3 | CONFIG_TARGET_x86_64=y 4 | CONFIG_TARGET_x86_64_DEVICE_generic=y 5 | CONFIG_ISO_IMAGES=y 6 | CONFIG_VMDK_IMAGES=y -------------------------------------------------------------------------------- /configure.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Modify default system settings 3 | 4 | # 暂时回滚 5 | sed -i '/^#src-git luci https:\/\/github.com\/coolsnowwolf\/luci$/s/^#//' feeds.conf.default && sed -i '/^src-git luci https:\/\/github.com\/coolsnowwolf\/luci\.git;openwrt-23\.05$/s/^/#/' feeds.conf.default 6 | 7 | # 修改默认IP为192.168.10.1 8 | sed -i 's/192.168.1.1/192.168.10.1/g' package/base-files/files/bin/config_generate 9 | 10 | # Hello World 11 | echo 'src-git helloworld https://github.com/fw876/helloworld' >>feeds.conf.default 12 | 13 | # luci-theme-infinityfreedom 14 | echo 'src-git infinityfreedom https://github.com/xiaoqingfengATGH/luci-theme-infinityfreedom.git' >>feeds.conf.default 15 | 16 | # passwall 17 | echo "src-git passwall_packages https://github.com/xiaorouji/openwrt-passwall-packages.git;main" >> feeds.conf.default 18 | echo "src-git passwall2 https://github.com/xiaorouji/openwrt-passwall2.git;main" >> feeds.conf.default 19 | 20 | # iStore 21 | echo "src-git istore https://github.com/linkease/istore;main" >> feeds.conf.default 22 | 23 | # 替换默认主题 24 | rm -rf package/lean/luci-theme-argon 25 | git clone -b 18.06 https://github.com/jerrykuku/luci-theme-argon.git package/lean/luci-theme-argon -------------------------------------------------------------------------------- /openwrt-env: -------------------------------------------------------------------------------- 1 | ack antlr3 asciidoc autoconf automake autopoint binutils bison build-essential bzip2 ccache clang cmake cpio curl device-tree-compiler flex gawk gcc-multilib g++-multilib gettext genisoimage 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 llvm lrzsz msmtp ninja-build p7zip p7zip-full patch pkgconf python3 python3-pyelftools python3-setuptools qemu-utils rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev -------------------------------------------------------------------------------- /package.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | git clone --depth 1 https://github.com/bigbugcc/OpenwrtApp package/otherapp/OpenwrtApp 3 | git clone --depth 1 https://github.com/destan19/OpenAppFilter package/otherapp/OpenAppFilter 4 | git clone --depth 1 https://github.com/zzsj0928/luci-app-pushbot package/otherapp/luci-app-pushbot 5 | 6 | # Theme 7 | # luci-theme-neobird 8 | git clone --depth 1 https://github.com/thinktip/luci-theme-neobird.git package/otherapp/luci-theme-neobird 9 | 10 | # Mentohust 11 | git clone --depth 1 https://github.com/KyleRicardo/MentoHUST-OpenWrt-ipk.git package/otherapp/mentohust 12 | 13 | # UnblockNeteaseMusic 14 | git clone --depth 1 -b master https://github.com/UnblockNeteaseMusic/luci-app-unblockneteasemusic.git package/unblockneteasemusic 15 | 16 | # OpenClash 17 | git clone --depth 1 https://github.com/vernesong/OpenClash.git package/luci-app-openclash --------------------------------------------------------------------------------