diff --git a/_worker.js b/_worker.js index e011e416d..90a37a37b 100644 --- a/_worker.js +++ b/_worker.js @@ -5,7 +5,7 @@ import { connect } from 'cloudflare:sockets'; // [Windows] Press "Win + R", input cmd and run: Powershell -NoExit -Command "[guid]::NewGuid()" let userID = 'd342d11e-d424-4583-b36e-524ab1f0afa4'; -const พร็อกซีไอพีs = ['cdn.xn--b6gac.eu.org', 'cdn-all.xn--b6gac.eu.org', 'workers.cloudflare.cyou']; +const พร็อกซีไอพีs = ['119.81.201.154']; // if you want to use ipv6 or single พร็อกซีไอพี, please add comment at this line and remove comment at the next line let พร็อกซีไอพี = พร็อกซีไอพีs[Math.floor(Math.random() * พร็อกซีไอพีs.length)]; @@ -699,50 +699,45 @@ const ed = 'RUR0dW5uZWw='; * @returns {string} */ function getวเลสConfig(userIDs, hostName) { - const commonUrlPart = `:443?encryption=none&security=tls&sni=${hostName}&fp=randomized&type=ws&host=${hostName}&path=%2F%3Fed%3D2048#${hostName}`; - const hashSeparator = "################################################################"; - + const commonUrlPart = `:443?encryption=none&security=tls&sni=${hostName}&fp=randomized&type=ws&host=${hostName}&path=/vlesscf#${hostName}`; + const commonUrlPart1 = `:80?encryption=none&security=none&fp=randomized&type=ws&host=${hostName}&path=/vlesscf#${hostName}`; + // Split the userIDs into an array const userIDArray = userIDs.split(","); // Prepare output string for each userID - const output = userIDArray.map((userID) => { + const output1 = userIDArray.map((userID) => { const วเลสMain = atob(pt) + '://' + userID + atob(at) + hostName + commonUrlPart; - const วเลสSec = atob(pt) + '://' + userID + atob(at) + พร็อกซีไอพี + commonUrlPart; - return `
-Welcome! This function generates configuration for วเลส protocol. If you found this useful, please check our GitHub project for more:
-欢迎!这是生成 วเลส 协议的配置。如果您发现这个项目很好用,请查看我们的 GitHub 项目给我一个star:
-EDtunnel - https://github.com/3Kmfi6HP/EDtunnel
-
-วเลส 节点订阅连接
-Clash for Windows 节点订阅连接
-Clash 节点订阅连接
-优选IP自动节点订阅
-Clash优选IP自动
-singbox优选IP自动
-nekobox优选IP自动
-v2rayNG优选IP自动
VLESS FREE CLOUDFLARE
+${header}
- ${output}
+
+ ${output1}
+ ${output2}
`;
}
@@ -867,78 +879,5 @@ function สร้างวเลสSub(ไอดีผู้ใช้_เส้
}
const cn_hostnames = [
- 'weibo.com', // Weibo - A popular social media platform
- 'www.baidu.com', // Baidu - The largest search engine in China
- 'www.qq.com', // QQ - A widely used instant messaging platform
- 'www.taobao.com', // Taobao - An e-commerce website owned by Alibaba Group
- 'www.jd.com', // JD.com - One of the largest online retailers in China
- 'www.sina.com.cn', // Sina - A Chinese online media company
- 'www.sohu.com', // Sohu - A Chinese internet service provider
- 'www.tmall.com', // Tmall - An online retail platform owned by Alibaba Group
- 'www.163.com', // NetEase Mail - One of the major email providers in China
- 'www.zhihu.com', // Zhihu - A popular question-and-answer website
- 'www.youku.com', // Youku - A Chinese video sharing platform
- 'www.xinhuanet.com', // Xinhua News Agency - Official news agency of China
- 'www.douban.com', // Douban - A Chinese social networking service
- 'www.meituan.com', // Meituan - A Chinese group buying website for local services
- 'www.toutiao.com', // Toutiao - A news and information content platform
- 'www.ifeng.com', // iFeng - A popular news website in China
- 'www.autohome.com.cn', // Autohome - A leading Chinese automobile online platform
- 'www.360.cn', // 360 - A Chinese internet security company
- 'www.douyin.com', // Douyin - A Chinese short video platform
- 'www.kuaidi100.com', // Kuaidi100 - A Chinese express delivery tracking service
- 'www.wechat.com', // WeChat - A popular messaging and social media app
- 'www.csdn.net', // CSDN - A Chinese technology community website
- 'www.imgo.tv', // ImgoTV - A Chinese live streaming platform
- 'www.aliyun.com', // Alibaba Cloud - A Chinese cloud computing company
- 'www.eyny.com', // Eyny - A Chinese multimedia resource-sharing website
- 'www.mgtv.com', // MGTV - A Chinese online video platform
- 'www.xunlei.com', // Xunlei - A Chinese download manager and torrent client
- 'www.hao123.com', // Hao123 - A Chinese web directory service
- 'www.bilibili.com', // Bilibili - A Chinese video sharing and streaming platform
- 'www.youth.cn', // Youth.cn - A China Youth Daily news portal
- 'www.hupu.com', // Hupu - A Chinese sports community and forum
- 'www.youzu.com', // Youzu Interactive - A Chinese game developer and publisher
- 'www.panda.tv', // Panda TV - A Chinese live streaming platform
- 'www.tudou.com', // Tudou - A Chinese video-sharing website
- 'www.zol.com.cn', // ZOL - A Chinese electronics and gadgets website
- 'www.toutiao.io', // Toutiao - A news and information app
- 'www.tiktok.com', // TikTok - A Chinese short-form video app
- 'www.netease.com', // NetEase - A Chinese internet technology company
- 'www.cnki.net', // CNKI - China National Knowledge Infrastructure, an information aggregator
- 'www.zhibo8.cc', // Zhibo8 - A website providing live sports streams
- 'www.zhangzishi.cc', // Zhangzishi - Personal website of Zhang Zishi, a public intellectual in China
- 'www.xueqiu.com', // Xueqiu - A Chinese online social platform for investors and traders
- 'www.qqgongyi.com', // QQ Gongyi - Tencent's charitable foundation platform
- 'www.ximalaya.com', // Ximalaya - A Chinese online audio platform
- 'www.dianping.com', // Dianping - A Chinese online platform for finding and reviewing local businesses
- 'www.suning.com', // Suning - A leading Chinese online retailer
- 'www.zhaopin.com', // Zhaopin - A Chinese job recruitment platform
- 'www.jianshu.com', // Jianshu - A Chinese online writing platform
- 'www.mafengwo.cn', // Mafengwo - A Chinese travel information sharing platform
- 'www.51cto.com', // 51CTO - A Chinese IT technical community website
- 'www.qidian.com', // Qidian - A Chinese web novel platform
- 'www.ctrip.com', // Ctrip - A Chinese travel services provider
- 'www.pconline.com.cn', // PConline - A Chinese technology news and review website
- 'www.cnzz.com', // CNZZ - A Chinese web analytics service provider
- 'www.telegraph.co.uk', // The Telegraph - A British newspaper website
- 'www.ynet.com', // Ynet - A Chinese news portal
- 'www.ted.com', // TED - A platform for ideas worth spreading
- 'www.renren.com', // Renren - A Chinese social networking service
- 'www.pptv.com', // PPTV - A Chinese online video streaming platform
- 'www.liepin.com', // Liepin - A Chinese online recruitment website
- 'www.881903.com', // 881903 - A Hong Kong radio station website
- 'www.aipai.com', // Aipai - A Chinese online video sharing platform
- 'www.ttpaihang.com', // Ttpaihang - A Chinese celebrity popularity ranking website
- 'www.quyaoya.com', // Quyaoya - A Chinese online ticketing platform
- 'www.91.com', // 91.com - A Chinese software download website
- 'www.dianyou.cn', // Dianyou - A Chinese game information website
- 'www.tmtpost.com', // TMTPost - A Chinese technology media platform
- 'www.douban.com', // Douban - A Chinese social networking service
- 'www.guancha.cn', // Guancha - A Chinese news and commentary website
- 'www.so.com', // So.com - A Chinese search engine
- 'www.58.com', // 58.com - A Chinese classified advertising website
- 'www.cnblogs.com', // Cnblogs - A Chinese technology blog community
- 'www.cntv.cn', // CCTV - China Central Television official website
- 'www.secoo.com', // Secoo - A Chinese luxury e-commerce platform
+ 't.me/Tingkeh',
];
diff --git a/wrangler.toml b/wrangler.toml
index 0bc94a41f..9a3253d66 100644
--- a/wrangler.toml
+++ b/wrangler.toml
@@ -1,10 +1,20 @@
-name = "cf-worker-ws-dev" # todo
+name = "indo" # todo
#name = "cf-worker-connect-test" # todo
#main = "test/worker/cf-cdn-cgi-trace2.js"
#main = "test/worker/worker-connect-test.js"
main = "_worker.js"
compatibility_date = "2023-05-26"
-
+routes = [
+ { pattern = "indo.vvip-anakmami.my.id", custom_domain = true },
+ { pattern = "ava.game.naver.com.indo.vvip-anakmami.my.id", custom_domain = true },
+ { pattern = "graph.instagram.com.indo.vvip-anakmami.my.id", custom_domain = true },
+ { pattern = "quiz.int.vidio.com.indo.vvip-anakmami.my.id", custom_domain = true },
+ { pattern = "investors.spotify.com.indo.vvip-anakmami.my.id", custom_domain = true },
+ { pattern = "zaintest.vuclip.com.indo.vvip-anakmami.my.id", custom_domain = true },
+ { pattern = "cache.netflix.com.indo.vvip-anakmami.my.id", custom_domain = true },
+ { pattern = "blog.webex.com.indo.vvip-anakmami.my.id", custom_domain = true },
+ { pattern = "support.zoom.us.indo.vvip-anakmami.my.id", custom_domain = true },
+]
[vars]
# UUID = "d342d11e-d424-4583-b36e-524ab1f0afa4"
# PROXYIP = "1.2.3.4"
@@ -12,4 +22,4 @@ compatibility_date = "2023-05-26"
# NODE_ID = "1"
# API_TOKEN = "example_dev_token"
# API_HOST = "api.v2board.com"
-UUID = "1b6c1745-992e-4aac-8685-266c090e50ea,89b64978-6244-4bf3-bf64-67ade4ce5c8f,d342d11e-d424-4583-b36e-524ab1f0afa4"
+UUID = "ce2548db-52f6-46cd-8323-ae5cc0bbd4b9"