博文

cloudflare workers 创建 vless节点worker部署Vless

cloudflare workers 创建 vless节点worker部署Vless 感觉比较纯净的代码 代码:  // <!--GAMFC-->version base on commit 841ed4e9ff121dde0ed6a56ae800c2e6c4f66056, time is 2024-04-16 18:02:37 UTC<!--GAMFC-END-->. // @ts-ignore import { connect } from 'cloudflare:sockets'; // How to generate your own UUID: // [Windows] Press "Win + R", input cmd and run: Powershell -NoExit -Command "[guid]::NewGuid()" let userID = '1c813471-86cd-4f34-8159-ea500ac359a3'; let proxyIP = '156.146.53.83'; if (!isValidUUID(userID)) { throw new Error('uuid is not valid'); } export default { /** * @param {import("@cloudflare/workers-types").Request} request * @param {{UUID: string, PROXYIP: string}} env * @param {import("@cloudflare/workers-types").ExecutionContext} ctx * @returns {Promise<Response>} */ async fetch(request, env, ctx) { try { userID = env.UUID || userID; proxyIP = env.PROXYIP || proxyIP; const upgradeHe...

无意间发现免费v2ray节点订阅 clash订阅链接 在使用cloudflare workers部署白嫖代理时发现

YouTube视频1: https://youtu.be/eNAEijExsug YouTube视频2: https://youtu.be/cNauurQhHJQ Github源码(worker.js): https://github.com/Banwan1212/v2ray-worker ---------------------------- 代码 cloudflare workers .js  www.wanuse.com /*! * v2ray Subscription Worker v2.4 * Copyright 2024 Vahid Farid (https://twitter.com/vahidfarid) * Licensed under GPLv3 (https://github.com/vfarid/v2ray-worker/blob/main/Licence.md) */ var __create = Object.create; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __getProtoOf = Object.getPrototypeOf; var __hasOwnProp = Object.prototype.hasOwnProperty; var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, { get: (a, b) => (typeof require !== "undefined" ? require : a)[b] }) : x)(function(x) { if (typeof require !== "undefi...