最新代码,无需github自动重启
wget --no-check-certificate -O ibm-free-v2fly.sh https://raw.githubusercontent.com/enxier/ibm-free-v2fly/1.0/ibm-free-v2fly.sh && chmod +x ibm-free-v2fly.sh && ./ibm-free-v2fly.sh
cf套cdn
addEventListener(
"fetch",event => {
let url=new URL(event.request.url);
url.hostname="ibmyes.us-south.cf.appdomain.cloud";
let request=new Request(url,event.request);
event. respondWith(
fetch(request)
)
}
)
具体教程参考
https://github.com/CCChieh/IBMYes
利用Github的Actions 每周重启 IBM Cloud Fonudray里面有一个BUG要修正
编辑 /.github/workflows/ibm.yml第38行
./IBM_Cloud_CLI/ibmcloud cf install
修改成
./IBM_Cloud_CLI/ibmcloud cf install -v 6.51.0
测试cloudflare的脚本
原作者的不是太好用,推荐其他的,大家可以试试
https://github.com/badafans/better-cloudflare-ip
https://drive.google.com/file/d/11T1ztMMBQHPqkOQs1oszJtbhyvvuc1sL/view?usp=sharing