Skip to content

naoki66/Actions-OpenWrt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

164 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 仓库自动编译,感谢以下仓库的源主贡献。
➦openwrt主源码来自https://github.com/immortalwrt/immortalwrt
➦luci-app-lucky源码来自 https://github.com/gdy666/luci-app-lucky
➦luci-app-mosdns源码来自 https://github.com/sbwml/luci-app-mosdns
➦luci-app-wechatpush源码来自 https://github.com/tty228/luci-app-wechatpush
➦passwall源码来自 https://github.com/Openwrt-Passwall/openwrt-passwall

➦openwrt主源码来自https://github.com/coolsnowwolf/lede
➦packages源码来自https://github.com/coolsnowwolf/packages
➦luci源码来自 https://github.com/coolsnowwolf/luci

首次编译:

export GOPROXY=https://goproxy.cn
git clone -b openwrt-24.10 --single-branch --filter=blob:none https://github.com/immortalwrt/immortalwrt
cd immortalwrt
./scripts/feeds update -a  && ./scripts/feeds install -a
make menuconfig
make download -j8
make V=s -j1

二次编译:

cd immortalwrt
export GOPROXY=https://goproxy.cn
git pull  && ./scripts/feeds update -a  && ./scripts/feeds install -a 
make defconfig && make download -j8
make V=s -j$(nproc)

重新配置:

rm -rf ./tmp && rm -rf .config
make menuconfig
make V=s -j$(nproc)

DNS protocol standard

General DNS (UDP): 119.29.29.29 & udp://119.29.29.29:53

General DNS (TCP): tcp://119.29.29.29 & tcp://119.29.29.29:53

DNS-over-TLS: tls://120.53.53.53 & tls://120.53.53.53:853

DNS-over-HTTPS: https://120.53.53.53/dns-query

DNS-over-HTTPS (HTTP/3): h3://dns.alidns.com/dns-query

DNS-over-QUIC: quic://dns.alidns.com & doq://dns.alidns.com


# alidns
tls://dns.alidns.com
https://dns.alidns.com/dns-query
https://223.6.6.6/dns-query
https://223.5.5.5/dns-query

# dnspod
DoH:https://doh.pub/dns-query
DoT:dot.pub
119.29.29.29
# 360
tls://dot.360.cn
https://doh.360.cn/dns-query
# google

tls://dns.google
DoH 
https://dns.google/dns-query - RFC 8484(GET 和 POST)
https://dns.google/resolve?- JSON API (GET)
# Cloudflare
tls://1.1.1.1
https://1.1.1.1/dns-query
https://1.0.0.1/dns-query
# opendns
tls://208.67.222.222
https://doh.opendns.com/dns-query
# AdGuard
quic://dns.adguard-dns.com
quic://dns-unfiltered.adguard.com
# doh3
h3://dns.nextdns.io
h3://dns.cloudflare.com/dns-query
h3://dns.adguard-dns.com/dns-query
# tuna
https://101.6.6.6:8443/dns-query
tls://dns.tuna.tsinghua.edu.cn:8853

首次编译:

export GOPROXY=https://goproxy.cn
git clone https://github.com/coolsnowwolf/lede
cd lede
./scripts/feeds update -a  && ./scripts/feeds install -a
make menuconfig
make download -j8
make V=s -j1

二次编译:

export GOPROXY=https://goproxy.cn
cd lede 
git pull  && ./scripts/feeds update -a  && ./scripts/feeds install -a 
make defconfig && make download -j8
make V=s -j$(nproc)

重新配置:

rm -rf ./tmp && rm -rf .config
make menuconfig
make V=s -j$(nproc)

使用方法

前面的自动编译以及个性化定制等修改,全部来源于P3TER大神的代码教程
这里只说发布release的方法,部分代码借鉴或使用id77ncipollo两位大神:
1、自动编译及自动发布你也可以使用本仓库模板,请点击上面的Use this template(使用此模板)来创建你自己的新仓库。
2、点击右上角你的头像-settings-Developer settings-Personal access tokens生成新的令牌,选中public_repo,随便起名保存,同时复制令牌内容。
3、回到刚建的新仓库,settings-Secrets-Add a new secret(添加密匙),取名RELEASES_TOKEN,把刚才复制的令牌粘贴进去保存。
4、定时编译的时间、触发自动编译的方法修改都在上面P3TERX大佬的教程里有说明。
5、最关键一步,因为我在里面加入了开始编译和编译成功的微信消息提醒,所以除以上步骤外,还要把serverchan(微信推送)
的令牌保存到secret里,取名ServerChan.和前面第三步的添加密匙方法一致,否则差了这一步,刚开始编译就因为微信推送
找不到令牌而宣告失败。或者取消微信推送,注释掉yml文件中开始编译和编译结束的代码(共四行代码)即可。

致谢

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages