Skip to content

Automatic unattended weekly builds of the current OpenWrt development master branch

License

Notifications You must be signed in to change notification settings

keyman9848/Actions-OpenWrt-Nginx

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Actions OpenWrt Snapshot With Nginx

特色:

  • 全网最新,openwrt官方master分支版本,内核升级到Linux Kernel 5.4. 插件,内核,luci,packages都与官方最新源码同步.

  • 性能,友好度,易用性,插件,以及针对国内特殊环境等的自定义优化

  • uhttpd替换为nginx,大大增加可玩性:

    • nginx搭配PHP与可道云,建站,NAS两不误,基本可替换群晖等专业NAS系统
    • 通过nginx实现Webdav 自建共享同步网盘神器
    • nginx反向代理 实现后台每个页面与服务都可通过自定义域名访问
  • 内置AdguardHome搭配SmartDNS综合优化方案, 开箱即用,实现恶意网站过滤+区分国内外域名解析加速+ 防污染+ DNS优选

  • 无需专业知识,无需linux服务器,人人皆可通过云编译定制编译自己的专属固件.

  • 持续更新, 每周日零点定时自动云编译更新固件, 始终基于官方最新源码, 不用再担心因停更而需要更换固件.

  • 自选插件,对于未编译进固件且官方仓库中没有的插件将以ipk文件形式提供下载.方便自行安装.

  • SSL兼容,可同时使用http IP访问和绑定域名开启https访问

lean 源码里的所有插件都有移植过来,增加插件只需在X86_64.config文件中开启然后云编译即可.

X86_64固件在此 Releases 下载,每周日更新固件.

后台入口 10.0.0.1  (若后台无法打开,请插拔交换wan,lan网线顺序,默认第一个网口eth0为wan口,第二个网eth1口为lan口.)

默认密码 root

第一次使用请采用全新安装,避免出现升级失败以及其他一些可能的Bug.

建议fork此项目,按自己路由器类型与需求调整.config文件来适配路由器与增删插件,再通过github云编译来编译自己的定制化专属固件

云编译需要 在此 创建个token,然后在此仓库Settings->Secrets中添加个名字为REPO_TOKEN的Secret,填入token值,否者无法release

在仓库Settings->Secrets中分别添加 PPPOE_USERNAME, PPPOE_PASSWD 可设置默认拨号账号密码.

点击右上角的Star按钮开始编译

diy云编译教程: Read the details in my blog (in Chinese) | 中文教程

默认插件包含:

  • SSR Plus
  • PassWall
  • AdguardHome DNS+恶意网址过滤
  • 上网时间控制
  • 微信推送
  • ACME自动SSL证书生成
  • 网易云音乐解锁
  • 动态DDNS
  • SmartDNS 域名解析加速+抗污染
  • 硬盘休眠
  • WatchCat 网络连通性监控
  • vlmcsd KMS微软相关激活工具
  • ttyd 网页版终端
  • UPNP 自动端口转发
  • Aria2 全能下载工具
  • BaiduPCS-Web 百度网盘web客户端(修复登录)
  • cifsd + NFS 网络共享
  • Netdata 全能性能监控
  • diskman 磁盘管理
  • qBittorrent BT下载工具
  • 可道云 做NAS必备
  • PHP 建站与可道云必备
  • aMule 电骡下载 ed2k必备
  • Turbo ACC 网络加速
  • SQM QOS 智能网络优化
  • eqos IP限速
  • AppFilter App过滤
  • nlbwmon 宽带监控

其他插件请在Releases中下载对应的ipk文件,自行安装.

如何在本地使用此项目编译自己需要的 OpenWrt 固件

注意:

  1. 要用 root 用户 git 和编译!!!
  2. 国内用户编译前请准备好梯子,使用大陆白名单或全局模式
  3. 默认登陆10.0.0.1, 密码 root

编译命令如下:

  1. 首先装好 Ubuntu 64bit,推荐 Ubuntu 18 LTS x64

  2. 命令行输入 sudo apt-get update ,然后输入 sudo apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler ccache xsltproc rename antlr3 gperf curl

  3. 首次编译执行脚本:

git clone https://github.com/openwrt/openwrt
git clone https://github.com/garypang13/Actions-OpenWrt-Nginx
cp -Rf Actions-OpenWrt-Nginx/* openwrt/
cd openwrt
./scripts/feeds update -a && ./scripts/feeds install -a
./diy.sh
cp -Rf diy/* ./
mv X86_64.config .config
make defconfig
  1. 二次编译执行脚本
cd openwrt && git pull && cd -
cd Actions-OpenWrt-Nginx && git pull && cd -
cp -Rf Actions-OpenWrt-Nginx/* openwrt/
cd openwrt
./scripts/feeds update -a && ./scripts/feeds install -a
./diy.sh
cp -Rf diy/* ./
make defconfig
  1. 如需修改默认配置比如定制插件等,请执行 make menuconfig

  2. 执行 make -j8 download v=s 下载dl库

  3. 执行 make -j$(($(nproc)+1)) || make -j1 V=s 即可开始编译你要的固件了。

LICENSE GitHub Stars GitHub Forks

Build OpenWrt using GitHub Actions

Usage

  • Sign up for GitHub Actions
  • Fork this GitHub repository
  • Generate .config files using OpenWrt source code.
  • Push .config file to the GitHub repository, and the build starts automatically.Progress can be viewed on the Actions page.
  • When the build is complete, click the Artifacts button in the upper right corner of the Actions page to download the binaries.

Acknowledgments

About

Automatic unattended weekly builds of the current OpenWrt development master branch

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 82.1%
  • CSS 11.3%
  • Makefile 4.7%
  • HTML 1.9%