Skip to content

Commit 07409a2

Browse files
committed
Merge remote-tracking branch 'upstream/main'
2 parents bb4ecf0 + 7b318f1 commit 07409a2

File tree

3 files changed

+31
-31
lines changed

3 files changed

+31
-31
lines changed

README.md

+25-25
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# edgetunnel
1+
# 🚀 edgetunnel
22
这是一个基于 CF Worker 平台的脚本,在原版的基础上修改了显示 VLESS 配置信息转换为订阅内容。使用该脚本,你可以方便地将 VLESS 配置信息使用在线配置转换到 Clash 或 Singbox 等工具中。
33

44
- **edgetunnel 最新教程**https://www.youtube.com/watch?v=tKe9xUuFODA ***必看内容!必看内容!必看内容!!!***
55
- **报错 Error 1101 详解**https://www.youtube.com/watch?v=r4uVTEJptdE
66

7-
Telegram交流群:[@CMLiussss](https://t.me/CMLiussss)**感谢[Alice Networks](https://url.cmliussss.com/alice)提供的云服务器维持[CM订阅转换服务](https://sub.fxxk.dedyn.io/)**
7+
Telegram交流群:[@CMLiussss](https://t.me/CMLiussss)**感谢[Alice Networks](https://url.cmliussss.com/alice)提供的云服务器维持[CM订阅转换服务](https://sub.cmliussss.net/)**
88

9-
# 免责声明
9+
## ⚠️ 免责声明
1010

1111
本免责声明适用于 GitHub 上的 “edgetunnel” 项目(以下简称“本项目”),项目链接为:https://github.com/cmliu/edgetunnel
1212

@@ -27,12 +27,12 @@ Telegram交流群:[@CMLiussss](https://t.me/CMLiussss),**感谢[Alice Networ
2727

2828
作者保留随时更新本免责声明的权利,且不另行通知。最新版本的免责声明将发布在本项目的 GitHub 页面上。
2929

30-
## 风险提示
30+
## 🔥 风险提示
3131
- 通过提交虚假的节点配置给订阅服务,避免节点配置信息泄露。
3232
- 另外,您也可以选择自行部署 [WorkerVless2sub 订阅生成服务](https://github.com/cmliu/WorkerVless2sub),这样既可以利用订阅生成器的便利。
3333

34-
# 如何使用?
35-
## Workers 部署方法 [视频教程](https://www.youtube.com/watch?v=tKe9xUuFODA&t=191s)
34+
## 💡 如何使用?
35+
### ⚙️ Workers 部署方法 [视频教程](https://www.youtube.com/watch?v=tKe9xUuFODA&t=191s)
3636

3737
<details>
3838
<summary><code><strong>「 Workers 部署文字教程 」</strong></code></summary>
@@ -61,7 +61,7 @@ Telegram交流群:[@CMLiussss](https://t.me/CMLiussss),**感谢[Alice Networ
6161

6262
</details>
6363

64-
## Pages 上传 部署方法 **最佳推荐!!!** [视频教程](https://www.youtube.com/watch?v=tKe9xUuFODA&t=436s)
64+
### 🛠 Pages 上传 部署方法 **最佳推荐!!!** [视频教程](https://www.youtube.com/watch?v=tKe9xUuFODA&t=436s)
6565

6666
<details>
6767
<summary><code><strong>「 Pages 上传文件部署文字教程 」</strong></code></summary>
@@ -96,7 +96,7 @@ Telegram交流群:[@CMLiussss](https://t.me/CMLiussss),**感谢[Alice Networ
9696

9797
</details>
9898

99-
## Pages GitHub 部署方法 [视频教程](https://www.youtube.com/watch?v=tKe9xUuFODA&t=317s)
99+
### 🛠 Pages GitHub 部署方法 [视频教程](https://www.youtube.com/watch?v=tKe9xUuFODA&t=317s)
100100

101101
<details>
102102
<summary><code><strong>「 Pages GitHub 部署文字教程 」</strong></code></summary>
@@ -130,15 +130,15 @@ Telegram交流群:[@CMLiussss](https://t.me/CMLiussss),**感谢[Alice Networ
130130

131131
</details>
132132

133-
# 变量说明
133+
## 🔑 变量说明
134134

135135
| 变量名 | 示例 | 必填 | 备注 | YT |
136136
|--------|---------|-|-----|-----|
137137
| UUID | `90cd4a77-141a-43c9-991b-08263cfe9c10` || 可输入任意值(非UUIDv4标准的值会自动切换成动态UUID) | [Video](https://www.youtube.com/watch?v=s91zjpw3-P8&t=72s) |
138138
| KEY | `token` || 动态UUID秘钥,使用变量`KEY`的时候,将不再启用变量`UUID`| |
139139
| TIME | `7` || 动态UUID有效时间(默认值:`7`天)| |
140140
| UPTIME | `3` || 动态UUID更新时间(默认值:北京时间`3`点更新) | |
141-
| PROXYIP | `proxyip.fxxk.dedyn.io:443` || 备选作为访问CFCDN站点的代理节点(支持自定义ProxyIP端口, 支持多ProxyIP, ProxyIP之间使用`,``换行`作间隔) | [Video](https://www.youtube.com/watch?v=s91zjpw3-P8&t=166s) |
141+
| PROXYIP | `proxyip.cmliussss.net:443` || 备选作为访问CFCDN站点的代理节点(支持自定义ProxyIP端口, 支持多ProxyIP, ProxyIP之间使用`,``换行`作间隔) | [Video](https://www.youtube.com/watch?v=s91zjpw3-P8&t=166s) |
142142
| SOCKS5 | `user:[email protected]:1080` || 优先作为访问CFCDN站点的SOCKS5代理(支持多socks5, socks5之间使用`,``换行`作间隔) | [Video](https://www.youtube.com/watch?v=s91zjpw3-P8&t=826s) |
143143
| GO2SOCKS5 | `blog.cmliussss.com`,`*.ip111.cn`,`*google.com` || 设置`SOCKS5`变量之后,可设置强制使用socks5访问名单(`*`可作为通配符,`换行`作多元素间隔) ||
144144
| ADD | `icook.tw:2053#官方优选域名` || 本地优选TLS域名/优选IP(支持多元素之间`,``换行`作间隔) ||
@@ -150,8 +150,8 @@ Telegram交流群:[@CMLiussss](https://t.me/CMLiussss),**感谢[Alice Networ
150150
| CSVREMARK | `1` || CSV备注所在列偏移量 ||
151151
| TGTOKEN | `6894123456:XXXXXXXXXX0qExVsBPUhHDAbXXX` || 发送TG通知的机器人token |
152152
| TGID | `6946912345` || 接收TG通知的账户数字ID |
153-
| SUB | `VLESS.fxxk.dedyn.io` || 优选订阅生成器域名 | [Video](https://www.youtube.com/watch?v=s91zjpw3-P8&t=1193s) |
154-
| SUBAPI | `SUBAPI.fxxk.dedyn.io` || clash、singbox等 订阅转换后端 | [Video](https://www.youtube.com/watch?v=s91zjpw3-P8&t=1446s) |
153+
| SUB | `SUB.cmliussss.net` || 优选订阅生成器域名 | [Video](https://www.youtube.com/watch?v=s91zjpw3-P8&t=1193s) |
154+
| SUBAPI | `SUBAPI.cmliussss.net` || clash、singbox等 订阅转换后端 | [Video](https://www.youtube.com/watch?v=s91zjpw3-P8&t=1446s) |
155155
| SUBCONFIG | [https://raw.github.../ACL4SSR_Online_Full_MultiMode.ini](https://raw.githubusercontent.com/cmliu/ACL4SSR/main/Clash/config/ACL4SSR_Online_Full_MultiMode.ini) || clash、singbox等 订阅转换配置文件 | [Video](https://www.youtube.com/watch?v=s91zjpw3-P8&t=1605s) |
156156
| SUBEMOJI | `false` || 订阅转换是否启用Emoji(默认`true`) | |
157157
| SUBNAME | `edgetunnel` || 订阅名称 | |
@@ -160,7 +160,7 @@ Telegram交流群:[@CMLiussss](https://t.me/CMLiussss),**感谢[Alice Networ
160160
| URL | `https://blog.cmliussss.com` || 主页反代伪装(支持多url, url之间使用`,``换行`作间隔, 乱设容易触发反诈) | |
161161
| CFPORTS | `2053`,`2096`,`8443` || CF账户标准端口列表 | |
162162

163-
# 注意事项
163+
## 注意事项
164164

165165
### 开启在线编辑优选列表 [视频教程](https://www.youtube.com/watch?v=tKe9xUuFODA&t=630s)
166166
- 绑定**变量名称**`KV`**KV命名空间**,即可在无`SUB`的前提下,在配置页实现在线编辑`ADD``ADDAPI`优选列表;
@@ -184,22 +184,22 @@ Telegram交流群:[@CMLiussss](https://t.me/CMLiussss),**感谢[Alice Networ
184184
- 脚本将自动生成基于CF随机IP的线路,每次更新订阅时会生成不同的随机IP,确保您的订阅不会失联!
185185

186186

187-
# 实用技巧
187+
## 🔧 实用技巧
188188
本项目提供灵活的订阅配置方案,支持通过URL参数快速自定义订阅内容。
189189
- 示例订阅地址: `https://edgetunnel.pages.dev/90cd4a77-141a-43c9-991b-08263cfe9c10`
190190

191191
1. 更换**订阅生成器**的订阅地址 [视频教程](https://www.youtube.com/watch?v=tKe9xUuFODA&t=1019s)
192192

193-
快速切换订阅生成器至 `VLESS.fxxk.dedyn.io`
193+
快速切换订阅生成器至 `VLESS.cmliussss.net`
194194
```url
195-
https://edgetunnel.pages.dev/90cd4a77-141a-43c9-991b-08263cfe9c10?sub=VLESS.fxxk.dedyn.io
195+
https://edgetunnel.pages.dev/90cd4a77-141a-43c9-991b-08263cfe9c10?sub=VLESS.cmliussss.net
196196
```
197197

198198
2. 更换**PROXYIP**的订阅地址 [视频教程](https://www.youtube.com/watch?v=tKe9xUuFODA&t=1094s)
199199

200-
快速更换PROXYIP为 `proxyip.fxxk.dedyn.io`
200+
快速更换PROXYIP为 `proxyip.cmliussss.net`
201201
```url
202-
https://edgetunnel.pages.dev/90cd4a77-141a-43c9-991b-08263cfe9c10?proxyip=proxyip.fxxk.dedyn.io
202+
https://edgetunnel.pages.dev/90cd4a77-141a-43c9-991b-08263cfe9c10?proxyip=proxyip.cmliussss.net
203203
```
204204

205205
3. 更换**SOCKS5**的订阅地址
@@ -213,16 +213,16 @@ Telegram交流群:[@CMLiussss](https://t.me/CMLiussss),**感谢[Alice Networ
213213

214214
例如同时修改**订阅生成器****PROXYIP**
215215
```url
216-
https://edgetunnel.pages.dev/90cd4a77-141a-43c9-991b-08263cfe9c10?sub=VLESS.fxxk.dedyn.io&proxyip=proxyip.fxxk.dedyn.io
216+
https://edgetunnel.pages.dev/90cd4a77-141a-43c9-991b-08263cfe9c10?sub=VLESS.cmliussss.net&proxyip=proxyip.cmliussss.net
217217
```
218218

219219
4. 该项目部署的节点可通过节点PATH(路径)的方式,使用指定的`PROXYIP``SOCKS5`!!!**
220220

221221
- 指定 `PROXYIP` 案例
222222
```url
223-
/proxyip=proxyip.fxxk.dedyn.io
224-
/?proxyip=proxyip.fxxk.dedyn.io
225-
/proxyip.fxxk.dedyn.io (仅限于域名开头为'proxyip.'的域名)
223+
/proxyip=proxyip.cmliussss.net
224+
/?proxyip=proxyip.cmliussss.net
225+
/proxyip.cmliussss.net (仅限于域名开头为'proxyip.'的域名)
226226
```
227227

228228
- 指定 `SOCKS5` 案例
@@ -239,10 +239,10 @@ Telegram交流群:[@CMLiussss](https://t.me/CMLiussss),**感谢[Alice Networ
239239
https://raw.githubusercontent.com/cmliu/WorkerVless2sub/main/addressesapi.txt?proxyip=true
240240
```
241241

242-
## Star 星星走起
242+
## Star 星星走起
243243
[![Stargazers over time](https://starchart.cc/cmliu/edgetunnel.svg?variant=adaptive)](https://starchart.cc/cmliu/edgetunnel)
244244

245-
## 已适配客户端
245+
## 💻 已适配客户端
246246
### Windows
247247
- [v2rayN](https://github.com/2dust/v2rayN)
248248
- clash.meta([FlClash](https://github.com/chen08209/FlClash)[mihomo-party](https://github.com/mihomo-party-org/mihomo-party)[clash-verge-rev](https://github.com/clash-verge-rev/clash-verge-rev)[Clash Nyanpasu](https://github.com/keiko233/clash-nyanpasu)
@@ -255,5 +255,5 @@ Telegram交流群:[@CMLiussss](https://t.me/CMLiussss),**感谢[Alice Networ
255255
### MacOS
256256
- clash.meta([FlClash](https://github.com/chen08209/FlClash)[mihomo-party](https://github.com/mihomo-party-org/mihomo-party)
257257

258-
# 感谢
258+
# 🙏 感谢
259259
[zizifn](https://github.com/zizifn/edgetunnel)[3Kmfi6HP](https://github.com/6Kmfi6HP/EDtunnel)[Stanley-baby](https://github.com/Stanley-baby)[ACL4SSR](https://github.com/ACL4SSR/ACL4SSR/tree/master/Clash/config)[SHIJS1999](https://github.com/SHIJS1999/cloudflare-worker-vless-ip)[Alice Networks LTD](https://url.cmliussss.com/alice)

_worker.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

明文源码.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { connect } from 'cloudflare:sockets';
44
let userID = '';
55
let proxyIP = '';
66
//let sub = '';
7-
let subConverter = atob('U1VCQVBJLmZ4eGsuZGVkeW4uaW8=');
7+
let subConverter = atob('U1VCQVBJLkNNTGl1c3Nzcy5uZXQ=');
88
let subConfig = atob('aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tL0FDTDRTU1IvQUNMNFNTUi9tYXN0ZXIvQ2xhc2gvY29uZmlnL0FDTDRTU1JfT25saW5lX01pbmlfTXVsdGlNb2RlLmluaQ==');
99
let subProtocol = 'https';
1010
let subEmoji = 'true';
@@ -398,7 +398,7 @@ async function handleTCPOutBound(remoteSocket, addressType, addressRemote, portR
398398
} else {
399399
// 否则,尝试使用预设的代理 IP(如果有)或原始地址重试连接
400400
if (!proxyIP || proxyIP == '') {
401-
proxyIP = atob(`UFJPWFlJUC50cDEuZnh4ay5kZWR5bi5pbw==`);
401+
proxyIP = atob('UFJPWFlJUC50cDEuMDkwMjI3Lnh5eg==');
402402
} else if (proxyIP.includes(']:')) {
403403
portRemote = proxyIP.split(']:')[1] || portRemote;
404404
proxyIP = proxyIP.split(']:')[0] || proxyIP;
@@ -1390,14 +1390,14 @@ async function 生成配置信息(userID, hostName, sub, UA, RproxyIP, _url, fak
13901390
<strong>3.</strong> 快速切换 <a href='${atob('aHR0cHM6Ly9naXRodWIuY29tL2NtbGl1L1dvcmtlclZsZXNzMnN1Yg==')}'>优选订阅生成器</a> 至:sub.google.com,您可将"?sub=sub.google.com"参数添加到链接末尾,例如:<br>
13911391
&nbsp;&nbsp;https://${proxyhost}${hostName}/${uuid}<strong>?sub=sub.google.com</strong><br>
13921392
<br>
1393-
<strong>4.</strong> 快速更换 PROXYIP 至:proxyip.fxxk.dedyn.io:443,您可将"?proxyip=proxyip.fxxk.dedyn.io:443"参数添加到链接末尾,例如:<br>
1394-
&nbsp;&nbsp; https://${proxyhost}${hostName}/${uuid}<strong>?proxyip=proxyip.fxxk.dedyn.io:443</strong><br>
1393+
<strong>4.</strong> 快速更换 PROXYIP 至:proxyip.cmliussss.net:443,您可将"?proxyip=proxyip.cmliussss.net:443"参数添加到链接末尾,例如:<br>
1394+
&nbsp;&nbsp; https://${proxyhost}${hostName}/${uuid}<strong>?proxyip=proxyip.cmliussss.net:443</strong><br>
13951395
<br>
13961396
<strong>5.</strong> 快速更换 SOCKS5 至:user:[email protected]:1080,您可将"?socks5=user:[email protected]:1080"参数添加到链接末尾,例如:<br>
13971397
&nbsp;&nbsp;https://${proxyhost}${hostName}/${uuid}<strong>?socks5=user:[email protected]:1080</strong><br>
13981398
<br>
13991399
<strong>6.</strong> 如需指定多个参数则需要使用'&'做间隔,例如:<br>
1400-
&nbsp;&nbsp;https://${proxyhost}${hostName}/${uuid}?sub=sub.google.com<strong>&</strong>proxyip=proxyip.fxxk.dedyn.io<br>
1400+
&nbsp;&nbsp;https://${proxyhost}${hostName}/${uuid}?sub=sub.google.com<strong>&</strong>proxyip=proxyip.cmliussss.net<br>
14011401
</div>
14021402
<script src="https://cdn.jsdelivr.net/npm/@keeex/[email protected]/qrcode.min.js"></script>
14031403
<script>

0 commit comments

Comments
 (0)