├── .github └── workflows │ ├── X86-64-20230416.yml │ ├── build-gdock-20230413.yml │ ├── new3-openclash.yml │ ├── newifi3-20230413.yml │ ├── 备份X86-64-20230409.yml │ └── 备份build-gdock-20230408.yml ├── README.md ├── X86-20230409.config ├── X86-20230416.config ├── banner ├── banner-newifi3 ├── diy-newifi3.sh ├── diy.sh ├── diy └── qntfs-driver │ ├── Makefile │ └── files │ ├── ipq40xx-generic │ └── qntfs.ko │ └── qualcomm-ipq40xx │ └── qntfs.ko ├── diy文件备份.sh ├── jdy20230408.config ├── jdy20230416.config ├── luci-theme-argon ├── Makefile ├── README.md ├── htdocs │ └── luci-static │ │ └── argon │ │ ├── css │ │ ├── purecss.css │ │ ├── style.css │ │ ├── style.css.y │ │ └── style.css.橙 │ │ ├── favicon.ico │ │ ├── fonts │ │ ├── TypoGraphica.eot │ │ ├── TypoGraphica.svg │ │ ├── TypoGraphica.ttf │ │ ├── TypoGraphica.woff │ │ ├── font.eot │ │ ├── font.svg │ │ ├── font.ttf │ │ ├── font.woff │ │ ├── icomoon.eot │ │ ├── icomoon.svg │ │ ├── icomoon.ttf │ │ ├── icomoon.woff │ │ ├── ssr.eot │ │ ├── ssr.svg │ │ ├── ssr.ttf │ │ └── ssr.woff │ │ ├── head-icon.jpg │ │ ├── img │ │ └── bg1.jpg │ │ ├── js │ │ ├── jquery.min.js │ │ └── script.js │ │ └── logo.png ├── luasrc │ └── view │ │ └── themes │ │ └── argon │ │ ├── footer.htm │ │ └── header.htm └── root │ └── etc │ └── uci-defaults │ └── 30_luci-theme-argon ├── new3-20230413.config ├── newifi3-clash0411.config └── screenshots └── r619ac1.png /.github/workflows/X86-64-20230416.yml: -------------------------------------------------------------------------------- 1 | #================================================= 2 | # Description: Build X86-64固件 FROM LEAN'S LEDE 3 | # Author: JK 4 | #================================================= 5 | 6 | #================================================= 7 | name: Build X86-20230416 8 | #================================================= 9 | 10 | on: 11 | release: 12 | types: [published] 13 | # push: 14 | # branches: 15 | # - master 16 | # watch: 17 | # types: [started] 18 | 19 | jobs: 20 | build: 21 | runs-on: ubuntu-latest 22 | 23 | steps: 24 | - name: Checkout 25 | uses: actions/checkout@master 26 | 27 | - name: Space cleanup and Initialization environment 28 | env: 29 | DEBIAN_FRONTEND: noninteractive 30 | run: | 31 | docker rmi `docker images -q` 32 | sudo -E rm -rf /usr/share/dotnet /etc/mysql /etc/php /etc/apt/sources.list.d /usr/local/lib/android 33 | sudo -E apt-mark hold grub-efi-amd64-signed 34 | sudo -E apt update 35 | sudo -E apt -y purge azure-cli* docker* ghc* zulu* llvm* firefox google* dotnet* powershell* openjdk* mysql* php* mongodb* dotnet* moby* snap* 36 | sudo -E apt -y full-upgrade 37 | sudo -E apt -y install ack antlr3 aria2 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 libglib2.0-dev libgmp3-dev libltdl-dev libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libreadline-dev libssl-dev libtool lrzsz mkisofs msmtp nano ninja-build p7zip p7zip-full patch pkgconf python3 python3-pip libpython3-dev qemu-utils rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev 38 | sudo -E systemctl daemon-reload 39 | sudo -E apt -y autoremove --purge 40 | sudo -E apt clean 41 | sudo -E timedatectl set-timezone "Asia/Shanghai" 42 | 43 | 44 | - name: Clone source code 45 | run: | 46 | git clone https://github.com/coolsnowwolf/lede lede 47 | 48 | ##修改lede目录中的feeds.conf.default文件,把第5行的 # 去掉。 49 | #cd lede 50 | #sed -i '5s/#//' feeds.conf.default 51 | 52 | ##*************************************************************************** 53 | ##下载kenzok8/openwrt-packages的源代码 和 passwall依赖库kenzok8/small.git。 54 | - name: Clone openwrt-packages code and small code 55 | run: | 56 | cd lede 57 | sed -i '$a src-git kenzo https://github.com/kenzok8/openwrt-packages' feeds.conf.default 58 | sed -i '$a src-git small https://github.com/kenzok8/small' feeds.conf.default 59 | 60 | ##**************************************************************************** 61 | 62 | 63 | - name: Update feeds 64 | run: cd lede && ./scripts/feeds update -a 65 | 66 | - name: Install feeds 67 | run: cd lede && ./scripts/feeds install -a 68 | 69 | 70 | ##****************************************************** 71 | 72 | 73 | - name: Load custom configuration 74 | run: | 75 | #================================================= 76 | #+++++++++++++++++++++++++++++++++++++++++++++++++ 77 | cp -f X86-20230416.config ./lede/.config 78 | chmod +x diy-newifi3.sh 79 | cd lede 80 | ../diy-newifi3.sh 81 | #++++++++++++++++++++++++++++++++++++++++++++++++ 82 | #================================================= 83 | make defconfig 84 | 85 | - name: Download package 86 | run: | 87 | echo -e "$(nproc) thread build." 88 | cd lede && make download -j$(nproc) 89 | 90 | 91 | - name: Build 92 | run: | 93 | cd lede 94 | echo -e "$(nproc) thread build." 95 | make -j$(nproc) V=s 96 | 97 | ######把上面生成的.config文件拷贝到bin/targets/x86/64/my.config,从而在下载固件时,一起下载回来。 98 | - name: Copy .config to ./bin/targets/x86/64/my.config 99 | run: | 100 | cd lede 101 | cp .config ./bin/targets/x86/64/my.config 102 | 103 | 104 | - name : Upload artifact 105 | uses: actions/upload-artifact@master 106 | with: 107 | #================================================= 108 | name: X86-20230416 109 | path: ./lede/bin 110 | 111 | ###### 把dl库也下载回来 ############### 112 | - name : Upload dl 113 | uses: actions/upload-artifact@master 114 | with: 115 | #================================================= 116 | name: X86-20230416-dl 117 | path: ./lede/dl 118 | -------------------------------------------------------------------------------- /.github/workflows/build-gdock-20230413.yml: -------------------------------------------------------------------------------- 1 | #================================================= 2 | # Description: Build G-DOCK FROM LEAN'S LEDE 3 | # Author: JK 4 | #================================================= 5 | 6 | name: Build 竞斗云-20230416 7 | 8 | on: 9 | release: 10 | types: [published] 11 | # push: 12 | # branches: 13 | # - master 14 | # watch: 15 | # types: [started] 16 | jobs: 17 | build: 18 | runs-on: ubuntu-latest 19 | 20 | steps: 21 | - name: Checkout 22 | uses: actions/checkout@master 23 | 24 | - name: Space cleanup and Initialization environment 25 | env: 26 | DEBIAN_FRONTEND: noninteractive 27 | run: | 28 | docker rmi `docker images -q` 29 | sudo -E rm -rf /usr/share/dotnet /etc/mysql /etc/php /etc/apt/sources.list.d /usr/local/lib/android 30 | sudo -E apt-mark hold grub-efi-amd64-signed 31 | sudo -E apt update 32 | sudo -E apt -y purge azure-cli* docker* ghc* zulu* llvm* firefox google* dotnet* powershell* openjdk* mysql* php* mongodb* dotnet* moby* snap* 33 | sudo -E apt -y full-upgrade 34 | sudo -E apt -y install ack antlr3 aria2 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 libglib2.0-dev libgmp3-dev libltdl-dev libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libreadline-dev libssl-dev libtool lrzsz mkisofs msmtp nano ninja-build p7zip p7zip-full patch pkgconf python3 python3-pip libpython3-dev qemu-utils rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev 35 | sudo -E systemctl daemon-reload 36 | sudo -E apt -y autoremove --purge 37 | sudo -E apt clean 38 | sudo -E timedatectl set-timezone "Asia/Shanghai" 39 | 40 | 41 | - name: Clone source code 42 | run: | 43 | git clone https://github.com/coolsnowwolf/lede lede 44 | 45 | ##修改lede目录中的feeds.conf.default文件,把第5行的 # 去掉。 46 | #cd lede 47 | # sed -i '5s/#//' feeds.conf.default 48 | 49 | ##*************************************************************************** 50 | 51 | ##下载kenzok8/openwrt-packages的源代码 和 passwall依赖库kenzok8/small.git。 52 | - name: Clone openwrt-packages code and small code 53 | run: | 54 | cd lede 55 | sed -i '$a src-git kenzo https://github.com/kenzok8/openwrt-packages' feeds.conf.default 56 | sed -i '$a src-git small https://github.com/kenzok8/small' feeds.conf.default 57 | 58 | 59 | ##**************************************************************************** 60 | 61 | 62 | - name: Update feeds 63 | run: cd lede && ./scripts/feeds update -a 64 | 65 | - name: Install feeds 66 | run: cd lede && ./scripts/feeds install -a 67 | 68 | 69 | - name: Load custom configuration 70 | run: | 71 | cp -f jdy20230416.config ./lede/.config 72 | chmod +x diy.sh 73 | cd lede 74 | ../diy.sh 75 | make defconfig 76 | 77 | - name: Download package 78 | run: | 79 | echo -e "$(nproc) thread build." 80 | cd lede && make download -j$(nproc) 81 | 82 | 83 | - name: Build 84 | run: | 85 | cd lede 86 | echo -e "$(nproc) thread build." 87 | make -j$(nproc) V=s 88 | 89 | 90 | ######把上面生成的.config文件拷贝到bin/targets/ipq40xx/generic/my.config,从而在下载固件时,一起下载回来。 91 | - name: Copy .config to ./bin/targets/ipq40xx/generic/my.config 92 | run: | 93 | cd lede 94 | cp .config ./bin/targets/ipq40xx/generic/my.config 95 | 96 | - name : Upload artifact 97 | uses: actions/upload-artifact@master 98 | with: 99 | name: JDY-20230416 100 | path: ./lede/bin 101 | 102 | 103 | ###### 把dl库也下载回来 ############### 104 | - name : Upload dl 105 | uses: actions/upload-artifact@master 106 | with: 107 | name: JDY-20230416-dl 108 | path: ./lede/dl 109 | -------------------------------------------------------------------------------- /.github/workflows/new3-openclash.yml: -------------------------------------------------------------------------------- 1 | #================================================= 2 | # Description: Buildnewifi3固件 FROM LEAN'S LEDE 3 | # Author: JK 4 | #================================================= 5 | 6 | #================================================= 7 | name: Build newifi3-openclash20230411 8 | #================================================= 9 | 10 | on: 11 | release: 12 | types: [published] 13 | # push: 14 | # branches: 15 | # - master 16 | # watch: 17 | # types: [started] 18 | 19 | jobs: 20 | build: 21 | runs-on: ubuntu-latest 22 | 23 | steps: 24 | - name: Checkout 25 | uses: actions/checkout@master 26 | 27 | - name: Space cleanup and Initialization environment 28 | env: 29 | DEBIAN_FRONTEND: noninteractive 30 | run: | 31 | docker rmi `docker images -q` 32 | sudo -E rm -rf /usr/share/dotnet /etc/mysql /etc/php /etc/apt/sources.list.d /usr/local/lib/android 33 | sudo -E apt-mark hold grub-efi-amd64-signed 34 | sudo -E apt update 35 | sudo -E apt -y purge azure-cli* docker* ghc* zulu* llvm* firefox google* dotnet* powershell* openjdk* mysql* php* mongodb* dotnet* moby* snap* 36 | sudo -E apt -y full-upgrade 37 | sudo -E apt -y install ack antlr3 aria2 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 libglib2.0-dev libgmp3-dev libltdl-dev libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libreadline-dev libssl-dev libtool lrzsz mkisofs msmtp nano ninja-build p7zip p7zip-full patch pkgconf python3 python3-pip libpython3-dev qemu-utils rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev 38 | sudo -E systemctl daemon-reload 39 | sudo -E apt -y autoremove --purge 40 | sudo -E apt clean 41 | sudo -E timedatectl set-timezone "Asia/Shanghai" 42 | 43 | 44 | - name: Clone source code 45 | run: | 46 | git clone https://github.com/coolsnowwolf/lede lede 47 | 48 | ##修改lede目录中的feeds.conf.default文件,把第5行的 # 去掉。 49 | # cd lede 50 | # sed -i '5s/#//' feeds.conf.default 51 | 52 | 53 | ##*************************************************************************** 54 | ##下载kenzok8/openwrt-packages的源代码 和 passwall依赖库kenzok8/small.git。 55 | - name: Clone openwrt-packages code and small code 56 | run: | 57 | cd lede 58 | sed -i '$a src-git kenzo https://github.com/kenzok8/openwrt-packages' feeds.conf.default 59 | sed -i '$a src-git small https://github.com/kenzok8/small' feeds.conf.default 60 | 61 | ##**************************************************************************** 62 | 63 | 64 | - name: Update feeds 65 | run: cd lede && ./scripts/feeds update -a 66 | 67 | - name: Install feeds 68 | run: cd lede && ./scripts/feeds install -a 69 | 70 | 71 | 72 | 73 | 74 | - name: Load custom configuration 75 | run: | 76 | 77 | cp -f newifi3-clash0411.config ./lede/.config 78 | 79 | # chmod +x diy-newifi3.sh 80 | # cd lede 81 | # ../diy-newifi3.sh 82 | cd lede 83 | make defconfig 84 | 85 | - name: Download package 86 | run: | 87 | echo -e "$(nproc) thread build." 88 | cd lede && make download -j$(nproc) 89 | 90 | - name: Build 91 | run: | 92 | cd lede 93 | echo -e "$(nproc) thread build." 94 | make -j$(nproc) V=s 95 | 96 | ######把上面生成的.config文件拷贝到bin/targets/ramips/mt7621/my.config,从而在下载固件时,一起下载回来。 97 | - name: Copy .config to ./bin/targets/ramips/mt7621/my.config 98 | run: | 99 | cd lede 100 | cp .config ./bin/targets/ramips/mt7621/my.config 101 | 102 | - name : Upload artifact 103 | uses: actions/upload-artifact@master 104 | with: 105 | #================================================= 106 | name: newifi3-openclash20230411 107 | path: ./lede/bin 108 | 109 | 110 | -------------------------------------------------------------------------------- /.github/workflows/newifi3-20230413.yml: -------------------------------------------------------------------------------- 1 | #================================================= 2 | # Description: Buildnewifi3固件 FROM LEAN'S LEDE 3 | # Author: JK 4 | #================================================= 5 | 6 | #================================================= 7 | name: Build newifi3-20230413 8 | #================================================= 9 | 10 | on: 11 | release: 12 | types: [published] 13 | # push: 14 | # branches: 15 | # - master 16 | # watch: 17 | # types: [started] 18 | 19 | jobs: 20 | build: 21 | runs-on: ubuntu-latest 22 | 23 | steps: 24 | - name: Checkout 25 | uses: actions/checkout@master 26 | 27 | - name: Space cleanup and Initialization environment 28 | env: 29 | DEBIAN_FRONTEND: noninteractive 30 | run: | 31 | docker rmi `docker images -q` 32 | sudo -E rm -rf /usr/share/dotnet /etc/mysql /etc/php /etc/apt/sources.list.d /usr/local/lib/android 33 | sudo -E apt-mark hold grub-efi-amd64-signed 34 | sudo -E apt update 35 | sudo -E apt -y purge azure-cli* docker* ghc* zulu* llvm* firefox google* dotnet* powershell* openjdk* mysql* php* mongodb* dotnet* moby* snap* 36 | sudo -E apt -y full-upgrade 37 | sudo -E apt -y install ack antlr3 aria2 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 libglib2.0-dev libgmp3-dev libltdl-dev libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libreadline-dev libssl-dev libtool lrzsz mkisofs msmtp nano ninja-build p7zip p7zip-full patch pkgconf python3 python3-pip libpython3-dev qemu-utils rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev 38 | sudo -E systemctl daemon-reload 39 | sudo -E apt -y autoremove --purge 40 | sudo -E apt clean 41 | sudo -E timedatectl set-timezone "Asia/Shanghai" 42 | 43 | 44 | - name: Clone source code 45 | run: | 46 | git clone https://github.com/coolsnowwolf/lede lede 47 | 48 | ##修改lede目录中的feeds.conf.default文件,把第5行的 # 去掉。 49 | # cd lede 50 | # sed -i '5s/#//' feeds.conf.default 51 | 52 | 53 | ##*************************************************************************** 54 | ##下载kenzok8/openwrt-packages的源代码 和 passwall依赖库kenzok8/small.git。 55 | - name: Clone openwrt-packages code and small code 56 | run: | 57 | cd lede 58 | sed -i '$a src-git kenzo https://github.com/kenzok8/openwrt-packages' feeds.conf.default 59 | sed -i '$a src-git small https://github.com/kenzok8/small' feeds.conf.default 60 | 61 | ##**************************************************************************** 62 | 63 | 64 | - name: Update feeds 65 | run: cd lede && ./scripts/feeds update -a 66 | 67 | - name: Install feeds 68 | run: cd lede && ./scripts/feeds install -a 69 | 70 | 71 | 72 | 73 | 74 | - name: Load custom configuration 75 | run: | 76 | #================================================= 77 | #+++++++++++++++++++++++++++++++++++++++++++++++++ 78 | cp -f new3-20230413.config ./lede/.config 79 | chmod +x diy-newifi3.sh 80 | cd lede 81 | ../diy-newifi3.sh 82 | #++++++++++++++++++++++++++++++++++++++++++++++++ 83 | #================================================= 84 | make defconfig 85 | 86 | - name: Download package 87 | run: | 88 | echo -e "$(nproc) thread build." 89 | cd lede && make download -j$(nproc) 90 | 91 | - name: Build 92 | run: | 93 | cd lede 94 | echo -e "$(nproc) thread build." 95 | make -j$(nproc) V=s 96 | 97 | ######把上面生成的.config文件拷贝到bin/targets/ramips/mt7621/my.config,从而在下载固件时,一起下载回来。 98 | - name: Copy .config to ./bin/targets/ramips/mt7621/my.config 99 | run: | 100 | cd lede 101 | cp .config ./bin/targets/ramips/mt7621/my.config 102 | 103 | - name : Upload artifact 104 | uses: actions/upload-artifact@master 105 | with: 106 | #================================================= 107 | name: newifi3-20230413 108 | path: ./lede/bin 109 | 110 | ###### 把dl库也下载回来 ############### 111 | - name : Upload dl 112 | uses: actions/upload-artifact@master 113 | with: 114 | #================================================= 115 | name: newifi3-20230413-dl 116 | path: ./lede/dl 117 | -------------------------------------------------------------------------------- /.github/workflows/备份X86-64-20230409.yml: -------------------------------------------------------------------------------- 1 | #================================================= 2 | # Description: Build X86-64固件 FROM LEAN'S LEDE 3 | # Author: JK 4 | #================================================= 5 | 6 | #================================================= 7 | name: Build X86-20230409 8 | #================================================= 9 | 10 | on: 11 | release: 12 | types: [published] 13 | # push: 14 | # branches: 15 | # - master 16 | # watch: 17 | # types: [started] 18 | 19 | jobs: 20 | build: 21 | runs-on: ubuntu-latest 22 | 23 | steps: 24 | - name: Checkout 25 | uses: actions/checkout@master 26 | 27 | - name: Space cleanup and Initialization environment 28 | env: 29 | DEBIAN_FRONTEND: noninteractive 30 | run: | 31 | docker rmi `docker images -q` 32 | sudo -E rm -rf /usr/share/dotnet /etc/mysql /etc/php /etc/apt/sources.list.d /usr/local/lib/android 33 | sudo -E apt-mark hold grub-efi-amd64-signed 34 | sudo -E apt update 35 | sudo -E apt -y purge azure-cli* docker* ghc* zulu* llvm* firefox google* dotnet* powershell* openjdk* mysql* php* mongodb* dotnet* moby* snap* 36 | sudo -E apt -y full-upgrade 37 | sudo -E apt -y install ack antlr3 aria2 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 libglib2.0-dev libgmp3-dev libltdl-dev libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libreadline-dev libssl-dev libtool lrzsz mkisofs msmtp nano ninja-build p7zip p7zip-full patch pkgconf python3 python3-pip libpython3-dev qemu-utils rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev 38 | sudo -E systemctl daemon-reload 39 | sudo -E apt -y autoremove --purge 40 | sudo -E apt clean 41 | sudo -E timedatectl set-timezone "Asia/Shanghai" 42 | 43 | 44 | - name: Clone source code 45 | run: | 46 | git clone https://github.com/coolsnowwolf/lede lede 47 | 48 | ##修改lede目录中的feeds.conf.default文件,把第5行的 # 去掉。 49 | #cd lede 50 | #sed -i '5s/#//' feeds.conf.default 51 | ##*************************************************************************** 52 | ##下载kenzok8/openwrt-packages的源代码 和 passwall依赖库kenzok8/small.git。 53 | - name: Clone openwrt-packages code and small code 54 | run: | 55 | cd lede 56 | sed -i '$a src-git kenzo https://github.com/kenzok8/openwrt-packages' feeds.conf.default 57 | sed -i '$a src-git small https://github.com/kenzok8/small' feeds.conf.default 58 | 59 | ##**************************************************************************** 60 | 61 | 62 | - name: Update feeds 63 | run: cd lede && ./scripts/feeds update -a 64 | 65 | - name: Install feeds 66 | run: cd lede && ./scripts/feeds install -a 67 | 68 | 69 | ##****************************************************** 70 | 71 | 72 | - name: Load custom configuration 73 | run: | 74 | #================================================= 75 | #+++++++++++++++++++++++++++++++++++++++++++++++++ 76 | cp -f X86-20230409.config ./lede/.config 77 | chmod +x diy-newifi3.sh 78 | cd lede 79 | ../diy-newifi3.sh 80 | #++++++++++++++++++++++++++++++++++++++++++++++++ 81 | #================================================= 82 | make defconfig 83 | 84 | - name: Download package 85 | run: | 86 | echo -e "$(nproc) thread build." 87 | cd lede && make download -j$(nproc) 88 | 89 | 90 | - name: Build 91 | run: | 92 | cd lede 93 | echo -e "$(nproc) thread build." 94 | make -j$(nproc) V=s 95 | 96 | ######把上面生成的.config文件拷贝到bin/targets/x86/64/my.config,从而在下载固件时,一起下载回来。 97 | - name: Copy .config to ./bin/targets/x86/64/my.config 98 | run: | 99 | cd lede 100 | cp .config ./bin/targets/x86/64/my.config 101 | 102 | 103 | - name : Upload artifact 104 | uses: actions/upload-artifact@master 105 | with: 106 | #================================================= 107 | name: X86-20230409 108 | path: ./lede/bin 109 | 110 | ###### 把dl库也下载回来 ############### 111 | - name : Upload dl 112 | uses: actions/upload-artifact@master 113 | with: 114 | #================================================= 115 | name: X86-20230409-dl 116 | path: ./lede/dl 117 | -------------------------------------------------------------------------------- /.github/workflows/备份build-gdock-20230408.yml: -------------------------------------------------------------------------------- 1 | #================================================= 2 | # Description: Build G-DOCK FROM LEAN'S LEDE 3 | # Author: JK 4 | #================================================= 5 | 6 | name: Build 竞斗云-20230408 7 | 8 | on: 9 | release: 10 | types: [published] 11 | # push: 12 | # branches: 13 | # - master 14 | # watch: 15 | # types: [started] 16 | jobs: 17 | build: 18 | runs-on: ubuntu-latest 19 | 20 | steps: 21 | - name: Checkout 22 | uses: actions/checkout@master 23 | 24 | - name: Space cleanup and Initialization environment 25 | env: 26 | DEBIAN_FRONTEND: noninteractive 27 | run: | 28 | docker rmi `docker images -q` 29 | sudo -E rm -rf /usr/share/dotnet /etc/mysql /etc/php /etc/apt/sources.list.d /usr/local/lib/android 30 | sudo -E apt-mark hold grub-efi-amd64-signed 31 | sudo -E apt update 32 | sudo -E apt -y purge azure-cli* docker* ghc* zulu* llvm* firefox google* dotnet* powershell* openjdk* mysql* php* mongodb* dotnet* moby* snap* 33 | sudo -E apt -y full-upgrade 34 | sudo -E apt -y install ack antlr3 aria2 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 libglib2.0-dev libgmp3-dev libltdl-dev libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libreadline-dev libssl-dev libtool lrzsz mkisofs msmtp nano ninja-build p7zip p7zip-full patch pkgconf python3 python3-pip libpython3-dev qemu-utils rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev 35 | sudo -E systemctl daemon-reload 36 | sudo -E apt -y autoremove --purge 37 | sudo -E apt clean 38 | sudo -E timedatectl set-timezone "Asia/Shanghai" 39 | 40 | 41 | - name: Clone source code 42 | run: | 43 | git clone https://github.com/coolsnowwolf/lede lede 44 | 45 | ##修改lede目录中的feeds.conf.default文件,把第5行的 # 去掉。 46 | #cd lede 47 | # sed -i '5s/#//' feeds.conf.default 48 | 49 | ##*************************************************************************** 50 | 51 | ##下载kenzok8/openwrt-packages的源代码 和 passwall依赖库kenzok8/small.git。 52 | - name: Clone openwrt-packages code and small code 53 | run: | 54 | cd lede 55 | sed -i '$a src-git kenzo https://github.com/kenzok8/openwrt-packages' feeds.conf.default 56 | sed -i '$a src-git small https://github.com/kenzok8/small' feeds.conf.default 57 | 58 | 59 | ##**************************************************************************** 60 | 61 | 62 | - name: Update feeds 63 | run: cd lede && ./scripts/feeds update -a 64 | 65 | - name: Install feeds 66 | run: cd lede && ./scripts/feeds install -a 67 | 68 | 69 | - name: Load custom configuration 70 | run: | 71 | cp -f jdy20230408.config ./lede/.config 72 | chmod +x diy.sh 73 | cd lede 74 | ../diy.sh 75 | make defconfig 76 | 77 | - name: Download package 78 | run: | 79 | echo -e "$(nproc) thread build." 80 | cd lede && make download -j$(nproc) 81 | 82 | 83 | - name: Build 84 | run: | 85 | cd lede 86 | echo -e "$(nproc) thread build." 87 | make -j$(nproc) V=s 88 | 89 | 90 | ######把上面生成的.config文件拷贝到bin/targets/ipq40xx/generic/my.config,从而在下载固件时,一起下载回来。 91 | - name: Copy .config to ./bin/targets/ipq40xx/generic/my.config 92 | run: | 93 | cd lede 94 | cp .config ./bin/targets/ipq40xx/generic/my.config 95 | 96 | - name : Upload artifact 97 | uses: actions/upload-artifact@master 98 | with: 99 | name: JDY-20230408 100 | path: ./lede/bin 101 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # GDOCK 2 | 自动从lean的lede源码clone并生成竞斗云、newifi3和x86-64位固件 3 | 4 | 我把原作者的代码(https://github.com/ljk4160/GDOCK) 进行了部分修改: 5 | ##### 1. 添加了build-newifi3.yml文件,并且在build-newifi3.yml文件中增加了下面的代码 6 | 7 | \- name: Clone passwall code 8 | 9 | run: | 10 | cd lede/package && git clone https://github.com/Lienol/openwrt-package.git 11 | 12 | 用来把passwall的源代码,下载到package目录下。 13 | 14 | ##### 2. 添加了newifi3.config、banner-newifi3、diy-newifi3三个文件。 15 | newifi3.config是编译用的.config文件,在这个文件中也增加了下面的代码 16 | ``` 17 | CONFIG_PACKAGE_luci-app-passwall=y 18 | 19 | # 20 | 21 | # Configuration 22 | 23 | # 24 | 25 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_ipt2socks=y 26 | 27 | # CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks is not set 28 | 29 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_ShadowsocksR=y 30 | 31 | # CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks_socks is not set 32 | 33 | # CONFIG_PACKAGE_luci-app-passwall_INCLUDE_ShadowsocksR_socks is not set 34 | 35 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_V2ray=y 36 | 37 | # CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Trojan is not set 38 | 39 | # CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Brook is not set 40 | 41 | # CONFIG_PACKAGE_luci-app-passwall_INCLUDE_kcptun is not set 42 | 43 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_haproxy=y 44 | 45 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_ChinaDNS_NG=y 46 | 47 | CONFIG_PACKAGE_luci-app-passwall_INCLUDE_pdnsd=y 48 | 49 | # CONFIG_PACKAGE_luci-app-passwall_INCLUDE_dns2socks is not set 50 | 51 | # CONFIG_PACKAGE_luci-app-polipo is not set 52 | ``` 53 | 用来把passwall编译到固件中。(这段代码是在本地编译环境中,用make menuconfig 命令生成的) 54 | 55 | 56 | --- 57 | 58 | 59 | *将本项目fork到自己账号下,进行以下操作即可得到专属定制固件* 60 | 61 | 1.diy.sh 62 | 可以编辑自定义和修改的脚本,可以直接修改JK预留的脚本,也可以自己编写 63 | 64 | 2.gdockfull128.config 65 | 编辑自定义配置文件. 66 | 67 | 3.以上修改完后push一下,即可自动编译固件,就是把yml文件中 68 | 69 | ``` 70 | on: 71 | release: 72 | types: [published] 73 | # push: 74 | # branches: 75 | # - master 76 | 77 | 78 | 79 | 上面3行的 # 都删除,就开始编译了。 80 | ``` 81 | 82 | 如果你只想使用固件,可以在本项目的actions下下载最新编译的固件. 83 | 84 | ============================================== 85 | 86 | ![](/screenshots/r619ac1.png) 87 | 88 | ============================================== 89 | 90 | 部分脚本内容参考以下项目特此感谢: 91 | https://github.com/P3TERX/Actions-OpenWrt/ 92 | -------------------------------------------------------------------------------- /banner: -------------------------------------------------------------------------------- 1 | ____ ____ ___ ____ _ __ 2 | / ___| | _ \ / _ \ / ___| |/ / 3 | | | _ _____| | | | | | | | | ' / 4 | | |_| |_____| |_| | |_| | |___| . \ 5 | \____| |____/ \___/ \____|_|\_\ DIY BY BEAR 6 | ----------------------------------------------------- 7 | %D %V, %C 8 | ----------------------------------------------------- 9 | -------------------------------------------------------------------------------- /banner-newifi3: -------------------------------------------------------------------------------- 1 | _______ ________ __ 2 | | |.-----.-----.-----.| | | |.----.| |_ 3 | | - || _ | -__| || | | || _|| _| 4 | |_______|| __|_____|__|__||________||__| |____| 5 | |__| W I R E L E S S F R E E D O M by BEAR 6 | ----------------------------------------------------- 7 | %D %V, %C 8 | ----------------------------------------------------- 9 | 10 | -------------------------------------------------------------------------------- /diy-newifi3.sh: -------------------------------------------------------------------------------- 1 | echo '修改时区' 2 | sed -i "s/'UTC'/'CST-8'\n set system.@system[-1].zonename='Asia\/Shanghai'/g" package/base-files/files/bin/config_generate 3 | 4 | echo '修改banner' 5 | rm -rf package/base-files/files/etc/banner 6 | cp -f ../banner-newifi3 package/base-files/files/etc/banner 7 | 8 | 9 | -------------------------------------------------------------------------------- /diy.sh: -------------------------------------------------------------------------------- 1 | echo '修改机器名称' 2 | sed -i 's/OpenWrt/G-DOCK/g' package/base-files/files/bin/config_generate 3 | 4 | #echo '修改网关地址' 5 | #sed -i 's/192.168.1.1/192.168.2.1/g' package/base-files/files/bin/config_generate 6 | 7 | echo '修改时区' 8 | sed -i "s/'UTC'/'CST-8'\n set system.@system[-1].zonename='Asia\/Shanghai'/g" package/base-files/files/bin/config_generate 9 | 10 | echo '修改默认主题' 11 | sed -i 's/config internal themes/config internal themes\n option Argon \"\/luci-static\/argon\"/g' feeds/luci/modules/luci-base/root/etc/config/luci 12 | 13 | echo '去除默认bootstrap主题' 14 | sed -i '/set luci.main.mediaurlbase=\/luci-static\/bootstrap/d' feeds/luci/themes/luci-theme-bootstrap/root/etc/uci-defaults/30_luci-theme-bootstrap 15 | 16 | echo '删除旧版argon,链接新版' 17 | rm -rf ./package/lean/luci-theme-argon 18 | ln -s ../../../luci-theme-argon ./package/lean/ 19 | 20 | echo '修改wifi名称' 21 | sed -i 's/OpenWrt/G-DOCK/g' package/kernel/mac80211/files/lib/wifi/mac80211.sh 22 | 23 | echo '修改banner' 24 | rm -rf package/base-files/files/etc/banner 25 | cp -f ../banner package/base-files/files/etc/ 26 | 27 | echo '下载ServerChan' 28 | git clone https://github.com/tty228/luci-app-serverchan ../diy/luci-app-serverchan 29 | 30 | echo '集成diy目录' 31 | ln -s ../../diy ./package/openwrt-packages 32 | -------------------------------------------------------------------------------- /diy/qntfs-driver/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2005-2019 lintel.huang@gmail.com 3 | # 4 | # This is non-free software, licensed under author,more code from Apple/Tuxera 5 | # 6 | # 7 | 8 | include $(TOPDIR)/rules.mk 9 | include $(INCLUDE_DIR)/kernel.mk 10 | 11 | PKG_NAME:=fs-qntfs 12 | PKG_RELEASE:=4 13 | PKG_MAINTAINER:=lintel 14 | 15 | USE_SRC=$(shell ls ./src/ 2>/dev/null >/dev/null && echo 1) 16 | 17 | include $(INCLUDE_DIR)/package.mk 18 | 19 | define KernelPackage/fs-qntfs 20 | SUBMENU:=Filesystems 21 | TITLE:=PandoraBox Quick-NTFS filesystem 22 | FILES:=$(PKG_BUILD_DIR)/qntfs.ko 23 | DEPENDS:=+kmod-nls-cp936 +kmod-nls-utf8 +kmod-nls-cp437 +kmod-nls-iso8859-1 24 | AUTOLOAD:=$(call AutoLoad,30,qntfs,1) 25 | endef 26 | 27 | define KernelPackage/fs-qntfs/description 28 | a Kernel module drvier base on NTFS-3G support NTFS 29 | endef 30 | 31 | EXTRA_KCONFIG:= \ 32 | CONFIG_QNTFS_FS=m \ 33 | CONFIG_QNTFS_SYMLINKS=y 34 | 35 | MAKE_OPTS:= \ 36 | ARCH="$(LINUX_KARCH)" \ 37 | CROSS_COMPILE="$(TARGET_CROSS)" \ 38 | SUBDIRS="$(PKG_BUILD_DIR)" \ 39 | $(EXTRA_KCONFIG) 40 | 41 | ifneq ($(USE_SRC),) 42 | define Build/Prepare 43 | mkdir -p $(PKG_BUILD_DIR) 44 | $(CP) ./src/* $(PKG_BUILD_DIR)/ 45 | endef 46 | 47 | define Build/Compile 48 | $(MAKE) -C "$(LINUX_DIR)" \ 49 | $(MAKE_OPTS) \ 50 | modules 51 | 52 | @echo ----------Build:$(CONFIG_TARGET_BOARD)-$(CONFIG_TARGET_SUBTARGET)---------- 53 | mkdir -p ./files/$(CONFIG_TARGET_BOARD)-$(CONFIG_TARGET_SUBTARGET) 54 | $(CP) $(PKG_BUILD_DIR)/qntfs.ko ./files/$(CONFIG_TARGET_BOARD)-$(CONFIG_TARGET_SUBTARGET)/ 55 | endef 56 | 57 | else 58 | 59 | define Build/Prepare 60 | @echo ----------Build:$(CONFIG_TARGET_BOARD)-$(CONFIG_TARGET_SUBTARGET)---------- 61 | mkdir -p $(PKG_BUILD_DIR)/ 62 | $(CP) ./files/$(CONFIG_TARGET_BOARD)-$(CONFIG_TARGET_SUBTARGET)/qntfs.ko $(PKG_BUILD_DIR)/ 63 | endef 64 | 65 | define Build/Compile 66 | echo 67 | endef 68 | 69 | endif 70 | 71 | $(eval $(call KernelPackage,fs-qntfs)) 72 | -------------------------------------------------------------------------------- /diy/qntfs-driver/files/ipq40xx-generic/qntfs.ko: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romantices/GDOCK-passwall/492825495be4f183b7c93b4e5de2a67b294164b7/diy/qntfs-driver/files/ipq40xx-generic/qntfs.ko -------------------------------------------------------------------------------- /diy/qntfs-driver/files/qualcomm-ipq40xx/qntfs.ko: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romantices/GDOCK-passwall/492825495be4f183b7c93b4e5de2a67b294164b7/diy/qntfs-driver/files/qualcomm-ipq40xx/qntfs.ko -------------------------------------------------------------------------------- /diy文件备份.sh: -------------------------------------------------------------------------------- 1 | echo '修改机器名称' 2 | sed -i 's/OpenWrt/G-DOCK/g' package/base-files/files/bin/config_generate 3 | 4 | #echo '修改网关地址' 5 | #sed -i 's/192.168.1.1/192.168.2.1/g' package/base-files/files/bin/config_generate 6 | 7 | echo '修改时区' 8 | sed -i "s/'UTC'/'CST-8'\n set system.@system[-1].zonename='Asia\/Shanghai'/g" package/base-files/files/bin/config_generate 9 | 10 | echo '修改默认主题' 11 | sed -i 's/config internal themes/config internal themes\n option Argon \"\/luci-static\/argon\"/g' feeds/luci/modules/luci-base/root/etc/config/luci 12 | 13 | echo '去除默认bootstrap主题' 14 | sed -i '/set luci.main.mediaurlbase=\/luci-static\/bootstrap/d' feeds/luci/themes/luci-theme-bootstrap/root/etc/uci-defaults/30_luci-theme-bootstrap 15 | 16 | echo '删除旧版argon,链接新版' 17 | rm -rf ./package/lean/luci-theme-argon 18 | ln -s ../../../luci-theme-argon ./package/lean/ 19 | 20 | echo '修改wifi名称' 21 | sed -i 's/OpenWrt/G-DOCK/g' package/kernel/mac80211/files/lib/wifi/mac80211.sh 22 | 23 | echo '修改banner' 24 | rm -rf package/base-files/files/etc/banner 25 | cp -f ../banner package/base-files/files/etc/ 26 | 27 | echo '下载ServerChan' 28 | git clone https://github.com/tty228/luci-app-serverchan ../diy/luci-app-serverchan 29 | 30 | echo '集成diy目录' 31 | ln -s ../../diy ./package/openwrt-packages 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /luci-theme-argon/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2019 Jerrykuku 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=Argon Theme 10 | LUCI_DEPENDS:= 11 | PKG_VERSION:=1.3 12 | PKG_RELEASE:=01-20191111 13 | 14 | include $(TOPDIR)/feeds/luci/luci.mk 15 | 16 | # call BuildPackage - OpenWrt buildroot signature -------------------------------------------------------------------------------- /luci-theme-argon/README.md: -------------------------------------------------------------------------------- 1 | # luci-theme-argon 2 | A new Luci theme for LEDE/OpenWRT 3 | Argon is a clean HTML5 theme for LuCI. It is based on luci-theme-material and Argon Template 4 | Suitable for Openwrt 18.06.4 (for test) And Lean Luci (stable) 5 | 6 | The old version is still in another branch call old. If you need that you can checkout that branch. 7 | 8 | 9 | ## How to use 10 | 11 | Enter in your openwrt/package/lean or other 12 | 13 | ``` 14 | git clone https://github.com/jerrykuku/luci-theme-argon.git 15 | make menuconfig #choose LUCI->Theme->Luci-theme-argon 16 | make -j1 V=s 17 | ``` 18 | ## Install 19 | ``` 20 | opkg install https://github.com/jerrykuku/luci-theme-argon/releases/download/V1.3/luci-theme-argon_1.3-01-20191111_all.ipk 21 | ``` 22 | 23 | ## Update log 20191109 24 | 1. Minimal background file size. 25 | 2. Automatically detect the number of background images. 26 | 3. Delete unused image and file. 27 | 28 | ## Screenshots 29 | ![](/Screenshots/pc/screenshot1.png) 30 | ![](/Screenshots/pc/screenshot2.png) 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | ## Thanks to 40 | luci-theme-material: https://github.com/LuttyYang/luci-theme-material/ 41 | -------------------------------------------------------------------------------- /luci-theme-argon/htdocs/luci-static/argon/css/purecss.css: -------------------------------------------------------------------------------- 1 | /*! 2 | Pure v1.0.1 3 | Copyright 2013 Yahoo! 4 | Licensed under the BSD License. 5 | https://github.com/pure-css/pure/blob/master/LICENSE.md 6 | */ 7 | .pure-g{letter-spacing:-.31em;text-rendering:optimizespeed;font-family:FreeSans,Arimo,"Droid Sans",Helvetica,Arial,sans-serif;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:row wrap;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-align-content:flex-start;-ms-flex-line-pack:start;align-content:flex-start}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){table .pure-g{display:block}}.opera-only :-o-prefocus,.pure-g{word-spacing:-.43em}.pure-u,.pure-u-1,.pure-u-1-1,.pure-u-1-12,.pure-u-1-2,.pure-u-1-24,.pure-u-1-3,.pure-u-1-4,.pure-u-1-5,.pure-u-1-6,.pure-u-1-8,.pure-u-10-24,.pure-u-11-12,.pure-u-11-24,.pure-u-12-24,.pure-u-13-24,.pure-u-14-24,.pure-u-15-24,.pure-u-16-24,.pure-u-17-24,.pure-u-18-24,.pure-u-19-24,.pure-u-2-24,.pure-u-2-3,.pure-u-2-5,.pure-u-20-24,.pure-u-21-24,.pure-u-22-24,.pure-u-23-24,.pure-u-24-24,.pure-u-3-24,.pure-u-3-4,.pure-u-3-5,.pure-u-3-8,.pure-u-4-24,.pure-u-4-5,.pure-u-5-12,.pure-u-5-24,.pure-u-5-5,.pure-u-5-6,.pure-u-5-8,.pure-u-6-24,.pure-u-7-12,.pure-u-7-24,.pure-u-7-8,.pure-u-8-24,.pure-u-9-24{display:inline-block;zoom:1;letter-spacing:normal;word-spacing:normal;vertical-align:top;text-rendering:auto}.pure-g [class*=pure-u]{font-family:sans-serif}.pure-u-1-24{width:4.1667%}.pure-u-1-12,.pure-u-2-24{width:8.3333%}.pure-u-1-8,.pure-u-3-24{width:12.5%}.pure-u-1-6,.pure-u-4-24{width:16.6667%}.pure-u-1-5{width:20%}.pure-u-5-24{width:20.8333%}.pure-u-1-4,.pure-u-6-24{width:25%}.pure-u-7-24{width:29.1667%}.pure-u-1-3,.pure-u-8-24{width:33.3333%}.pure-u-3-8,.pure-u-9-24{width:37.5%}.pure-u-2-5{width:40%}.pure-u-10-24,.pure-u-5-12{width:41.6667%}.pure-u-11-24{width:45.8333%}.pure-u-1-2,.pure-u-12-24{width:50%}.pure-u-13-24{width:54.1667%}.pure-u-14-24,.pure-u-7-12{width:58.3333%}.pure-u-3-5{width:60%}.pure-u-15-24,.pure-u-5-8{width:62.5%}.pure-u-16-24,.pure-u-2-3{width:66.6667%}.pure-u-17-24{width:70.8333%}.pure-u-18-24,.pure-u-3-4{width:75%}.pure-u-19-24{width:79.1667%}.pure-u-4-5{width:80%}.pure-u-20-24,.pure-u-5-6{width:83.3333%}.pure-u-21-24,.pure-u-7-8{width:87.5%}.pure-u-11-12,.pure-u-22-24{width:91.6667%}.pure-u-23-24{width:95.8333%}.pure-u-1,.pure-u-1-1,.pure-u-24-24,.pure-u-5-5{width:100%} -------------------------------------------------------------------------------- /luci-theme-argon/htdocs/luci-static/argon/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romantices/GDOCK-passwall/492825495be4f183b7c93b4e5de2a67b294164b7/luci-theme-argon/htdocs/luci-static/argon/favicon.ico -------------------------------------------------------------------------------- /luci-theme-argon/htdocs/luci-static/argon/fonts/TypoGraphica.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romantices/GDOCK-passwall/492825495be4f183b7c93b4e5de2a67b294164b7/luci-theme-argon/htdocs/luci-static/argon/fonts/TypoGraphica.eot -------------------------------------------------------------------------------- /luci-theme-argon/htdocs/luci-static/argon/fonts/TypoGraphica.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Created by FontForge 20090622 at Tue Jul 23 03:29:07 2019 6 | By deploy user 7 | TypoGraphica ©Sharkshock Productions 2015. All Rights Reserved 8 | 9 | 10 | 11 | 26 | 45 | 64 | 66 | 68 | 70 | 72 | 74 | 76 | 78 | 80 | 82 | 84 | 86 | 88 | 90 | 92 | 94 | 96 | 98 | 100 | 102 | 104 | 106 | 109 | 111 | 114 | 118 | 120 | 123 | 126 | 128 | 132 | 135 | 137 | 139 | 141 | 143 | 145 | 147 | 149 | 151 | 153 | 156 | 159 | 162 | 164 | 166 | 169 | 171 | 173 | 175 | 177 | 179 | 181 | 183 | 186 | 188 | 192 | 194 | 197 | 199 | 201 | 203 | 205 | 207 | 209 | 211 | 213 | 215 | 217 | 219 | 221 | 223 | 226 | 229 | 232 | 235 | 238 | 240 | 244 | 246 | 248 | 251 | 253 | 255 | 257 | 259 | 262 | 265 | 268 | 270 | 273 | 275 | 277 | 279 | 281 | 283 | 286 | 288 | 291 | 294 | 296 | 298 | 300 | 302 | 304 | 306 | 308 | 310 | 312 | 314 | 316 | 318 | 320 | 322 | 324 | 326 | 329 | 331 | 333 | 335 | 338 | 342 | 344 | 346 | 348 | 350 | 352 | 354 | 357 | 359 | 361 | 364 | 366 | 368 | 371 | 373 | 375 | 377 | 379 | 381 | 383 | 385 | 387 | 390 | 393 | 395 | 396 | 397 | 398 | 399 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 427 | 428 | 429 | 430 | 431 | 432 | 433 | 434 | 435 | 436 | 437 | 438 | 439 | 440 | 441 | 442 | 443 | 444 | 445 | 446 | 447 | 448 | 449 | 450 | 451 | 452 | 453 | 454 | 455 | 456 | 457 | 458 | 459 | 460 | 461 | 462 | 463 | 464 | 465 | 466 | 467 | 468 | 469 | 470 | 471 | 472 | 473 | 474 | 475 | 476 | 477 | 478 | 479 | 480 | 481 | 482 | 483 | 484 | 485 | 486 | 487 | 488 | 489 | 490 | 491 | 492 | 493 | 494 | 495 | 496 | 497 | 498 | 499 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 509 | 510 | 511 | 512 | 513 | 514 | 515 | 516 | 517 | 518 | 519 | 520 | 521 | 522 | 523 | 524 | 525 | 526 | 527 | 528 | 529 | 530 | 531 | 532 | 533 | 534 | 535 | 536 | 537 | 538 | 539 | 540 | 541 | 542 | 543 | 544 | 545 | 546 | 547 | 548 | 549 | 550 | 551 | 552 | 553 | 554 | 555 | 556 | 557 | 558 | 559 | 560 | 561 | 562 | 563 | 564 | 565 | 566 | 567 | 568 | 569 | 570 | 571 | 572 | 573 | 574 | 575 | 576 | 577 | 578 | 579 | 580 | 581 | 582 | 583 | 584 | 585 | 586 | 587 | 588 | 589 | 590 | 591 | 592 | 593 | 594 | 595 | 596 | 597 | 598 | 599 | 600 | 601 | 602 | 603 | 604 | 605 | 606 | 607 | 608 | 609 | 610 | 611 | 612 | 613 | 614 | 615 | 616 | 617 | 618 | 619 | 620 | 621 | 622 | 623 | 624 | 625 | 626 | 627 | 628 | 629 | 630 | 631 | 632 | 633 | 634 | 635 | 636 | 637 | 638 | 639 | 640 | 641 | 642 | 643 | 644 | 645 | 646 | 647 | 648 | 649 | 650 | 651 | 652 | 653 | 654 | 655 | 656 | 657 | 658 | 659 | 660 | 661 | 662 | 663 | 664 | 665 | 666 | 667 | 668 | 669 | 670 | 671 | 672 | 673 | 674 | 675 | 676 | 677 | 678 | 679 | 680 | 681 | 682 | 683 | 684 | 685 | 686 | 687 | 688 | 689 | 690 | 691 | 692 | 693 | 694 | 695 | 696 | 697 | 698 | 699 | 700 | 701 | 702 | 703 | 704 | 705 | 706 | 707 | 708 | 709 | 710 | 711 | 712 | 713 | 714 | 715 | 716 | 717 | 718 | 719 | 720 | 721 | 722 | 723 | 724 | 725 | 726 | 727 | 728 | 729 | 730 | 731 | 732 | 733 | 734 | 735 | 736 | 737 | 738 | 739 | 740 | 741 | 742 | 743 | 744 | 745 | 746 | 747 | 748 | 749 | 750 | 751 | 752 | 753 | 754 | 755 | 756 | 757 | 758 | 759 | 760 | 761 | 762 | 763 | 764 | 765 | 766 | 767 | 768 | 769 | 770 | 771 | 772 | 773 | 774 | 775 | 776 | 777 | 778 | 779 | 780 | 781 | 782 | 783 | 784 | 785 | 786 | 787 | 788 | 789 | 790 | 791 | 792 | 793 | 794 | 795 | 796 | 797 | 798 | 799 | 800 | 801 | 802 | 803 | 804 | 805 | 806 | 807 | 808 | 809 | 810 | 811 | 812 | 813 | 814 | 815 | 816 | 817 | 818 | 819 | 820 | 821 | 822 | 823 | 824 | 825 | 826 | 827 | 828 | 829 | 830 | 831 | 832 | 833 | 834 | 835 | 836 | 837 | 838 | 839 | 840 | 841 | 842 | 843 | 844 | 845 | 846 | 847 | 848 | 849 | 850 | 851 | 852 | 853 | 854 | 855 | 856 | 857 | 858 | 859 | 860 | 861 | 862 | 863 | 864 | 865 | 866 | 867 | 868 | 869 | 870 | 871 | 872 | 873 | 874 | 875 | 876 | 877 | 878 | 879 | 880 | 881 | 882 | 883 | 884 | 885 | 886 | 887 | 888 | 889 | 890 | 891 | 892 | 893 | 894 | 895 | 896 | 897 | 898 | 899 | 900 | 901 | 902 | 903 | 904 | 905 | 906 | 907 | 908 | 909 | 910 | 911 | 912 | 913 | 914 | 915 | 916 | 917 | 918 | 919 | 920 | 921 | 922 | 923 | 924 | 925 | 926 | 927 | 928 | 929 | 930 | 931 | 932 | 933 | 934 | 935 | 936 | 937 | 938 | 939 | 940 | 941 | 942 | 943 | 944 | 945 | 946 | 947 | 948 | 949 | 950 | 951 | 952 | 953 | 954 | 955 | 956 | 957 | 958 | 959 | 960 | 961 | 962 | 963 | 964 | 965 | 966 | 967 | 968 | 969 | 970 | 971 | 972 | 973 | 974 | 975 | 976 | 977 | 978 | 979 | 980 | 981 | 982 | 983 | 984 | 985 | 986 | 987 | 988 | 989 | 990 | 991 | 992 | 993 | 994 | 995 | 996 | 997 | 998 | 999 | 1000 | 1001 | 1002 | 1003 | 1004 | 1005 | 1006 | 1007 | 1008 | 1009 | 1010 | 1011 | 1012 | 1013 | 1014 | 1015 | 1016 | 1017 | 1018 | 1019 | 1020 | 1021 | 1022 | 1023 | 1024 | 1025 | 1026 | 1027 | 1028 | 1029 | 1030 | 1031 | 1032 | 1033 | 1034 | 1035 | 1036 | 1037 | 1038 | 1039 | 1040 | 1041 | 1042 | 1043 | 1044 | 1045 | 1046 | 1047 | 1048 | 1049 | 1050 | 1051 | 1052 | 1053 | 1054 | 1055 | 1056 | 1057 | 1058 | 1059 | 1060 | 1061 | 1062 | 1063 | 1064 | 1065 | 1066 | 1067 | 1068 | 1069 | 1070 | 1071 | 1072 | 1073 | 1074 | 1075 | 1076 | 1077 | 1078 | 1079 | 1080 | 1081 | 1082 | 1083 | 1084 | 1085 | 1086 | 1087 | 1088 | 1089 | 1090 | 1091 | 1092 | 1093 | 1094 | 1095 | 1096 | 1097 | 1098 | 1099 | 1100 | 1101 | 1102 | 1103 | 1104 | 1105 | 1106 | 1107 | 1108 | 1109 | 1110 | 1111 | 1112 | 1113 | 1114 | 1115 | 1116 | 1117 | 1118 | 1119 | 1120 | 1121 | 1122 | 1123 | 1124 | 1125 | 1126 | 1127 | 1128 | 1129 | 1130 | 1131 | 1132 | 1133 | 1134 | 1135 | 1136 | 1137 | 1138 | 1139 | 1140 | 1141 | 1142 | 1143 | 1144 | 1145 | 1146 | 1147 | 1148 | 1149 | 1150 | 1151 | 1152 | 1153 | 1154 | 1155 | 1156 | 1157 | 1158 | 1159 | 1160 | 1161 | 1162 | 1163 | 1164 | 1165 | 1166 | 1167 | 1168 | 1169 | 1170 | 1171 | 1172 | 1173 | 1174 | 1175 | 1176 | 1177 | 1178 | 1179 | 1180 | 1181 | 1182 | 1183 | 1184 | 1185 | 1186 | 1187 | 1188 | 1189 | 1190 | 1191 | 1192 | -------------------------------------------------------------------------------- /luci-theme-argon/htdocs/luci-static/argon/fonts/TypoGraphica.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romantices/GDOCK-passwall/492825495be4f183b7c93b4e5de2a67b294164b7/luci-theme-argon/htdocs/luci-static/argon/fonts/TypoGraphica.ttf -------------------------------------------------------------------------------- /luci-theme-argon/htdocs/luci-static/argon/fonts/TypoGraphica.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romantices/GDOCK-passwall/492825495be4f183b7c93b4e5de2a67b294164b7/luci-theme-argon/htdocs/luci-static/argon/fonts/TypoGraphica.woff -------------------------------------------------------------------------------- /luci-theme-argon/htdocs/luci-static/argon/fonts/font.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romantices/GDOCK-passwall/492825495be4f183b7c93b4e5de2a67b294164b7/luci-theme-argon/htdocs/luci-static/argon/fonts/font.eot -------------------------------------------------------------------------------- /luci-theme-argon/htdocs/luci-static/argon/fonts/font.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Generated by IcoMoon 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /luci-theme-argon/htdocs/luci-static/argon/fonts/font.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romantices/GDOCK-passwall/492825495be4f183b7c93b4e5de2a67b294164b7/luci-theme-argon/htdocs/luci-static/argon/fonts/font.ttf -------------------------------------------------------------------------------- /luci-theme-argon/htdocs/luci-static/argon/fonts/font.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romantices/GDOCK-passwall/492825495be4f183b7c93b4e5de2a67b294164b7/luci-theme-argon/htdocs/luci-static/argon/fonts/font.woff -------------------------------------------------------------------------------- /luci-theme-argon/htdocs/luci-static/argon/fonts/icomoon.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romantices/GDOCK-passwall/492825495be4f183b7c93b4e5de2a67b294164b7/luci-theme-argon/htdocs/luci-static/argon/fonts/icomoon.eot -------------------------------------------------------------------------------- /luci-theme-argon/htdocs/luci-static/argon/fonts/icomoon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Generated by IcoMoon 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /luci-theme-argon/htdocs/luci-static/argon/fonts/icomoon.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romantices/GDOCK-passwall/492825495be4f183b7c93b4e5de2a67b294164b7/luci-theme-argon/htdocs/luci-static/argon/fonts/icomoon.ttf -------------------------------------------------------------------------------- /luci-theme-argon/htdocs/luci-static/argon/fonts/icomoon.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romantices/GDOCK-passwall/492825495be4f183b7c93b4e5de2a67b294164b7/luci-theme-argon/htdocs/luci-static/argon/fonts/icomoon.woff -------------------------------------------------------------------------------- /luci-theme-argon/htdocs/luci-static/argon/fonts/ssr.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romantices/GDOCK-passwall/492825495be4f183b7c93b4e5de2a67b294164b7/luci-theme-argon/htdocs/luci-static/argon/fonts/ssr.eot -------------------------------------------------------------------------------- /luci-theme-argon/htdocs/luci-static/argon/fonts/ssr.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Generated by IcoMoon 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /luci-theme-argon/htdocs/luci-static/argon/fonts/ssr.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romantices/GDOCK-passwall/492825495be4f183b7c93b4e5de2a67b294164b7/luci-theme-argon/htdocs/luci-static/argon/fonts/ssr.ttf -------------------------------------------------------------------------------- /luci-theme-argon/htdocs/luci-static/argon/fonts/ssr.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romantices/GDOCK-passwall/492825495be4f183b7c93b4e5de2a67b294164b7/luci-theme-argon/htdocs/luci-static/argon/fonts/ssr.woff -------------------------------------------------------------------------------- /luci-theme-argon/htdocs/luci-static/argon/head-icon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romantices/GDOCK-passwall/492825495be4f183b7c93b4e5de2a67b294164b7/luci-theme-argon/htdocs/luci-static/argon/head-icon.jpg -------------------------------------------------------------------------------- /luci-theme-argon/htdocs/luci-static/argon/img/bg1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romantices/GDOCK-passwall/492825495be4f183b7c93b4e5de2a67b294164b7/luci-theme-argon/htdocs/luci-static/argon/img/bg1.jpg -------------------------------------------------------------------------------- /luci-theme-argon/htdocs/luci-static/argon/js/script.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Argon is a clean HTML5 theme for LuCI. It is based on luci-theme-material and Argon Template 3 | * 4 | * luci-theme-argon 5 | * Copyright 2019 Jerrykuku 6 | * 7 | * Have a bug? Please create an issue here on GitHub! 8 | * https://github.com/jerrykuku/luci-theme-argon/issues 9 | * 10 | * luci-theme-bootstrap: 11 | * Copyright 2008 Steven Barth 12 | * Copyright 2008 Jo-Philipp Wich 13 | * Copyright 2012 David Menting 14 | * 15 | * MUI: 16 | * https://github.com/muicss/mui 17 | * 18 | * luci-theme-material: 19 | * https://github.com/LuttyYang/luci-theme-material/ 20 | * 21 | * Agron Theme 22 | * https://demos.creative-tim.com/argon-dashboard/index.html 23 | * 24 | * Login background 25 | * https://unsplash.com/ 26 | * 27 | * Licensed to the public under the Apache License 2.0 28 | */ 29 | 30 | /* 31 | * Font generate by Icomoon 32 | */ 33 | (function ($) { 34 | $(".main > .loading").fadeOut(); 35 | 36 | /** 37 | * trim text, Remove spaces, wrap 38 | * @param text 39 | * @returns {string} 40 | */ 41 | function trimText(text) { 42 | return text.replace(/[ \t\n\r]+/g, " "); 43 | } 44 | 45 | 46 | var lastNode = undefined; 47 | var mainNodeName = undefined; 48 | 49 | var nodeUrl = ""; 50 | (function (node) { 51 | if (node[0] == "admin") { 52 | luciLocation = [node[1], node[2]]; 53 | } else { 54 | luciLocation = node; 55 | } 56 | 57 | for (var i in luciLocation) { 58 | nodeUrl += luciLocation[i]; 59 | if (i != luciLocation.length - 1) { 60 | nodeUrl += "/"; 61 | } 62 | } 63 | })(luciLocation); 64 | 65 | /** 66 | * get the current node by Burl (primary) 67 | * @returns {boolean} success? 68 | */ 69 | function getCurrentNodeByUrl() { 70 | var ret = false; 71 | if (!$('body').hasClass('logged-in')) { 72 | luciLocation = ["Main", "Login"]; 73 | return true; 74 | } 75 | $(".main > .main-left > .nav > .slide > .active").next(".slide-menu").stop(true).slideUp("fast"); 76 | $(".main > .main-left > .nav > .slide > .menu").removeClass("active"); 77 | $(".main > .main-left > .nav > .slide > .menu").each(function () { 78 | var ulNode = $(this); 79 | 80 | ulNode.next().find("a").each(function () { 81 | var that = $(this); 82 | var href = that.attr("href"); 83 | 84 | if (href.indexOf(nodeUrl) != -1) { 85 | ulNode.click(); 86 | ulNode.next(".slide-menu").stop(true, true); 87 | lastNode = that.parent(); 88 | lastNode.addClass("active"); 89 | ret = true; 90 | return true; 91 | } 92 | }); 93 | }); 94 | return ret; 95 | } 96 | 97 | /** 98 | * menu click 99 | */ 100 | $(".main > .main-left > .nav > .slide > .menu").click(function () { 101 | var ul = $(this).next(".slide-menu"); 102 | var menu = $(this); 103 | if (!menu.hasClass("exit")) { 104 | $(".main > .main-left > .nav > .slide > .active").next(".slide-menu").stop(true).slideUp("fast"); 105 | $(".main > .main-left > .nav > .slide > .menu").removeClass("active"); 106 | if (!ul.is(":visible")) { 107 | menu.addClass("active"); 108 | ul.addClass("active"); 109 | ul.stop(true).slideDown("fast"); 110 | } else { 111 | ul.stop(true).slideUp("fast", function () { 112 | menu.removeClass("active"); 113 | ul.removeClass("active"); 114 | }); 115 | } 116 | 117 | return false; 118 | } 119 | 120 | }); 121 | 122 | 123 | 124 | 125 | // define what element should be observed by the observer 126 | // and what types of mutations trigger the callback 127 | if ($("#cbi-dhcp-lan-ignore").length > 0) { 128 | observer.observe(document.getElementById("cbi-dhcp-lan-ignore"), { 129 | subtree: true, 130 | attributes: true 131 | }); 132 | } 133 | 134 | /** 135 | * hook menu click and add the hash 136 | */ 137 | $(".main > .main-left > .nav > .slide > .slide-menu > li > a").click(function () { 138 | if (lastNode != undefined) 139 | lastNode.removeClass("active"); 140 | $(this).parent().addClass("active"); 141 | $(".main > .loading").fadeIn("fast"); 142 | return true; 143 | }); 144 | 145 | /** 146 | * fix menu click 147 | */ 148 | $(".main > .main-left > .nav > .slide > .slide-menu > li").click(function () { 149 | if (lastNode != undefined) 150 | lastNode.removeClass("active"); 151 | $(this).addClass("active"); 152 | $(".main > .loading").fadeIn("fast"); 153 | window.location = $($(this).find("a")[0]).attr("href"); 154 | return false; 155 | }); 156 | 157 | /** 158 | * fix submenu click 159 | */ 160 | $("#maincontent > .container > .tabs > li").click(function () { 161 | $(".main > .loading").fadeIn("fast"); 162 | window.location = $($(this).find("a")[0]).attr("href"); 163 | return false; 164 | }); 165 | 166 | /** 167 | * get current node and open it 168 | */ 169 | if (getCurrentNodeByUrl()) { 170 | mainNodeName = "node-" + luciLocation[0] + "-" + luciLocation[1]; 171 | mainNodeName = mainNodeName.replace(/[ \t\n\r\/]+/g, "_").toLowerCase(); 172 | $("body").addClass(mainNodeName); 173 | } 174 | $(".cbi-button-up").val(""); 175 | $(".cbi-button-down").val(""); 176 | 177 | 178 | /** 179 | * hook other "A Label" and add hash to it. 180 | */ 181 | $("#maincontent > .container").find("a").each(function () { 182 | var that = $(this); 183 | var onclick = that.attr("onclick"); 184 | if (onclick == undefined || onclick == "") { 185 | that.click(function () { 186 | var href = that.attr("href"); 187 | if (href.indexOf("#") == -1) { 188 | $(".main > .loading").fadeIn("fast"); 189 | return true; 190 | } 191 | }); 192 | } 193 | }); 194 | 195 | /** 196 | * Sidebar expand 197 | */ 198 | var showSide = false; 199 | $(".showSide").click(function () { 200 | if (showSide) { 201 | $(".darkMask").stop(true).fadeOut("fast"); 202 | $(".main-left").stop(true).animate({ 203 | width: "0" 204 | }, "fast"); 205 | $(".main-right").css("overflow-y", "auto"); 206 | showSide = false; 207 | } else { 208 | $(".darkMask").stop(true).fadeIn("fast"); 209 | $(".main-left").stop(true).animate({ 210 | width: "15rem" 211 | }, "fast"); 212 | $(".main-right").css("overflow-y", "hidden"); 213 | showSide = true; 214 | } 215 | }); 216 | 217 | 218 | $(".darkMask").click(function () { 219 | if (showSide) { 220 | showSide = false; 221 | $(".darkMask").stop(true).fadeOut("fast"); 222 | $(".main-left").stop(true).animate({ 223 | width: "0" 224 | }, "fast"); 225 | $(".main-right").css("overflow-y", "auto"); 226 | } 227 | }); 228 | 229 | $(window).resize(function () { 230 | if ($(window).width() > 921) { 231 | $(".main-left").css("width", ""); 232 | $(".darkMask").stop(true); 233 | $(".darkMask").css("display", "none"); 234 | showSide = false; 235 | } 236 | }); 237 | 238 | /** 239 | * fix legend position 240 | */ 241 | $("legend").each(function () { 242 | var that = $(this); 243 | that.after("" + that.text() + ""); 244 | }); 245 | 246 | $(".cbi-section-table-titles, .cbi-section-table-descr, .cbi-section-descr").each(function () { 247 | var that = $(this); 248 | if (that.text().trim() == "") { 249 | that.css("display", "none"); 250 | } 251 | }); 252 | 253 | $(".node-main-login > .main .cbi-value.cbi-value-last .cbi-input-text").focus(function () { 254 | //$(".node-main-login > .main > .main-right > .login-bg").addClass("blur"); 255 | }); 256 | $(".node-main-login > .main .cbi-value.cbi-value-last .cbi-input-text").blur(function () { 257 | //$(".node-main-login > .main > .main-right > .login-bg").removeClass("blur"); 258 | }); 259 | 260 | 261 | $(".main-right").focus(); 262 | $(".main-right").blur(); 263 | $("input").attr("size", "0"); 264 | 265 | if (mainNodeName != undefined) { 266 | console.log(mainNodeName); 267 | switch (mainNodeName) { 268 | case "node-status-system_log": 269 | case "node-status-kernel_log": 270 | $("#syslog").focus(function () { 271 | $("#syslog").blur(); 272 | $(".main-right").focus(); 273 | $(".main-right").blur(); 274 | }); 275 | break; 276 | case "node-status-firewall": 277 | var button = $(".node-status-firewall > .main fieldset li > a"); 278 | button.addClass("cbi-button cbi-button-reset a-to-btn"); 279 | break; 280 | case "node-system-reboot": 281 | var button = $(".node-system-reboot > .main > .main-right p > a"); 282 | button.addClass("cbi-button cbi-input-reset a-to-btn"); 283 | break; 284 | } 285 | } 286 | 287 | })(jQuery); 288 | -------------------------------------------------------------------------------- /luci-theme-argon/htdocs/luci-static/argon/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romantices/GDOCK-passwall/492825495be4f183b7c93b4e5de2a67b294164b7/luci-theme-argon/htdocs/luci-static/argon/logo.png -------------------------------------------------------------------------------- /luci-theme-argon/luasrc/view/themes/argon/footer.htm: -------------------------------------------------------------------------------- 1 | <%# 2 | Argon is a clean HTML5 theme for LuCI. It is based on luci-theme-material and Argon Template 3 | 4 | luci-theme-argon 5 | Copyright 2019 Jerrykuku 6 | 7 | Have a bug? Please create an issue here on GitHub! 8 | https://github.com/jerrykuku/luci-theme-argon/issues 9 | 10 | luci-theme-bootstrap: 11 | Copyright 2008 Steven Barth 12 | Copyright 2008-2016 Jo-Philipp Wich 13 | Copyright 2012 David Menting 14 | 15 | MUI: 16 | https://github.com/muicss/mui 17 | 18 | luci-theme-material: 19 | https://github.com/LuttyYang/luci-theme-material/ 20 | 21 | Agron Theme 22 | https://demos.creative-tim.com/argon-dashboard/index.html 23 | 24 | Login background 25 | https://unsplash.com/ 26 | 27 | Font generate by Icomoon 28 | https://icomoon.io/ 29 | 30 | Licensed to the public under the Apache License 2.0 31 | -%> 32 | 33 | <% 34 | local ver = require "luci.version" 35 | local disp = require "luci.dispatcher" 36 | local request = disp.context.path 37 | local category = request[1] 38 | local tree = disp.node() 39 | local categories = disp.node_childs(tree) 40 | %> 41 | 42 | 53 | 54 | 55 | 56 | 60 | 61 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /luci-theme-argon/luasrc/view/themes/argon/header.htm: -------------------------------------------------------------------------------- 1 | <%# 2 | Argon is a clean HTML5 theme for LuCI. It is based on luci-theme-bootstrap and MUI and Argon Template 3 | 4 | luci-theme-argon 5 | Copyright 2019 Jerrykuku 6 | 7 | Have a bug? Please create an issue here on GitHub! 8 | https://github.com/jerrykuku/luci-theme-argon/issues 9 | 10 | luci-theme-bootstrap: 11 | Copyright 2008 Steven Barth 12 | Copyright 2008-2016 Jo-Philipp Wich 13 | Copyright 2012 David Menting 14 | 15 | MUI: 16 | https://github.com/muicss/mui 17 | 18 | Agron Theme 19 | https://demos.creative-tim.com/argon-dashboard/index.html 20 | 21 | Licensed to the public under the Apache License 2.0 22 | -%> 23 | 24 | <% 25 | local sys = require "luci.sys" 26 | local util = require "luci.util" 27 | local http = require "luci.http" 28 | local disp = require "luci.dispatcher" 29 | local fs = require "nixio.fs" 30 | local nutil = require "nixio.util" 31 | 32 | local boardinfo = util.ubus("system", "board") 33 | 34 | local request = disp.context.path 35 | local request2 = disp.context.request 36 | 37 | local category = request[1] 38 | local cattree = category and disp.node(category) 39 | 40 | local leaf = request2[#request2] 41 | 42 | local tree = disp.node() 43 | local node = disp.context.dispatched 44 | 45 | local categories = disp.node_childs(tree) 46 | 47 | local c = tree 48 | local i, r 49 | 50 | function glob(...) 51 | local iter, code, msg = fs.glob(...) 52 | if iter then 53 | return nutil.consume(iter) 54 | else 55 | return nil, code, msg 56 | end 57 | end 58 | 59 | -- tag all nodes leading to this page 60 | for i, r in ipairs(request) do 61 | if c.nodes and c.nodes[r] then 62 | c = c.nodes[r] 63 | c._menu_selected = true 64 | end 65 | end 66 | 67 | -- send as HTML5 68 | http.prepare_content("text/html") 69 | 70 | local function nodeurl(prefix, name, query) 71 | local u = url(prefix, name) 72 | if query then 73 | u = u .. http.build_querystring(query) 74 | end 75 | return pcdata(u) 76 | end 77 | 78 | local function render_tabmenu(prefix, node, level) 79 | if not level then 80 | level = 1 81 | end 82 | 83 | local childs = disp.node_childs(node) 84 | if #childs > 0 then 85 | if level > 2 then 86 | write('
    ') 87 | end 88 | 89 | local selected_node 90 | local selected_name 91 | local i, v 92 | 93 | for i, v in ipairs(childs) do 94 | local nnode = node.nodes[v] 95 | if nnode._menu_selected then 96 | selected_node = nnode 97 | selected_name = v 98 | end 99 | 100 | if level > 2 then 101 | write('
  • %s
  • ' %{ 102 | v, (nnode._menu_selected or (node.leaf and v == leaf)) and 'active' or '', 103 | nodeurl(prefix, v, nnode.query), 104 | striptags(translate(nnode.title)) 105 | }) 106 | end 107 | end 108 | 109 | if level > 2 then 110 | write('
') 111 | end 112 | 113 | if selected_node then 114 | render_tabmenu(prefix .. "/" .. selected_name, selected_node, level + 1) 115 | end 116 | end 117 | end 118 | 119 | local function render_submenu(prefix, node) 120 | local childs = disp.node_childs(node) 121 | if #childs > 0 then 122 | write('
    ') 123 | 124 | for i, r in ipairs(childs) do 125 | local nnode = node.nodes[r] 126 | local title = pcdata(striptags(translate(nnode.title))) 127 | 128 | write('
  • %s
  • ' %{ 129 | title, 130 | nodeurl(prefix, r, nnode.query), 131 | title 132 | }) 133 | end 134 | 135 | write('
') 136 | end 137 | end 138 | 139 | local function render_topmenu() 140 | local childs = disp.node_childs(cattree) 141 | if #childs > 0 then 142 | write('') 170 | end 171 | end 172 | 173 | local function render_changes() 174 | -- calculate the number of unsaved changes 175 | if tree.nodes[category] and tree.nodes[category].ucidata then 176 | local ucichanges = 0 177 | local i, j 178 | for i, j in pairs(require("luci.model.uci").cursor():changes()) do 179 | ucichanges = ucichanges + #j 180 | end 181 | 182 | if ucichanges > 0 then 183 | write('%s: %d' %{ 184 | url(category, 'uci/changes'), 185 | http.urlencode(http.formvalue('redir') or table.concat(disp.context.request, "/")), 186 | translate('Unsaved Changes'), 187 | ucichanges 188 | }) 189 | end 190 | end 191 | end 192 | 193 | math.randomseed(os.time()) 194 | 195 | local bgcount = 0 196 | for f in ipairs(glob("/www/luci-static/argon/img/*")) do 197 | bgcount = bgcount + 1 198 | end 199 | 200 | 201 | -%> 202 | 203 | 204 | 205 | 206 | <%=striptags( (boardinfo.hostname or "?") .. ( (node and node.title) and ' - ' .. translate(node.title) or '')) %> - LuCI 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | - LuCI"> 220 | - LuCI"> 221 | 222 | 223 | 224 | 225 | 226 | 227 | <% if node and node.css then %> 228 | 229 | <% end -%> 230 | <% if css then %> 231 | 232 | <% end -%> 233 | 234 | 235 | 236 | 237 | 238 | 239 |
240 |
241 |
242 |
243 |
244 |
245 |
246 |
247 |
248 |
249 |
250 | <%=boardinfo.hostname or "?"%> ™ 251 |
252 | 253 |
254 |
255 | 256 | 257 | 258 |
259 |
260 |
261 |
262 | <% render_topmenu() %> 263 |
264 |
265 |
266 |
267 |
268 | 269 | <%=boardinfo.hostname or "?"%> ™ 270 |
271 | <% render_changes() %> 272 | 276 |
277 |
278 |
279 |
280 |
281 | 282 |
283 |
284 | <%- if luci.sys.process.info("uid") == 0 and luci.sys.user.getuser("root") and not luci.sys.user.getpasswd("root") then -%> 285 |
286 |

<%:No password set!%>

287 |

<%:There is no password set on this router. Please configure a root password to protect the web interface and enable SSH.%>

288 | 289 |
290 | <%- end -%> 291 | 292 | 298 | 299 | <% if category then render_tabmenu(category, cattree) end %> 300 | -------------------------------------------------------------------------------- /luci-theme-argon/root/etc/uci-defaults/30_luci-theme-argon: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | uci batch <<-EOF 3 | set luci.themes.Argon=/luci-static/argon 4 | set luci.main.mediaurlbase=/luci-static/argon 5 | commit luci 6 | EOF 7 | exit 0 8 | -------------------------------------------------------------------------------- /newifi3-clash0411.config: -------------------------------------------------------------------------------- 1 | CONFIG_TARGET_ramips=y 2 | CONFIG_TARGET_ramips_mt7621=y 3 | CONFIG_TARGET_ramips_mt7621_DEVICE_d-team_newifi-d2=y 4 | 5 | # CONFIG_SIGNATURE_CHECK is not set 6 | # CONFIG_SIGNED_PACKAGES is not set 7 | 8 | # IPv6 支持 9 | CONFIG_IPV6=y 10 | CONFIG_KERNEL_IPV6=y 11 | CONFIG_PACKAGE_ipv6helper=y 12 | CONFIG_PACKAGE_dnsmasq_full_dhcpv6=y 13 | CONFIG_PACKAGE_6in4=y 14 | CONFIG_PACKAGE_6rd=y 15 | CONFIG_PACKAGE_6to4=y 16 | 17 | # Wireless 驱动程序(开源) 18 | CONFIG_PACKAGE_kmod-mt76=y 19 | 20 | # Wireless 驱动程序(闭源) 21 | # CONFIG_PACKAGE_luci-app-mtwifi is not set 22 | # CONFIG_PACKAGE_mt_wifi is not set 23 | # CONFIG_PACKAGE_kmod-mt7603e is not set 24 | # CONFIG_PACKAGE_kmod-mt76x2e is not set 25 | 26 | # USB 相关 27 | CONFIG_PACKAGE_automount=y 28 | CONFIG_PACKAGE_smartmontools=y 29 | CONFIG_PACKAGE_luci-app-hd-idle=y 30 | CONFIG_PACKAGE_luci-app-usb-printer=y 31 | 32 | ## USB 网络共享 33 | CONFIG_PACKAGE_kmod-usb-net=y 34 | CONFIG_PACKAGE_kmod-usb-net-asix=y 35 | CONFIG_PACKAGE_kmod-usb-net-cdc-ether=y 36 | CONFIG_PACKAGE_kmod-usb-net-cdc-ncm=y 37 | CONFIG_PACKAGE_kmod-usb-net-hso=y 38 | CONFIG_PACKAGE_kmod-usb-net-huawei-cdc-ncm=y 39 | CONFIG_PACKAGE_kmod-usb-net-ipheth=y 40 | CONFIG_PACKAGE_kmod-usb-net-rndis=y 41 | CONFIG_PACKAGE_libudev-fbsd=y 42 | CONFIG_PACKAGE_usbutils=y 43 | 44 | ## USB 网络存储 45 | # CONFIG_PACKAGE_autosamba is not set 46 | # CONFIG_PACKAGE_luci-app-samba4 is not set 47 | CONFIG_PACKAGE_luci-app-samba=y 48 | CONFIG_PACKAGE_luci-app-vsftpd=y 49 | 50 | # LUCI Appliciations 51 | CONFIG_PACKAGE_luci-app-accesscontrol=y 52 | CONFIG_PACKAGE_luci-app-argon-config=y 53 | CONFIG_PACKAGE_luci-app-adbyby-plus=y 54 | CONFIG_PACKAGE_luci-app-adguardhome=y 55 | CONFIG_PACKAGE_luci-app-autoupdate=y 56 | CONFIG_PACKAGE_luci-app-aria2=y 57 | CONFIG_PACKAGE_luci-app-aliyundrive-webdav=y 58 | CONFIG_PACKAGE_luci-app-ddns=y 59 | CONFIG_PACKAGE_ddns-scripts_aliyun=y 60 | CONFIG_PACKAGE_ddns-scripts_dnspod=y 61 | CONFIG_PACKAGE_ddns-scripts_cloudflare.com-v4=y 62 | CONFIG_PACKAGE_ddns-scripts_no-ip_com=y 63 | CONFIG_PACKAGE_luci-app-eqos=y 64 | CONFIG_PACKAGE_luci-app-filetransfer=y 65 | # CONFIG_PACKAGE_luci-app-frpc is not set 66 | CONFIG_PACKAGE_luci-app-ipsec-vpnd=y 67 | CONFIG_PACKAGE_luci-app-iperf3-server=y 68 | # CONFIG_PACKAGE_luci-app-jd-dailybonus is not set 69 | CONFIG_PACKAGE_luci-app-mwan3=y 70 | CONFIG_PACKAGE_luci-app-mwan3helper=y 71 | CONFIG_PACKAGE_luci-app-nlbwmon=y 72 | CONFIG_PACKAGE_luci-app-natter=y 73 | CONFIG_PACKAGE_luci-app-openclash=y 74 | CONFIG_PACKAGE_luci-app-onliner=y 75 | CONFIG_PACKAGE_luci-app-pptp-server=y 76 | # CONFIG_PACKAGE_luci-app-rclone is not set 77 | # CONFIG_PACKAGE_luci-app-rclone_INCLUDE_fuse-utils is not set 78 | # CONFIG_PACKAGE_luci-app-rclone_INCLUDE_rclone-ng is not set 79 | # CONFIG_PACKAGE_luci-app-rclone_INCLUDE_rclone-webui is not set 80 | CONFIG_PACKAGE_luci-app-serverchan=y 81 | CONFIG_PACKAGE_luci-app-sqm=y 82 | CONFIG_PACKAGE_luci-app-syncdial=y 83 | CONFIG_PACKAGE_luci-app-smartdns=y 84 | CONFIG_PACKAGE_luci-app-socat=y 85 | CONFIG_PACKAGE_luci-app-ttyd=y 86 | CONFIG_PACKAGE_luci-app-turboacc=y 87 | CONFIG_PACKAGE_luci-app-turboacc_INCLUDE_OFFLOADING=y 88 | # CONFIG_PACKAGE_luci-app-turboacc_INCLUDE_SHORTCUT_FE is not set 89 | # CONFIG_PACKAGE_luci-app-turboacc_INCLUDE_SHORTCUT_FE_CM is not set 90 | CONFIG_PACKAGE_luci-app-udpxy=y 91 | CONFIG_PACKAGE_luci-app-uhttpd=y 92 | CONFIG_PACKAGE_luci-app-upnp=y 93 | CONFIG_PACKAGE_luci-app-unblockmusic=y 94 | # CONFIG_PACKAGE_luci-app-unblockmusic_INCLUDE_UnblockNeteaseMusic_Go is not set 95 | # CONFIG_PACKAGE_luci-app-unblockmusic_INCLUDE_UnblockNeteaseMusic_NodeJS is not set 96 | CONFIG_PACKAGE_luci-app-webadmin=y 97 | CONFIG_PACKAGE_luci-app-webd=y 98 | CONFIG_PACKAGE_luci-app-wol=y 99 | CONFIG_PACKAGE_luci-app-wireguard=y 100 | CONFIG_PACKAGE_luci-app-zerotier=y 101 | 102 | CONFIG_PACKAGE_luci-ssl-openssl=y 103 | 104 | # SSR PLUS+ 105 | CONFIG_PACKAGE_luci-app-ssr-plus=y 106 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks_NONE_Client=y 107 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks_Libev_Client is not set 108 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks_Rust_Client is not set 109 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks_NONE_Server=y 110 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks_Libev_Server is not set 111 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks_Rust_Server is not set 112 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_NONE_V2RAY is not set 113 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray is not set 114 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Xray is not set 115 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_SagerNet_Core is not set 116 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Kcptun is not set 117 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Hysteria is not set 118 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_IPT2Socks is not set 119 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_NaiveProxy is not set 120 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Redsocks2 is not set 121 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks_Simple_Obfs=y 122 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks_V2ray_Plugin is not set 123 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Libev_Client=y 124 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Libev_Server is not set 125 | # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Trojan is not set 126 | 127 | # CONFIG_PACKAGE_luci-app-shadowsocks-libev is not set 128 | # CONFIG_PACKAGE_shadowsocks-libev-config is not set 129 | # CONFIG_PACKAGE_shadowsocks-libev-ss-local is not set 130 | # CONFIG_PACKAGE_shadowsocks-libev-ss-redir is not set 131 | # CONFIG_PACKAGE_shadowsocks-libev-ss-rules is not set 132 | # CONFIG_PACKAGE_shadowsocks-libev-ss-server is not set 133 | # CONFIG_PACKAGE_shadowsocks-libev-ss-tunnel is not set 134 | # CONFIG_PACKAGE_shadowsocks-rust-sslocal is not set 135 | # CONFIG_PACKAGE_shadowsocks-rust-ssmanager is not set 136 | # CONFIG_PACKAGE_shadowsocks-rust-ssserver is not set 137 | # CONFIG_PACKAGE_shadowsocks-rust-ssservice is not set 138 | # CONFIG_PACKAGE_shadowsocks-rust-ssurl is not set 139 | CONFIG_PACKAGE_ipt2socks=y 140 | 141 | # 主题包 142 | # CONFIG_PACKAGE_luci-theme-argon is not set 143 | CONFIG_PACKAGE_luci-theme-argon-mod=y 144 | 145 | # Other Appliciations 146 | CONFIG_PACKAGE_bash=y 147 | CONFIG_PACKAGE_curl=y 148 | CONFIG_PACKAGE_davfs2=y 149 | CONFIG_PACKAGE_htop=y 150 | CONFIG_PACKAGE_iperf3=y 151 | CONFIG_PACKAGE_jq=y 152 | CONFIG_PACKAGE_lsblk=y 153 | CONFIG_PACKAGE_ppp-mod-pptp=y 154 | CONFIG_PACKAGE_ppp-mod-pppol2tp=y 155 | CONFIG_PACKAGE_wpad-openssl=y 156 | CONFIG_PACKAGE_xz=y 157 | CONFIG_PACKAGE_xz-utils=y 158 | CONFIG_PACKAGE_xl2tpd=y 159 | -------------------------------------------------------------------------------- /screenshots/r619ac1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romantices/GDOCK-passwall/492825495be4f183b7c93b4e5de2a67b294164b7/screenshots/r619ac1.png --------------------------------------------------------------------------------