Skip to content
View lqingsheng's full-sized avatar

Block or report lqingsheng

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
lqingsheng/README.md

关注甬哥项目https://gitlab.com/rwkgyg/

使用Github进行代码托管并连接heroku gitlab项目通过https方式上传到github项目的流程图

workers反代与pages反代及自定义域,配置文件信息等相关操作拓展教程,请关注:博客视频教程

CloudFlare Workers反代代码(可分别用两个账号的应用程序名(path路径协议UUID保持一致),单双号天分别执行,那一个月就有550+550小时(每个账号一个月免费使用550小时))

CloudFlare Workers单账户反代代码
addEventListener(
    "fetch",event => {
        let url=new URL(event.request.url);
        url.hostname="appname.herokuapp.com";
        let request=new Request(url,event.request);
        event. respondWith(
            fetch(request)
        )
    }
)
CloudFlare Workers单双日轮换反代代码
const SingleDay = 'app0.herokuapp.com'
const DoubleDay = 'app1.herokuapp.com'
addEventListener(
    "fetch",event => {
    
        let nd = new Date();
        if (nd.getDate()%2) {
            host = SingleDay
        } else {
            host = DoubleDay
        }
        
        let url=new URL(event.request.url);
        url.hostname=host;
        let request=new Request(url,event.request);
        event. respondWith(
            fetch(request)
        )
    }
)
CloudFlare Workers每五天轮换一遍式反代代码
const Day0 = 'app0.herokuapp.com'
const Day1 = 'app1.herokuapp.com'
const Day2 = 'app2.herokuapp.com'
const Day3 = 'app3.herokuapp.com'
const Day4 = 'app4.herokuapp.com'
addEventListener(
    "fetch",event => {
    
        let nd = new Date();
        let day = nd.getDate() % 5;
        if (day === 0) {
            host = Day0
        } else if (day === 1) {
            host = Day1
        } else if (day === 2) {
            host = Day2
        } else if (day === 3){
            host = Day3
        } else if (day === 4){
            host = Day4
        } else {
            host = Day1
        }
        
        let url=new URL(event.request.url);
        url.hostname=host;
        let request=new Request(url,event.request);
        event. respondWith(
            fetch(request)
        )
    }
)
CloudFlare Workers一周轮换反代代码
const Day0 = 'app0.herokuapp.com'
const Day1 = 'app1.herokuapp.com'
const Day2 = 'app2.herokuapp.com'
const Day3 = 'app3.herokuapp.com'
const Day4 = 'app4.herokuapp.com'
const Day5 = 'app5.herokuapp.com'
const Day6 = 'app6.herokuapp.com'
addEventListener(
    "fetch",event => {
    
        let nd = new Date();
        let day = nd.getDay();
        if (day === 0) {
            host = Day0
        } else if (day === 1) {
            host = Day1
        } else if (day === 2) {
            host = Day2
        } else if (day === 3){
            host = Day3
        } else if (day === 4) {
            host = Day4
        } else if (day === 5) {
            host = Day5
        } else if (day === 6) {
            host = Day6
        } else {
            host = Day1
        }
        
        let url=new URL(event.request.url);
        url.hostname=host;
        let request=new Request(url,event.request);
        event. respondWith(
            fetch(request)
        )
    }
)

感谢以下项目所提供的参考

https://github.com/mixool/xrayku (已删库)

https://github.com/Cptmacmillan2022007/IX-X2VW

Popular repositories Loading

  1. My-Actions My-Actions Public

    Forked from MayoBlueSky/My-Actions

    爱奇艺会员,腾讯视频,哔哩哔哩,百度,各类签到

  2. lqingsheng lqingsheng Public

    Dockerfile

  3. go-proxy-bingai go-proxy-bingai Public

    Forked from adams549659584/go-proxy-bingai

    基于微软 New Bing 简单定制,拥有一致的 UI 体验,支持 ChatGPT 提示词,国内可用,演示站点为甲骨文小鸡仔,轻虐。 突然大流量,小鸡仔IP可能会被限,可以自行搭建或尝试下面其他演示站点。好用的话,右上角顺手 Star 下,谢谢。

    HTML

  4. V2-for-Koyeb V2-for-Koyeb Public template

    Forked from fscarmen2/V2-for-Koyeb

    Dockerfile

  5. box box Public

    Forked from qq605561323/nodejs-proxy-render

    nodejs实现vless

    JavaScript