├── .github └── workflows │ ├── cf.yml │ ├── create.yml │ └── sync.yml ├── .gitignore ├── LICENSE ├── README.md ├── _worker.js ├── package-lock.json ├── package.json ├── worker_obfuscates.js └── wrangler.toml /.github/workflows/cf.yml: -------------------------------------------------------------------------------- 1 | name: ⛅ CF Worker 2 | on: 3 | # docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow 4 | # docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#workflow_dispatch 5 | # docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#onworkflow_dispatchinputs 6 | workflow_dispatch: 7 | # github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/ 8 | # docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#inputs 9 | inputs: 10 | # docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onworkflow_dispatchinputs 11 | environment: 12 | description: 'wrangler env to deploy to' 13 | required: true 14 | default: 'dev' 15 | type: choice 16 | options: 17 | - dev 18 | - prod 19 | - one 20 | commit: 21 | description: 'git tip commit to deploy' 22 | default: 'main' 23 | required: true 24 | 25 | push: 26 | # TODO: inputs.environment and inputs.commit 27 | branches: 28 | - "main" 29 | tags: 30 | - "v*" 31 | paths-ignore: 32 | - ".github/**" 33 | - "!.github/workflows/cf.yml" 34 | - ".env.example" 35 | - ".eslintrc.cjs" 36 | - ".prettierignore" 37 | - "fly.toml" 38 | - "README.md" 39 | - "node.Dockerfile" 40 | - "deno.Dockerfile" 41 | - "import_map.json" 42 | - ".vscode/*" 43 | - ".husky/*" 44 | - ".prettierrc.json" 45 | - "LICENSE" 46 | - "run" 47 | repository_dispatch: 48 | 49 | env: 50 | GIT_REF: ${{ github.event.inputs.commit || github.ref }} 51 | # default is 'dev' which is really empty/no env 52 | WORKERS_ENV: '' 53 | 54 | jobs: 55 | deploy: 56 | name: 🚀 Deploy worker 57 | runs-on: ubuntu-latest 58 | timeout-minutes: 60 59 | steps: 60 | - name: Checkout 61 | uses: actions/checkout@v3.3.0 62 | with: 63 | ref: ${{ env.GIT_REF }} 64 | fetch-depth: 0 65 | 66 | - name: 🛸 Env? 67 | # 'dev' env deploys to default WORKERS_ENV, which is, '' (an empty string) 68 | if: github.event.inputs.environment == 'prod' || github.event.inputs.environment == 'one' 69 | run: | 70 | echo "WORKERS_ENV=${WENV}" >> $GITHUB_ENV 71 | echo "COMMIT_SHA=${COMMIT_SHA}" >> $GITHUB_ENV 72 | shell: bash 73 | env: 74 | WENV: ${{ github.event.inputs.environment }} 75 | COMMIT_SHA: ${{ github.sha }} 76 | 77 | - name: 🎱 Tag? 78 | # docs.github.com/en/actions/learn-github-actions/contexts#github-context 79 | if: github.ref_type == 'tag' 80 | run: | 81 | echo "WORKERS_ENV=${WENV}" >> $GITHUB_ENV 82 | echo "COMMIT_SHA=${COMMIT_SHA}" >> $GITHUB_ENV 83 | shell: bash 84 | env: 85 | # tagged deploys always deploy to prod 86 | WENV: 'prod' 87 | COMMIT_SHA: ${{ github.sha }} 88 | 89 | # npm (and node16) are installed by wrangler-action in a pre-job setup 90 | - name: 🏗 Get dependencies 91 | run: npm i 92 | 93 | - name: 📚 Wrangler publish 94 | # github.com/cloudflare/wrangler-action 95 | uses: cloudflare/wrangler-action@2.0.0 96 | with: 97 | apiToken: ${{ secrets.CF_API_TOKEN }} 98 | # input overrides env-defaults, regardless 99 | environment: ${{ env.WORKERS_ENV }} 100 | env: 101 | CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }} 102 | GIT_COMMIT_ID: ${{ env.GIT_REF }} 103 | 104 | - name: 🎤 Notice 105 | run: | 106 | echo "::notice::Deployed to ${WORKERS_ENV} / ${GIT_REF} @ ${COMMIT_SHA}" 107 | -------------------------------------------------------------------------------- /.github/workflows/create.yml: -------------------------------------------------------------------------------- 1 | name: "🌲 Create many branches" 2 | 3 | on: 4 | workflow_dispatch: 5 | 6 | jobs: 7 | create_branches: 8 | runs-on: ubuntu-latest 9 | name: "🌲 Create and push branches" 10 | env: 11 | EMAIL: ${{ secrets.GH_EMAIL }} 12 | NAME: ${{ secrets.GH_USERNAME }} 13 | TOKEN: ${{ secrets.TOKEN }} 14 | REMOTE_NAME: origin 15 | BRANCH_BASE_NAME: proxyip 16 | BRANCH_COUNT: 300 17 | 18 | steps: 19 | - name: ⚙️ Set up Git config 20 | run: | 21 | git config --global user.email "${{ env.EMAIL }}" 22 | git config --global user.name "${{ env.NAME }}" 23 | 24 | - name: 📦 Clone repository 25 | run: | 26 | git clone https://${{ env.TOKEN }}@github.com/${{github.repository}}.git 27 | cd $(echo ${{github.repository}} | awk -F'/' '{print $2}') 28 | 29 | - name: 🌿 Create and push branches 30 | run: | 31 | cd $(echo ${{github.repository}} | awk -F'/' '{print $2}') 32 | for ((i=1; i<=${{ env.BRANCH_COUNT }}; i++)); do 33 | branch_name="${{ env.BRANCH_BASE_NAME }}${i}" 34 | git branch $branch_name 35 | git checkout $branch_name 36 | git commit --allow-empty -m "Create branch ${branch_name}" 37 | git push ${{ env.REMOTE_NAME }} $branch_name 38 | git checkout main 39 | done 40 | -------------------------------------------------------------------------------- /.github/workflows/sync.yml: -------------------------------------------------------------------------------- 1 | name: "🔄 Sync all branches with main" 2 | 3 | on: 4 | workflow_dispatch: 5 | 6 | jobs: 7 | sync_branches: 8 | runs-on: ubuntu-latest 9 | name: "🔄 Sync branches with main" 10 | env: 11 | EMAIL: ${{ secrets.GH_EMAIL }} 12 | NAME: ${{ secrets.GH_USERNAME }} 13 | TOKEN: ${{ secrets.TOKEN }} 14 | REMOTE_NAME: origin 15 | BRANCH_BASE_NAME: proxyip 16 | BRANCH_COUNT: 200 17 | 18 | steps: 19 | - name: 🛠 Set up Git config 20 | run: | 21 | git config --global user.email "${{ env.EMAIL }}" 22 | git config --global user.name "${{ env.NAME }}" 23 | 24 | - name: 📥 Clone repository 25 | run: | 26 | git clone https:///${{ env.TOKEN }}@github.com/${{github.repository}}.git 27 | cd $(echo ${{github.repository}} | awk -F'/' '{print $2}') 28 | 29 | - name: 🔄 Sync and push branches 30 | run: | 31 | cd $(echo ${{github.repository}} | awk -F'/' '{print $2}') 32 | git checkout main 33 | git pull ${REMOTE_NAME} main 34 | for ((i=1; i<=${{ env.BRANCH_COUNT }}; i++)); do 35 | branch_name="${{ env.BRANCH_BASE_NAME }}${i}" 36 | git checkout $branch_name 37 | git merge main --no-edit 38 | git push ${REMOTE_NAME} $branch_name 39 | git checkout main 40 | done 41 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | .wrangler 5 | # Dependency directories 6 | node_modules/ 7 | 8 | # Environment variables 9 | .env 10 | 11 | # Build output 12 | build/ 13 | dist/ 14 | 15 | # IDE files 16 | .vscode/ 17 | .idea/ 18 | *.sublime-project 19 | *.sublime-workspace 20 | 21 | # Miscellaneous 22 | .DS_Store 23 | Thumbs.db 24 | .env 25 | node_modules/ -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 3Kmfi6HP 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # EDtunnel 2 | 3 |

4 | edgetunnel 5 |

6 | 7 | GitHub Repository for [https://github.com/zizifn/edgetunnel](https://github.com/zizifn/edgetunnel) 8 | 9 | ask question and cloudflare ips: [https://t.me/edtunnel](https://t.me/edtunnel) 10 | 11 | [![Repository](https://img.shields.io/badge/View%20on-GitHub-blue.svg)](https://github.com/zizifn/edgetunnel) 12 | 13 | ## available branches and explain 14 | 15 | | Branch Name | Description | 16 | | ------------- | ------------------------------------------------------------- | 17 | | remote-socks5 | Branch for remote SOCKS5 proxy pool used implementation | 18 | | socks5 | Branch for SOCKS5 proxyIP implementation | 19 | | vless | Branch for outbound VLESS protocol implementation | 20 | | vless2 | Branch for alternative outbound VLESS protocol implementation | 21 | | code1 | Branch for code1 feature development | 22 | | code2 | Branch for code2 alternative feature development | 23 | | dns | Branch for DNS alternative related development | 24 | | main | Main branch for the project | 25 | | pages | New version for deployment on Cloudflare Pages | 26 | 27 | ## Deploy in pages.dev 28 | 29 | 1. See YouTube Video: 30 | 31 | [https://www.youtube.com/watch?v=8I-yTNHB0aw](https://www.youtube.com/watch?v=8I-yTNHB0aw) 32 | 33 | 2. Clone this repository deploy in cloudflare pages. 34 | 35 | ## Deploy in worker.dev 36 | 37 | 1. Copy `_worker.js` code from [here](https://github.com/3Kmfi6HP/EDtunnel/blob/main/_worker.js). 38 | 39 | 2. Alternatively, you can click the button below to deploy directly. 40 | 41 | [![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/3Kmfi6HP/EDtunnel) 42 | 43 | ## Lazy to deploy 44 | 45 | `aHR0cHM6Ly9vc3MudjJyYXlzZS5jb20vcHJveGllcy9kYXRhLzIwMjMtMDctMzAvRnJFS1lvQS50eHQ=` (free clash.meta subscribe config) 46 | 47 | ## UUID Setting (Optional) 48 | 49 | 1. When deploy in cloudflare pages, you can set uuid in `wrangler.toml` file. variable name is `UUID`. `wrangler.toml` file is also supported. (recommended) in case deploy in webpages, you can not set uuid in `wrangler.toml` file. 50 | 51 | 2. When deploy in worker.dev, you can set uuid in `_worker.js` file. variable name is `userID`. `wrangler.toml` file is also supported. (recommended) in case deploy in webpages, you can not set uuid in `wrangler.toml` file. in this case, you can also set uuid in `UUID` enviroment variable. 52 | 53 | Note: `UUID` is the uuid you want to set. pages.dev and worker.dev all of them method supported, but depend on your deploy method. 54 | 55 | ### UUID Setting Example 56 | 57 | 1. single uuid environment variable 58 | 59 | ```.environment 60 | UUID = "uuid here your want to set" 61 | ``` 62 | 63 | 2. multiple uuid environment variable 64 | 65 | ```.environment 66 | UUID = "uuid1,uuid2,uuid3" 67 | ``` 68 | 69 | note: uuid1, uuid2, uuid3 are separated by commas`,`. 70 | when you set multiple uuid, you can use `https://edtunnel.pages.dev/uuid1` to get the clash config and vless:// link. 71 | 72 | ## subscribe vless:// link (Optional) 73 | 74 | 1. visit `https://edtunnel.pages.dev/uuid your set` to get the subscribe link. 75 | 76 | 2. visit `https://edtunnel.pages.dev/sub/uuid your set` to get the subscribe content with `uuid your set` path. 77 | 78 | note: `uuid your set` is the uuid you set in UUID enviroment or `wrangler.toml`, `_worker.js` file. 79 | when you set multiple uuid, you can use `https://edtunnel.pages.dev/sub/uuid1` to get the subscribe content with `uuid1` path.(only support first uuid in multiple uuid set) 80 | 81 | 3. visit `https://edtunnel.pages.dev/sub/uuid your set/?format=clash` to get the subscribe content with `uuid your set` path and `clash` format. content will return with base64 encode. 82 | 83 | note: `uuid your set` is the uuid you set in UUID enviroment or `wrangler.toml`, `_worker.js` file. 84 | when you set multiple uuid, you can will use `https://edtunnel.pages.dev/sub/uuid1/?format=clash` to get the subscribe content with `uuid1` path and `clash` format.(only support first uuid in multiple uuid set) 85 | 86 | ## subscribe Cloudflare bestip(pure ip) link 87 | 88 | 1. visit `https://edtunnel.pages.dev/bestip/uuid your set` to get subscribe info. 89 | 90 | 2. cpoy subscribe url link `https://edtunnel.pages.dev/bestip/uuid your set` to any clients(clash/v2rayN/v2rayNG) you want to use. 91 | 92 | 3. done. if have any questions please join [@edtunnel](https://t.me/edtunnel) 93 | 94 | ## multiple port support (Optional) 95 | 96 | 98 | 99 | For a list of Cloudflare supported ports, please refer to the [official documentation](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/ports). 100 | 101 | By default, the port is 80 and 443. If you want to add more ports, you can use the following ports: 102 | 103 | ```text 104 | 80, 8080, 8880, 2052, 2086, 2095, 443, 8443, 2053, 2096, 2087, 2083 105 | http port: 80, 8080, 8880, 2052, 2086, 2095 106 | https port: 443, 8443, 2053, 2096, 2087, 2083 107 | ``` 108 | 109 | if you deploy in cloudflare pages, https port is not supported. Simply add multiple ports node drictly use subscribe link, subscribe content will return all Cloudflare supported ports. 110 | 111 | ## proxyIP (Optional) 112 | 113 | 1. When deploy in cloudflare pages, you can set proxyIP in `wrangler.toml` file. variable name is `PROXYIP`. 114 | 115 | 2. When deploy in worker.dev, you can set proxyIP in `_worker.js` file. variable name is `proxyIP`. 116 | 117 | note: `proxyIP` is the ip or domain you want to set. this means that the proxyIP is used to route traffic through a proxy rather than directly to a website that is using Cloudflare's (CDN). if you don't set this variable, connection to the Cloudflare IP will be cancelled (or blocked)... 118 | 119 | resons: Outbound TCP sockets to Cloudflare IP ranges are temporarily blocked, please refer to the [tcp-sockets documentation](https://developers.cloudflare.com/workers/runtime-apis/tcp-sockets/#considerations) 120 | 121 | ## Usage 122 | 123 | frist, open your pages.dev domain `https://edtunnel.pages.dev/` in your browser, then you can see the following page: 124 | The path `/uuid your seetting` to get the clash config and vless:// link. 125 | 126 | ## Star History 127 | 128 | 129 | 130 | 131 | 132 | Star History Chart 133 | 134 | 135 | -------------------------------------------------------------------------------- /_worker.js: -------------------------------------------------------------------------------- 1 | // @ts-ignore 2 | import { connect } from 'cloudflare:sockets'; 3 | 4 | // How to generate your own UUID: 5 | // [Windows] Press "Win + R", input cmd and run: Powershell -NoExit -Command "[guid]::NewGuid()" 6 | let userID = 'd342d11e-d424-4583-b36e-524ab1f0afa4'; 7 | 8 | const พร็อกซีไอพีs = ['cdn.xn--b6gac.eu.org', 'cdn-all.xn--b6gac.eu.org', 'workers.cloudflare.cyou']; 9 | 10 | // if you want to use ipv6 or single พร็อกซีไอพี, please add comment at this line and remove comment at the next line 11 | let พร็อกซีไอพี = พร็อกซีไอพีs[Math.floor(Math.random() * พร็อกซีไอพีs.length)]; 12 | // use single พร็อกซีไอพี instead of random 13 | // let พร็อกซีไอพี = 'cdn.xn--b6gac.eu.org'; 14 | // ipv6 พร็อกซีไอพี example remove comment to use 15 | // let พร็อกซีไอพี = "[2a01:4f8:c2c:123f:64:5:6810:c55a]" 16 | 17 | let dohURL = 'https://sky.rethinkdns.com/1:-Pf_____9_8A_AMAIgE8kMABVDDmKOHTAKg='; // https://cloudflare-dns.com/dns-query or https://dns.google/dns-query 18 | 19 | if (!isValidUUID(userID)) { 20 | throw new Error('uuid is invalid'); 21 | } 22 | 23 | export default { 24 | /** 25 | * @param {import("@cloudflare/workers-types").Request} request 26 | * @param {{UUID: string, พร็อกซีไอพี: string, DNS_RESOLVER_URL: string, NODE_ID: int, API_HOST: string, API_TOKEN: string}} env 27 | * @param {import("@cloudflare/workers-types").ExecutionContext} ctx 28 | * @returns {Promise} 29 | */ 30 | async fetch(request, env, ctx) { 31 | // uuid_validator(request); 32 | try { 33 | userID = env.UUID || userID; 34 | พร็อกซีไอพี = env.PROXYIP || พร็อกซีไอพี; 35 | dohURL = env.DNS_RESOLVER_URL || dohURL; 36 | let userID_Path = userID; 37 | if (userID.includes(',')) { 38 | userID_Path = userID.split(',')[0]; 39 | } 40 | const upgradeHeader = request.headers.get('Upgrade'); 41 | if (!upgradeHeader || upgradeHeader !== 'websocket') { 42 | const url = new URL(request.url); 43 | switch (url.pathname) { 44 | case `/cf`: { 45 | return new Response(JSON.stringify(request.cf, null, 4), { 46 | status: 200, 47 | headers: { 48 | "Content-Type": "application/json;charset=utf-8", 49 | }, 50 | }); 51 | } 52 | case `/${userID_Path}`: { 53 | const วเลสConfig = getวเลสConfig(userID, request.headers.get('Host')); 54 | return new Response(`${วเลสConfig}`, { 55 | status: 200, 56 | headers: { 57 | "Content-Type": "text/html; charset=utf-8", 58 | } 59 | }); 60 | }; 61 | case `/sub/${userID_Path}`: { 62 | const url = new URL(request.url); 63 | const searchParams = url.searchParams; 64 | const วเลสSubConfig = สร้างวเลสSub(userID, request.headers.get('Host')); 65 | // Construct and return response object 66 | return new Response(btoa(วเลสSubConfig), { 67 | status: 200, 68 | headers: { 69 | "Content-Type": "text/plain;charset=utf-8", 70 | } 71 | }); 72 | }; 73 | case `/bestip/${userID_Path}`: { 74 | const headers = request.headers; 75 | const url = `https://sub.xf.free.hr/auto?host=${request.headers.get('Host')}&uuid=${userID}&path=/`; 76 | const bestSubConfig = await fetch(url, { headers: headers }); 77 | return bestSubConfig; 78 | }; 79 | default: 80 | // return new Response('Not found', { status: 404 }); 81 | // For any other path, reverse proxy to 'ramdom website' and return the original response, caching it in the process 82 | const randomHostname = cn_hostnames[Math.floor(Math.random() * cn_hostnames.length)]; 83 | const newHeaders = new Headers(request.headers); 84 | newHeaders.set('cf-connecting-ip', '1.2.3.4'); 85 | newHeaders.set('x-forwarded-for', '1.2.3.4'); 86 | newHeaders.set('x-real-ip', '1.2.3.4'); 87 | newHeaders.set('referer', 'https://www.google.com/search?q=edtunnel'); 88 | // Use fetch to proxy the request to 15 different domains 89 | const proxyUrl = 'https://' + randomHostname + url.pathname + url.search; 90 | let modifiedRequest = new Request(proxyUrl, { 91 | method: request.method, 92 | headers: newHeaders, 93 | body: request.body, 94 | redirect: 'manual', 95 | }); 96 | const proxyResponse = await fetch(modifiedRequest, { redirect: 'manual' }); 97 | // Check for 302 or 301 redirect status and return an error response 98 | if ([301, 302].includes(proxyResponse.status)) { 99 | return new Response(`Redirects to ${randomHostname} are not allowed.`, { 100 | status: 403, 101 | statusText: 'Forbidden', 102 | }); 103 | } 104 | // Return the response from the proxy server 105 | return proxyResponse; 106 | } 107 | } else { 108 | return await วเลสOverWSHandler(request); 109 | } 110 | } catch (err) { 111 | /** @type {Error} */ let e = err; 112 | return new Response(e.toString()); 113 | } 114 | }, 115 | }; 116 | 117 | export async function uuid_validator(request) { 118 | const hostname = request.headers.get('Host'); 119 | const currentDate = new Date(); 120 | 121 | const subdomain = hostname.split('.')[0]; 122 | const year = currentDate.getFullYear(); 123 | const month = String(currentDate.getMonth() + 1).padStart(2, '0'); 124 | const day = String(currentDate.getDate()).padStart(2, '0'); 125 | 126 | const formattedDate = `${year}-${month}-${day}`; 127 | 128 | // const daliy_sub = formattedDate + subdomain 129 | const hashHex = await hashHex_f(subdomain); 130 | // subdomain string contains timestamps utc and uuid string TODO. 131 | console.log(hashHex, subdomain, formattedDate); 132 | } 133 | 134 | export async function hashHex_f(string) { 135 | const encoder = new TextEncoder(); 136 | const data = encoder.encode(string); 137 | const hashBuffer = await crypto.subtle.digest('SHA-256', data); 138 | const hashArray = Array.from(new Uint8Array(hashBuffer)); 139 | const hashHex = hashArray.map(byte => byte.toString(16).padStart(2, '0')).join(''); 140 | return hashHex; 141 | } 142 | 143 | /** 144 | * Handles วเลส over WebSocket requests by creating a WebSocket pair, accepting the WebSocket connection, and processing the วเลส header. 145 | * @param {import("@cloudflare/workers-types").Request} request The incoming request object. 146 | * @returns {Promise} A Promise that resolves to a WebSocket response object. 147 | */ 148 | async function วเลสOverWSHandler(request) { 149 | const webSocketPair = new WebSocketPair(); 150 | const [client, webSocket] = Object.values(webSocketPair); 151 | webSocket.accept(); 152 | 153 | let address = ''; 154 | let portWithRandomLog = ''; 155 | let currentDate = new Date(); 156 | const log = (/** @type {string} */ info, /** @type {string | undefined} */ event) => { 157 | console.log(`[${currentDate} ${address}:${portWithRandomLog}] ${info}`, event || ''); 158 | }; 159 | const earlyDataHeader = request.headers.get('sec-websocket-protocol') || ''; 160 | 161 | const readableWebSocketStream = makeReadableWebSocketStream(webSocket, earlyDataHeader, log); 162 | 163 | /** @type {{ value: import("@cloudflare/workers-types").Socket | null}}*/ 164 | let remoteSocketWapper = { 165 | value: null, 166 | }; 167 | let udpStreamWrite = null; 168 | let isDns = false; 169 | 170 | // ws --> remote 171 | readableWebSocketStream.pipeTo(new WritableStream({ 172 | async write(chunk, controller) { 173 | if (isDns && udpStreamWrite) { 174 | return udpStreamWrite(chunk); 175 | } 176 | if (remoteSocketWapper.value) { 177 | const writer = remoteSocketWapper.value.writable.getWriter() 178 | await writer.write(chunk); 179 | writer.releaseLock(); 180 | return; 181 | } 182 | 183 | const { 184 | hasError, 185 | message, 186 | portRemote = 443, 187 | addressRemote = '', 188 | rawDataIndex, 189 | วเลสVersion = new Uint8Array([0, 0]), 190 | isUDP, 191 | } = processวเลสHeader(chunk, userID); 192 | address = addressRemote; 193 | portWithRandomLog = `${portRemote} ${isUDP ? 'udp' : 'tcp'} `; 194 | if (hasError) { 195 | // controller.error(message); 196 | throw new Error(message); // cf seems has bug, controller.error will not end stream 197 | } 198 | 199 | // If UDP and not DNS port, close it 200 | if (isUDP && portRemote !== 53) { 201 | throw new Error('UDP proxy only enabled for DNS which is port 53'); 202 | // cf seems has bug, controller.error will not end stream 203 | } 204 | 205 | if (isUDP && portRemote === 53) { 206 | isDns = true; 207 | } 208 | 209 | // ["version", "附加信息长度 N"] 210 | const วเลสResponseHeader = new Uint8Array([วเลสVersion[0], 0]); 211 | const rawClientData = chunk.slice(rawDataIndex); 212 | 213 | // TODO: support udp here when cf runtime has udp support 214 | if (isDns) { 215 | const { write } = await handleUDPOutBound(webSocket, วเลสResponseHeader, log); 216 | udpStreamWrite = write; 217 | udpStreamWrite(rawClientData); 218 | return; 219 | } 220 | handleTCPOutBound(remoteSocketWapper, addressRemote, portRemote, rawClientData, webSocket, วเลสResponseHeader, log); 221 | }, 222 | close() { 223 | log(`readableWebSocketStream is close`); 224 | }, 225 | abort(reason) { 226 | log(`readableWebSocketStream is abort`, JSON.stringify(reason)); 227 | }, 228 | })).catch((err) => { 229 | log('readableWebSocketStream pipeTo error', err); 230 | }); 231 | 232 | return new Response(null, { 233 | status: 101, 234 | webSocket: client, 235 | }); 236 | } 237 | 238 | /** 239 | * Handles outbound TCP connections. 240 | * 241 | * @param {any} remoteSocket 242 | * @param {string} addressRemote The remote address to connect to. 243 | * @param {number} portRemote The remote port to connect to. 244 | * @param {Uint8Array} rawClientData The raw client data to write. 245 | * @param {import("@cloudflare/workers-types").WebSocket} webSocket The WebSocket to pass the remote socket to. 246 | * @param {Uint8Array} วเลสResponseHeader The วเลส response header. 247 | * @param {function} log The logging function. 248 | * @returns {Promise} The remote socket. 249 | */ 250 | async function handleTCPOutBound(remoteSocket, addressRemote, portRemote, rawClientData, webSocket, วเลสResponseHeader, log,) { 251 | 252 | /** 253 | * Connects to a given address and port and writes data to the socket. 254 | * @param {string} address The address to connect to. 255 | * @param {number} port The port to connect to. 256 | * @returns {Promise} A Promise that resolves to the connected socket. 257 | */ 258 | async function connectAndWrite(address, port) { 259 | /** @type {import("@cloudflare/workers-types").Socket} */ 260 | const tcpSocket = connect({ 261 | hostname: address, 262 | port: port, 263 | }); 264 | remoteSocket.value = tcpSocket; 265 | log(`connected to ${address}:${port}`); 266 | const writer = tcpSocket.writable.getWriter(); 267 | await writer.write(rawClientData); // first write, nomal is tls client hello 268 | writer.releaseLock(); 269 | return tcpSocket; 270 | } 271 | 272 | /** 273 | * Retries connecting to the remote address and port if the Cloudflare socket has no incoming data. 274 | * @returns {Promise} A Promise that resolves when the retry is complete. 275 | */ 276 | async function retry() { 277 | const tcpSocket = await connectAndWrite(พร็อกซีไอพี || addressRemote, portRemote) 278 | tcpSocket.closed.catch(error => { 279 | console.log('retry tcpSocket closed error', error); 280 | }).finally(() => { 281 | safeCloseWebSocket(webSocket); 282 | }) 283 | remoteSocketToWS(tcpSocket, webSocket, วเลสResponseHeader, null, log); 284 | } 285 | 286 | const tcpSocket = await connectAndWrite(addressRemote, portRemote); 287 | 288 | // when remoteSocket is ready, pass to websocket 289 | // remote--> ws 290 | remoteSocketToWS(tcpSocket, webSocket, วเลสResponseHeader, retry, log); 291 | } 292 | 293 | /** 294 | * Creates a readable stream from a WebSocket server, allowing for data to be read from the WebSocket. 295 | * @param {import("@cloudflare/workers-types").WebSocket} webSocketServer The WebSocket server to create the readable stream from. 296 | * @param {string} earlyDataHeader The header containing early data for WebSocket 0-RTT. 297 | * @param {(info: string)=> void} log The logging function. 298 | * @returns {ReadableStream} A readable stream that can be used to read data from the WebSocket. 299 | */ 300 | function makeReadableWebSocketStream(webSocketServer, earlyDataHeader, log) { 301 | let readableStreamCancel = false; 302 | const stream = new ReadableStream({ 303 | start(controller) { 304 | webSocketServer.addEventListener('message', (event) => { 305 | const message = event.data; 306 | controller.enqueue(message); 307 | }); 308 | 309 | webSocketServer.addEventListener('close', () => { 310 | safeCloseWebSocket(webSocketServer); 311 | controller.close(); 312 | }); 313 | 314 | webSocketServer.addEventListener('error', (err) => { 315 | log('webSocketServer has error'); 316 | controller.error(err); 317 | }); 318 | const { earlyData, error } = base64ToArrayBuffer(earlyDataHeader); 319 | if (error) { 320 | controller.error(error); 321 | } else if (earlyData) { 322 | controller.enqueue(earlyData); 323 | } 324 | }, 325 | 326 | pull(controller) { 327 | // if ws can stop read if stream is full, we can implement backpressure 328 | // https://streams.spec.whatwg.org/#example-rs-push-backpressure 329 | }, 330 | 331 | cancel(reason) { 332 | log(`ReadableStream was canceled, due to ${reason}`) 333 | readableStreamCancel = true; 334 | safeCloseWebSocket(webSocketServer); 335 | } 336 | }); 337 | 338 | return stream; 339 | } 340 | 341 | // https://xtls.github.io/development/protocols/วเลส.html 342 | // https://github.com/zizifn/excalidraw-backup/blob/main/v2ray-protocol.excalidraw 343 | 344 | /** 345 | * Processes the วเลส header buffer and returns an object with the relevant information. 346 | * @param {ArrayBuffer} วเลสBuffer The วเลส header buffer to process. 347 | * @param {string} userID The user ID to validate against the UUID in the วเลส header. 348 | * @returns {{ 349 | * hasError: boolean, 350 | * message?: string, 351 | * addressRemote?: string, 352 | * addressType?: number, 353 | * portRemote?: number, 354 | * rawDataIndex?: number, 355 | * วเลสVersion?: Uint8Array, 356 | * isUDP?: boolean 357 | * }} An object with the relevant information extracted from the วเลส header buffer. 358 | */ 359 | function processวเลสHeader(วเลสBuffer, userID) { 360 | if (วเลสBuffer.byteLength < 24) { 361 | return { 362 | hasError: true, 363 | message: 'invalid data', 364 | }; 365 | } 366 | 367 | const version = new Uint8Array(วเลสBuffer.slice(0, 1)); 368 | let isValidUser = false; 369 | let isUDP = false; 370 | const slicedBuffer = new Uint8Array(วเลสBuffer.slice(1, 17)); 371 | const slicedBufferString = stringify(slicedBuffer); 372 | // check if userID is valid uuid or uuids split by , and contains userID in it otherwise return error message to console 373 | const uuids = userID.includes(',') ? userID.split(",") : [userID]; 374 | // uuid_validator(hostName, slicedBufferString); 375 | 376 | 377 | // isValidUser = uuids.some(userUuid => slicedBufferString === userUuid.trim()); 378 | isValidUser = uuids.some(userUuid => slicedBufferString === userUuid.trim()) || uuids.length === 1 && slicedBufferString === uuids[0].trim(); 379 | 380 | console.log(`userID: ${slicedBufferString}`); 381 | 382 | if (!isValidUser) { 383 | return { 384 | hasError: true, 385 | message: 'invalid user', 386 | }; 387 | } 388 | 389 | const optLength = new Uint8Array(วเลสBuffer.slice(17, 18))[0]; 390 | //skip opt for now 391 | 392 | const command = new Uint8Array( 393 | วเลสBuffer.slice(18 + optLength, 18 + optLength + 1) 394 | )[0]; 395 | 396 | // 0x01 TCP 397 | // 0x02 UDP 398 | // 0x03 MUX 399 | if (command === 1) { 400 | isUDP = false; 401 | } else if (command === 2) { 402 | isUDP = true; 403 | } else { 404 | return { 405 | hasError: true, 406 | message: `command ${command} is not support, command 01-tcp,02-udp,03-mux`, 407 | }; 408 | } 409 | const portIndex = 18 + optLength + 1; 410 | const portBuffer = วเลสBuffer.slice(portIndex, portIndex + 2); 411 | // port is big-Endian in raw data etc 80 == 0x005d 412 | const portRemote = new DataView(portBuffer).getUint16(0); 413 | 414 | let addressIndex = portIndex + 2; 415 | const addressBuffer = new Uint8Array( 416 | วเลสBuffer.slice(addressIndex, addressIndex + 1) 417 | ); 418 | 419 | // 1--> ipv4 addressLength =4 420 | // 2--> domain name addressLength=addressBuffer[1] 421 | // 3--> ipv6 addressLength =16 422 | const addressType = addressBuffer[0]; 423 | let addressLength = 0; 424 | let addressValueIndex = addressIndex + 1; 425 | let addressValue = ''; 426 | switch (addressType) { 427 | case 1: 428 | addressLength = 4; 429 | addressValue = new Uint8Array( 430 | วเลสBuffer.slice(addressValueIndex, addressValueIndex + addressLength) 431 | ).join('.'); 432 | break; 433 | case 2: 434 | addressLength = new Uint8Array( 435 | วเลสBuffer.slice(addressValueIndex, addressValueIndex + 1) 436 | )[0]; 437 | addressValueIndex += 1; 438 | addressValue = new TextDecoder().decode( 439 | วเลสBuffer.slice(addressValueIndex, addressValueIndex + addressLength) 440 | ); 441 | break; 442 | case 3: 443 | addressLength = 16; 444 | const dataView = new DataView( 445 | วเลสBuffer.slice(addressValueIndex, addressValueIndex + addressLength) 446 | ); 447 | // 2001:0db8:85a3:0000:0000:8a2e:0370:7334 448 | const ipv6 = []; 449 | for (let i = 0; i < 8; i++) { 450 | ipv6.push(dataView.getUint16(i * 2).toString(16)); 451 | } 452 | addressValue = ipv6.join(':'); 453 | // seems no need add [] for ipv6 454 | break; 455 | default: 456 | return { 457 | hasError: true, 458 | message: `invild addressType is ${addressType}`, 459 | }; 460 | } 461 | if (!addressValue) { 462 | return { 463 | hasError: true, 464 | message: `addressValue is empty, addressType is ${addressType}`, 465 | }; 466 | } 467 | 468 | return { 469 | hasError: false, 470 | addressRemote: addressValue, 471 | addressType, 472 | portRemote, 473 | rawDataIndex: addressValueIndex + addressLength, 474 | วเลสVersion: version, 475 | isUDP, 476 | }; 477 | } 478 | 479 | 480 | /** 481 | * Converts a remote socket to a WebSocket connection. 482 | * @param {import("@cloudflare/workers-types").Socket} remoteSocket The remote socket to convert. 483 | * @param {import("@cloudflare/workers-types").WebSocket} webSocket The WebSocket to connect to. 484 | * @param {ArrayBuffer | null} วเลสResponseHeader The วเลส response header. 485 | * @param {(() => Promise) | null} retry The function to retry the connection if it fails. 486 | * @param {(info: string) => void} log The logging function. 487 | * @returns {Promise} A Promise that resolves when the conversion is complete. 488 | */ 489 | async function remoteSocketToWS(remoteSocket, webSocket, วเลสResponseHeader, retry, log) { 490 | // remote--> ws 491 | let remoteChunkCount = 0; 492 | let chunks = []; 493 | /** @type {ArrayBuffer | null} */ 494 | let วเลสHeader = วเลสResponseHeader; 495 | let hasIncomingData = false; // check if remoteSocket has incoming data 496 | await remoteSocket.readable 497 | .pipeTo( 498 | new WritableStream({ 499 | start() { 500 | }, 501 | /** 502 | * 503 | * @param {Uint8Array} chunk 504 | * @param {*} controller 505 | */ 506 | async write(chunk, controller) { 507 | hasIncomingData = true; 508 | remoteChunkCount++; 509 | if (webSocket.readyState !== WS_READY_STATE_OPEN) { 510 | controller.error( 511 | 'webSocket.readyState is not open, maybe close' 512 | ); 513 | } 514 | if (วเลสHeader) { 515 | webSocket.send(await new Blob([วเลสHeader, chunk]).arrayBuffer()); 516 | วเลสHeader = null; 517 | } else { 518 | // console.log(`remoteSocketToWS send chunk ${chunk.byteLength}`); 519 | // seems no need rate limit this, CF seems fix this??.. 520 | // if (remoteChunkCount > 20000) { 521 | // // cf one package is 4096 byte(4kb), 4096 * 20000 = 80M 522 | // await delay(1); 523 | // } 524 | webSocket.send(chunk); 525 | } 526 | }, 527 | close() { 528 | log(`remoteConnection!.readable is close with hasIncomingData is ${hasIncomingData}`); 529 | // safeCloseWebSocket(webSocket); // no need server close websocket frist for some case will casue HTTP ERR_CONTENT_LENGTH_MISMATCH issue, client will send close event anyway. 530 | }, 531 | abort(reason) { 532 | console.error(`remoteConnection!.readable abort`, reason); 533 | }, 534 | }) 535 | ) 536 | .catch((error) => { 537 | console.error( 538 | `remoteSocketToWS has exception `, 539 | error.stack || error 540 | ); 541 | safeCloseWebSocket(webSocket); 542 | }); 543 | 544 | // seems is cf connect socket have error, 545 | // 1. Socket.closed will have error 546 | // 2. Socket.readable will be close without any data coming 547 | if (hasIncomingData === false && retry) { 548 | log(`retry`) 549 | retry(); 550 | } 551 | } 552 | 553 | /** 554 | * Decodes a base64 string into an ArrayBuffer. 555 | * @param {string} base64Str The base64 string to decode. 556 | * @returns {{earlyData: ArrayBuffer|null, error: Error|null}} An object containing the decoded ArrayBuffer or null if there was an error, and any error that occurred during decoding or null if there was no error. 557 | */ 558 | function base64ToArrayBuffer(base64Str) { 559 | if (!base64Str) { 560 | return { earlyData: null, error: null }; 561 | } 562 | try { 563 | // go use modified Base64 for URL rfc4648 which js atob not support 564 | base64Str = base64Str.replace(/-/g, '+').replace(/_/g, '/'); 565 | const decode = atob(base64Str); 566 | const arryBuffer = Uint8Array.from(decode, (c) => c.charCodeAt(0)); 567 | return { earlyData: arryBuffer.buffer, error: null }; 568 | } catch (error) { 569 | return { earlyData: null, error }; 570 | } 571 | } 572 | 573 | /** 574 | * Checks if a given string is a valid UUID. 575 | * Note: This is not a real UUID validation. 576 | * @param {string} uuid The string to validate as a UUID. 577 | * @returns {boolean} True if the string is a valid UUID, false otherwise. 578 | */ 579 | function isValidUUID(uuid) { 580 | const uuidRegex = /^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i; 581 | return uuidRegex.test(uuid); 582 | } 583 | 584 | const WS_READY_STATE_OPEN = 1; 585 | const WS_READY_STATE_CLOSING = 2; 586 | /** 587 | * Closes a WebSocket connection safely without throwing exceptions. 588 | * @param {import("@cloudflare/workers-types").WebSocket} socket The WebSocket connection to close. 589 | */ 590 | function safeCloseWebSocket(socket) { 591 | try { 592 | if (socket.readyState === WS_READY_STATE_OPEN || socket.readyState === WS_READY_STATE_CLOSING) { 593 | socket.close(); 594 | } 595 | } catch (error) { 596 | console.error('safeCloseWebSocket error', error); 597 | } 598 | } 599 | 600 | const byteToHex = []; 601 | 602 | for (let i = 0; i < 256; ++i) { 603 | byteToHex.push((i + 256).toString(16).slice(1)); 604 | } 605 | 606 | function unsafeStringify(arr, offset = 0) { 607 | return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); 608 | } 609 | 610 | function stringify(arr, offset = 0) { 611 | const uuid = unsafeStringify(arr, offset); 612 | if (!isValidUUID(uuid)) { 613 | throw TypeError("Stringified UUID is invalid"); 614 | } 615 | return uuid; 616 | } 617 | 618 | 619 | /** 620 | * Handles outbound UDP traffic by transforming the data into DNS queries and sending them over a WebSocket connection. 621 | * @param {import("@cloudflare/workers-types").WebSocket} webSocket The WebSocket connection to send the DNS queries over. 622 | * @param {ArrayBuffer} วเลสResponseHeader The วเลส response header. 623 | * @param {(string) => void} log The logging function. 624 | * @returns {{write: (chunk: Uint8Array) => void}} An object with a write method that accepts a Uint8Array chunk to write to the transform stream. 625 | */ 626 | async function handleUDPOutBound(webSocket, วเลสResponseHeader, log) { 627 | 628 | let isวเลสHeaderSent = false; 629 | const transformStream = new TransformStream({ 630 | start(controller) { 631 | 632 | }, 633 | transform(chunk, controller) { 634 | // udp message 2 byte is the the length of udp data 635 | // TODO: this should have bug, beacsue maybe udp chunk can be in two websocket message 636 | for (let index = 0; index < chunk.byteLength;) { 637 | const lengthBuffer = chunk.slice(index, index + 2); 638 | const udpPakcetLength = new DataView(lengthBuffer).getUint16(0); 639 | const udpData = new Uint8Array( 640 | chunk.slice(index + 2, index + 2 + udpPakcetLength) 641 | ); 642 | index = index + 2 + udpPakcetLength; 643 | controller.enqueue(udpData); 644 | } 645 | }, 646 | flush(controller) { 647 | } 648 | }); 649 | 650 | // only handle dns udp for now 651 | transformStream.readable.pipeTo(new WritableStream({ 652 | async write(chunk) { 653 | const resp = await fetch(dohURL, // dns server url 654 | { 655 | method: 'POST', 656 | headers: { 657 | 'content-type': 'application/dns-message', 658 | }, 659 | body: chunk, 660 | }) 661 | const dnsQueryResult = await resp.arrayBuffer(); 662 | const udpSize = dnsQueryResult.byteLength; 663 | // console.log([...new Uint8Array(dnsQueryResult)].map((x) => x.toString(16))); 664 | const udpSizeBuffer = new Uint8Array([(udpSize >> 8) & 0xff, udpSize & 0xff]); 665 | if (webSocket.readyState === WS_READY_STATE_OPEN) { 666 | log(`doh success and dns message length is ${udpSize}`); 667 | if (isวเลสHeaderSent) { 668 | webSocket.send(await new Blob([udpSizeBuffer, dnsQueryResult]).arrayBuffer()); 669 | } else { 670 | webSocket.send(await new Blob([วเลสResponseHeader, udpSizeBuffer, dnsQueryResult]).arrayBuffer()); 671 | isวเลสHeaderSent = true; 672 | } 673 | } 674 | } 675 | })).catch((error) => { 676 | log('dns udp has error' + error) 677 | }); 678 | 679 | const writer = transformStream.writable.getWriter(); 680 | 681 | return { 682 | /** 683 | * 684 | * @param {Uint8Array} chunk 685 | */ 686 | write(chunk) { 687 | writer.write(chunk); 688 | } 689 | }; 690 | } 691 | 692 | const at = 'QA=='; 693 | const pt = 'dmxlc3M='; 694 | const ed = 'RUR0dW5uZWw='; 695 | /** 696 | * 697 | * @param {string} userID - single or comma separated userIDs 698 | * @param {string | null} hostName 699 | * @returns {string} 700 | */ 701 | function getวเลสConfig(userIDs, hostName) { 702 | const commonUrlPart = `:443?encryption=none&security=tls&sni=${hostName}&fp=randomized&type=ws&host=${hostName}&path=%2F%3Fed%3D2048#${hostName}`; 703 | const hashSeparator = "################################################################"; 704 | 705 | // Split the userIDs into an array 706 | const userIDArray = userIDs.split(","); 707 | 708 | // Prepare output string for each userID 709 | const output = userIDArray.map((userID) => { 710 | const วเลสMain = atob(pt) + '://' + userID + atob(at) + hostName + commonUrlPart; 711 | const วเลสSec = atob(pt) + '://' + userID + atob(at) + พร็อกซีไอพี + commonUrlPart; 712 | return `

UUID: ${userID}

${hashSeparator}\nv2ray default ip 713 | --------------------------------------------------------------- 714 | ${วเลสMain} 715 | 716 | --------------------------------------------------------------- 717 | v2ray with bestip 718 | --------------------------------------------------------------- 719 | ${วเลสSec} 720 | 721 | ---------------------------------------------------------------`; 722 | }).join('\n'); 723 | const sublink = `https://${hostName}/sub/${userIDArray[0]}?format=clash` 724 | const subbestip = `https://${hostName}/bestip/${userIDArray[0]}`; 725 | const clash_link = `https://api.v1.mk/sub?target=clash&url=${encodeURIComponent(sublink)}&insert=false&emoji=true&list=false&tfo=false&scv=true&fdn=false&sort=false&new_name=true`; 726 | // Prepare header string 727 | const header = ` 728 |

图片描述 729 | Welcome! This function generates configuration for วเลส protocol. If you found this useful, please check our GitHub project for more: 730 | 欢迎!这是生成 วเลส 协议的配置。如果您发现这个项目很好用,请查看我们的 GitHub 项目给我一个star: 731 | EDtunnel - https://github.com/3Kmfi6HP/EDtunnel 732 | 733 | วเลส 节点订阅连接 734 | Clash for Windows 节点订阅连接 735 | Clash 节点订阅连接 736 | 优选IP自动节点订阅 737 | Clash优选IP自动 738 | singbox优选IP自动 739 | nekobox优选IP自动 740 | v2rayNG优选IP自动

`; 741 | 742 | // HTML Head with CSS and FontAwesome library 743 | const htmlHead = ` 744 | 745 | EDtunnel: วเลส configuration 746 | 747 | 748 | 749 | 750 | 751 | 752 | 753 | 754 | 755 | 756 | 757 | 758 | 759 | 760 | 761 | 762 | 763 | 805 | 806 | 807 | 808 | 809 | `; 810 | 811 | // Join output with newlines, wrap inside and 812 | return ` 813 | 814 | ${htmlHead} 815 | 816 |
${header}
817 |
${output}
818 | 819 | 830 | `; 831 | } 832 | 833 | const เซ็ตพอร์ตHttp = new Set([80, 8080, 8880, 2052, 2086, 2095, 2082]); 834 | const เซ็ตพอร์ตHttps = new Set([443, 8443, 2053, 2096, 2087, 2083]); 835 | 836 | function สร้างวเลสSub(ไอดีผู้ใช้_เส้นทาง, ชื่อโฮสต์) { 837 | const อาร์เรย์ไอดีผู้ใช้ = ไอดีผู้ใช้_เส้นทาง.includes(',') ? ไอดีผู้ใช้_เส้นทาง.split(',') : [ไอดีผู้ใช้_เส้นทาง]; 838 | const ส่วนUrlทั่วไปHttp = `?encryption=none&security=none&fp=random&type=ws&host=${ชื่อโฮสต์}&path=%2F%3Fed%3D2048#`; 839 | const ส่วนUrlทั่วไปHttps = `?encryption=none&security=tls&sni=${ชื่อโฮสต์}&fp=random&type=ws&host=${ชื่อโฮสต์}&path=%2F%3Fed%3D2048#`; 840 | 841 | const ผลลัพธ์ = อาร์เรย์ไอดีผู้ใช้.flatMap((ไอดีผู้ใช้) => { 842 | const การกำหนดค่าHttp = Array.from(เซ็ตพอร์ตHttp).flatMap((พอร์ต) => { 843 | if (!ชื่อโฮสต์.includes('pages.dev')) { 844 | const ส่วนUrl = `${ชื่อโฮสต์}-HTTP-${พอร์ต}`; 845 | const วเลสหลักHttp = atob(pt) + '://' + ไอดีผู้ใช้ + atob(at) + ชื่อโฮสต์ + ':' + พอร์ต + ส่วนUrlทั่วไปHttp + ส่วนUrl; 846 | return พร็อกซีไอพีs.flatMap((พร็อกซีไอพี) => { 847 | const วเลสรองHttp = atob(pt) + '://' + ไอดีผู้ใช้ + atob(at) + พร็อกซีไอพี + ':' + พอร์ต + ส่วนUrlทั่วไปHttp + ส่วนUrl + '-' + พร็อกซีไอพี + '-' + atob(ed); 848 | return [วเลสหลักHttp, วเลสรองHttp]; 849 | }); 850 | } 851 | return []; 852 | }); 853 | 854 | const การกำหนดค่าHttps = Array.from(เซ็ตพอร์ตHttps).flatMap((พอร์ต) => { 855 | const ส่วนUrl = `${ชื่อโฮสต์}-HTTPS-${พอร์ต}`; 856 | const วเลสหลักHttps = atob(pt) + '://' + ไอดีผู้ใช้ + atob(at) + ชื่อโฮสต์ + ':' + พอร์ต + ส่วนUrlทั่วไปHttps + ส่วนUrl; 857 | return พร็อกซีไอพีs.flatMap((พร็อกซีไอพี) => { 858 | const วเลสรองHttps = atob(pt) + '://' + ไอดีผู้ใช้ + atob(at) + พร็อกซีไอพี + ':' + พอร์ต + ส่วนUrlทั่วไปHttps + ส่วนUrl + '-' + พร็อกซีไอพี + '-' + atob(ed); 859 | return [วเลสหลักHttps, วเลสรองHttps]; 860 | }); 861 | }); 862 | 863 | return [...การกำหนดค่าHttp, ...การกำหนดค่าHttps]; 864 | }); 865 | 866 | return ผลลัพธ์.join('\n'); 867 | } 868 | 869 | const cn_hostnames = [ 870 | 'weibo.com', // Weibo - A popular social media platform 871 | 'www.baidu.com', // Baidu - The largest search engine in China 872 | 'www.qq.com', // QQ - A widely used instant messaging platform 873 | 'www.taobao.com', // Taobao - An e-commerce website owned by Alibaba Group 874 | 'www.jd.com', // JD.com - One of the largest online retailers in China 875 | 'www.sina.com.cn', // Sina - A Chinese online media company 876 | 'www.sohu.com', // Sohu - A Chinese internet service provider 877 | 'www.tmall.com', // Tmall - An online retail platform owned by Alibaba Group 878 | 'www.163.com', // NetEase Mail - One of the major email providers in China 879 | 'www.zhihu.com', // Zhihu - A popular question-and-answer website 880 | 'www.youku.com', // Youku - A Chinese video sharing platform 881 | 'www.xinhuanet.com', // Xinhua News Agency - Official news agency of China 882 | 'www.douban.com', // Douban - A Chinese social networking service 883 | 'www.meituan.com', // Meituan - A Chinese group buying website for local services 884 | 'www.toutiao.com', // Toutiao - A news and information content platform 885 | 'www.ifeng.com', // iFeng - A popular news website in China 886 | 'www.autohome.com.cn', // Autohome - A leading Chinese automobile online platform 887 | 'www.360.cn', // 360 - A Chinese internet security company 888 | 'www.douyin.com', // Douyin - A Chinese short video platform 889 | 'www.kuaidi100.com', // Kuaidi100 - A Chinese express delivery tracking service 890 | 'www.wechat.com', // WeChat - A popular messaging and social media app 891 | 'www.csdn.net', // CSDN - A Chinese technology community website 892 | 'www.imgo.tv', // ImgoTV - A Chinese live streaming platform 893 | 'www.aliyun.com', // Alibaba Cloud - A Chinese cloud computing company 894 | 'www.eyny.com', // Eyny - A Chinese multimedia resource-sharing website 895 | 'www.mgtv.com', // MGTV - A Chinese online video platform 896 | 'www.xunlei.com', // Xunlei - A Chinese download manager and torrent client 897 | 'www.hao123.com', // Hao123 - A Chinese web directory service 898 | 'www.bilibili.com', // Bilibili - A Chinese video sharing and streaming platform 899 | 'www.youth.cn', // Youth.cn - A China Youth Daily news portal 900 | 'www.hupu.com', // Hupu - A Chinese sports community and forum 901 | 'www.youzu.com', // Youzu Interactive - A Chinese game developer and publisher 902 | 'www.panda.tv', // Panda TV - A Chinese live streaming platform 903 | 'www.tudou.com', // Tudou - A Chinese video-sharing website 904 | 'www.zol.com.cn', // ZOL - A Chinese electronics and gadgets website 905 | 'www.toutiao.io', // Toutiao - A news and information app 906 | 'www.tiktok.com', // TikTok - A Chinese short-form video app 907 | 'www.netease.com', // NetEase - A Chinese internet technology company 908 | 'www.cnki.net', // CNKI - China National Knowledge Infrastructure, an information aggregator 909 | 'www.zhibo8.cc', // Zhibo8 - A website providing live sports streams 910 | 'www.zhangzishi.cc', // Zhangzishi - Personal website of Zhang Zishi, a public intellectual in China 911 | 'www.xueqiu.com', // Xueqiu - A Chinese online social platform for investors and traders 912 | 'www.qqgongyi.com', // QQ Gongyi - Tencent's charitable foundation platform 913 | 'www.ximalaya.com', // Ximalaya - A Chinese online audio platform 914 | 'www.dianping.com', // Dianping - A Chinese online platform for finding and reviewing local businesses 915 | 'www.suning.com', // Suning - A leading Chinese online retailer 916 | 'www.zhaopin.com', // Zhaopin - A Chinese job recruitment platform 917 | 'www.jianshu.com', // Jianshu - A Chinese online writing platform 918 | 'www.mafengwo.cn', // Mafengwo - A Chinese travel information sharing platform 919 | 'www.51cto.com', // 51CTO - A Chinese IT technical community website 920 | 'www.qidian.com', // Qidian - A Chinese web novel platform 921 | 'www.ctrip.com', // Ctrip - A Chinese travel services provider 922 | 'www.pconline.com.cn', // PConline - A Chinese technology news and review website 923 | 'www.cnzz.com', // CNZZ - A Chinese web analytics service provider 924 | 'www.telegraph.co.uk', // The Telegraph - A British newspaper website 925 | 'www.ynet.com', // Ynet - A Chinese news portal 926 | 'www.ted.com', // TED - A platform for ideas worth spreading 927 | 'www.renren.com', // Renren - A Chinese social networking service 928 | 'www.pptv.com', // PPTV - A Chinese online video streaming platform 929 | 'www.liepin.com', // Liepin - A Chinese online recruitment website 930 | 'www.881903.com', // 881903 - A Hong Kong radio station website 931 | 'www.aipai.com', // Aipai - A Chinese online video sharing platform 932 | 'www.ttpaihang.com', // Ttpaihang - A Chinese celebrity popularity ranking website 933 | 'www.quyaoya.com', // Quyaoya - A Chinese online ticketing platform 934 | 'www.91.com', // 91.com - A Chinese software download website 935 | 'www.dianyou.cn', // Dianyou - A Chinese game information website 936 | 'www.tmtpost.com', // TMTPost - A Chinese technology media platform 937 | 'www.douban.com', // Douban - A Chinese social networking service 938 | 'www.guancha.cn', // Guancha - A Chinese news and commentary website 939 | 'www.so.com', // So.com - A Chinese search engine 940 | 'www.58.com', // 58.com - A Chinese classified advertising website 941 | 'www.cnblogs.com', // Cnblogs - A Chinese technology blog community 942 | 'www.cntv.cn', // CCTV - China Central Television official website 943 | 'www.secoo.com', // Secoo - A Chinese luxury e-commerce platform 944 | ]; 945 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "edtunnel", 3 | "version": "1.0.0", 4 | "lockfileVersion": 3, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "edtunnel", 9 | "version": "1.0.0", 10 | "license": "ISC", 11 | "devDependencies": { 12 | "@cloudflare/workers-types": "^4.20230710.1", 13 | "wrangler": "^3.2.0" 14 | } 15 | }, 16 | "node_modules/@cloudflare/kv-asset-handler": { 17 | "version": "0.2.0", 18 | "resolved": "https://registry.npmjs.org/@cloudflare/kv-asset-handler/-/kv-asset-handler-0.2.0.tgz", 19 | "integrity": "sha512-MVbXLbTcAotOPUj0pAMhVtJ+3/kFkwJqc5qNOleOZTv6QkZZABDMS21dSrSlVswEHwrpWC03e4fWytjqKvuE2A==", 20 | "dev": true, 21 | "dependencies": { 22 | "mime": "^3.0.0" 23 | } 24 | }, 25 | "node_modules/@cloudflare/workerd-darwin-64": { 26 | "version": "1.20230710.0", 27 | "resolved": "https://registry.npmjs.org/@cloudflare/workerd-darwin-64/-/workerd-darwin-64-1.20230710.0.tgz", 28 | "integrity": "sha512-TDEgTfzTkveW+U0qtg9/60PXbl2klnEso0oio501zAnY2SOC1x7M0qb8UkhvjHFUVpwdykUzTPWPIWFBcF1ibA==", 29 | "cpu": [ 30 | "x64" 31 | ], 32 | "dev": true, 33 | "optional": true, 34 | "os": [ 35 | "darwin" 36 | ], 37 | "engines": { 38 | "node": ">=16" 39 | } 40 | }, 41 | "node_modules/@cloudflare/workerd-darwin-arm64": { 42 | "version": "1.20230710.0", 43 | "resolved": "https://registry.npmjs.org/@cloudflare/workerd-darwin-arm64/-/workerd-darwin-arm64-1.20230710.0.tgz", 44 | "integrity": "sha512-dxBwnKcj7TiM1JGiODg0LASa25A9P0XLeMkmF8YCECZoq+3QLH/uY4Vbm1xeEy8iXUZrt/uYN72bBE83vY4HIQ==", 45 | "cpu": [ 46 | "arm64" 47 | ], 48 | "dev": true, 49 | "optional": true, 50 | "os": [ 51 | "darwin" 52 | ], 53 | "engines": { 54 | "node": ">=16" 55 | } 56 | }, 57 | "node_modules/@cloudflare/workerd-linux-64": { 58 | "version": "1.20230710.0", 59 | "resolved": "https://registry.npmjs.org/@cloudflare/workerd-linux-64/-/workerd-linux-64-1.20230710.0.tgz", 60 | "integrity": "sha512-WrKZwL76i51jQLFpSxklpRSm2s8T9Xf6tVzQaiLTtpguKZSF/CTAyjjEOVfS7FXk+Te8lyAJAFQnj5QHoJ3pzA==", 61 | "cpu": [ 62 | "x64" 63 | ], 64 | "dev": true, 65 | "optional": true, 66 | "os": [ 67 | "linux" 68 | ], 69 | "engines": { 70 | "node": ">=16" 71 | } 72 | }, 73 | "node_modules/@cloudflare/workerd-linux-arm64": { 74 | "version": "1.20230710.0", 75 | "resolved": "https://registry.npmjs.org/@cloudflare/workerd-linux-arm64/-/workerd-linux-arm64-1.20230710.0.tgz", 76 | "integrity": "sha512-eWdbOoqFqQ4m1/Wwy2dRDaOVXjOmWGjwBliU8pvm2m9RjfRTdfik7z6E3vOkalxqJDHiJ0f8SUykKz2oM1lD0A==", 77 | "cpu": [ 78 | "arm64" 79 | ], 80 | "dev": true, 81 | "optional": true, 82 | "os": [ 83 | "linux" 84 | ], 85 | "engines": { 86 | "node": ">=16" 87 | } 88 | }, 89 | "node_modules/@cloudflare/workerd-windows-64": { 90 | "version": "1.20230710.0", 91 | "resolved": "https://registry.npmjs.org/@cloudflare/workerd-windows-64/-/workerd-windows-64-1.20230710.0.tgz", 92 | "integrity": "sha512-P5ihH98Pb72HrsVsvb/HCSezvAvEtPeVQVBKgIclNE9e0fkA4zX9QMzBBFvLy3yr0YLf4r7MO2tNnt7JFnheGA==", 93 | "cpu": [ 94 | "x64" 95 | ], 96 | "dev": true, 97 | "optional": true, 98 | "os": [ 99 | "win32" 100 | ], 101 | "engines": { 102 | "node": ">=16" 103 | } 104 | }, 105 | "node_modules/@cloudflare/workers-types": { 106 | "version": "4.20230710.1", 107 | "resolved": "https://registry.npmjs.org/@cloudflare/workers-types/-/workers-types-4.20230710.1.tgz", 108 | "integrity": "sha512-VqEY/ZqyHKBn6ivdePSWebpqojwbCXVEuwLkMYHs0UoOAqcGylkVcabdZYdQJKeNxXcOUZ9UBId/x9UsPUm2XQ==", 109 | "dev": true 110 | }, 111 | "node_modules/@esbuild-plugins/node-globals-polyfill": { 112 | "version": "0.1.1", 113 | "resolved": "https://registry.npmjs.org/@esbuild-plugins/node-globals-polyfill/-/node-globals-polyfill-0.1.1.tgz", 114 | "integrity": "sha512-MR0oAA+mlnJWrt1RQVQ+4VYuRJW/P2YmRTv1AsplObyvuBMnPHiizUF95HHYiSsMGLhyGtWufaq2XQg6+iurBg==", 115 | "dev": true, 116 | "peerDependencies": { 117 | "esbuild": "*" 118 | } 119 | }, 120 | "node_modules/@esbuild-plugins/node-modules-polyfill": { 121 | "version": "0.1.4", 122 | "resolved": "https://registry.npmjs.org/@esbuild-plugins/node-modules-polyfill/-/node-modules-polyfill-0.1.4.tgz", 123 | "integrity": "sha512-uZbcXi0zbmKC/050p3gJnne5Qdzw8vkXIv+c2BW0Lsc1ji1SkrxbKPUy5Efr0blbTu1SL8w4eyfpnSdPg3G0Qg==", 124 | "dev": true, 125 | "dependencies": { 126 | "escape-string-regexp": "^4.0.0", 127 | "rollup-plugin-node-polyfills": "^0.2.1" 128 | }, 129 | "peerDependencies": { 130 | "esbuild": "*" 131 | } 132 | }, 133 | "node_modules/@esbuild/android-arm": { 134 | "version": "0.16.3", 135 | "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.16.3.tgz", 136 | "integrity": "sha512-mueuEoh+s1eRbSJqq9KNBQwI4QhQV6sRXIfTyLXSHGMpyew61rOK4qY21uKbXl1iBoMb0AdL1deWFCQVlN2qHA==", 137 | "cpu": [ 138 | "arm" 139 | ], 140 | "dev": true, 141 | "optional": true, 142 | "os": [ 143 | "android" 144 | ], 145 | "engines": { 146 | "node": ">=12" 147 | } 148 | }, 149 | "node_modules/@esbuild/android-arm64": { 150 | "version": "0.16.3", 151 | "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.16.3.tgz", 152 | "integrity": "sha512-RolFVeinkeraDvN/OoRf1F/lP0KUfGNb5jxy/vkIMeRRChkrX/HTYN6TYZosRJs3a1+8wqpxAo5PI5hFmxyPRg==", 153 | "cpu": [ 154 | "arm64" 155 | ], 156 | "dev": true, 157 | "optional": true, 158 | "os": [ 159 | "android" 160 | ], 161 | "engines": { 162 | "node": ">=12" 163 | } 164 | }, 165 | "node_modules/@esbuild/android-x64": { 166 | "version": "0.16.3", 167 | "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.16.3.tgz", 168 | "integrity": "sha512-SFpTUcIT1bIJuCCBMCQWq1bL2gPTjWoLZdjmIhjdcQHaUfV41OQfho6Ici5uvvkMmZRXIUGpM3GxysP/EU7ifQ==", 169 | "cpu": [ 170 | "x64" 171 | ], 172 | "dev": true, 173 | "optional": true, 174 | "os": [ 175 | "android" 176 | ], 177 | "engines": { 178 | "node": ">=12" 179 | } 180 | }, 181 | "node_modules/@esbuild/darwin-arm64": { 182 | "version": "0.16.3", 183 | "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.16.3.tgz", 184 | "integrity": "sha512-DO8WykMyB+N9mIDfI/Hug70Dk1KipavlGAecxS3jDUwAbTpDXj0Lcwzw9svkhxfpCagDmpaTMgxWK8/C/XcXvw==", 185 | "cpu": [ 186 | "arm64" 187 | ], 188 | "dev": true, 189 | "optional": true, 190 | "os": [ 191 | "darwin" 192 | ], 193 | "engines": { 194 | "node": ">=12" 195 | } 196 | }, 197 | "node_modules/@esbuild/darwin-x64": { 198 | "version": "0.16.3", 199 | "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.16.3.tgz", 200 | "integrity": "sha512-uEqZQ2omc6BvWqdCiyZ5+XmxuHEi1SPzpVxXCSSV2+Sh7sbXbpeNhHIeFrIpRjAs0lI1FmA1iIOxFozKBhKgRQ==", 201 | "cpu": [ 202 | "x64" 203 | ], 204 | "dev": true, 205 | "optional": true, 206 | "os": [ 207 | "darwin" 208 | ], 209 | "engines": { 210 | "node": ">=12" 211 | } 212 | }, 213 | "node_modules/@esbuild/freebsd-arm64": { 214 | "version": "0.16.3", 215 | "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.16.3.tgz", 216 | "integrity": "sha512-nJansp3sSXakNkOD5i5mIz2Is/HjzIhFs49b1tjrPrpCmwgBmH9SSzhC/Z1UqlkivqMYkhfPwMw1dGFUuwmXhw==", 217 | "cpu": [ 218 | "arm64" 219 | ], 220 | "dev": true, 221 | "optional": true, 222 | "os": [ 223 | "freebsd" 224 | ], 225 | "engines": { 226 | "node": ">=12" 227 | } 228 | }, 229 | "node_modules/@esbuild/freebsd-x64": { 230 | "version": "0.16.3", 231 | "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.16.3.tgz", 232 | "integrity": "sha512-TfoDzLw+QHfc4a8aKtGSQ96Wa+6eimljjkq9HKR0rHlU83vw8aldMOUSJTUDxbcUdcgnJzPaX8/vGWm7vyV7ug==", 233 | "cpu": [ 234 | "x64" 235 | ], 236 | "dev": true, 237 | "optional": true, 238 | "os": [ 239 | "freebsd" 240 | ], 241 | "engines": { 242 | "node": ">=12" 243 | } 244 | }, 245 | "node_modules/@esbuild/linux-arm": { 246 | "version": "0.16.3", 247 | "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.16.3.tgz", 248 | "integrity": "sha512-VwswmSYwVAAq6LysV59Fyqk3UIjbhuc6wb3vEcJ7HEJUtFuLK9uXWuFoH1lulEbE4+5GjtHi3MHX+w1gNHdOWQ==", 249 | "cpu": [ 250 | "arm" 251 | ], 252 | "dev": true, 253 | "optional": true, 254 | "os": [ 255 | "linux" 256 | ], 257 | "engines": { 258 | "node": ">=12" 259 | } 260 | }, 261 | "node_modules/@esbuild/linux-arm64": { 262 | "version": "0.16.3", 263 | "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.16.3.tgz", 264 | "integrity": "sha512-7I3RlsnxEFCHVZNBLb2w7unamgZ5sVwO0/ikE2GaYvYuUQs9Qte/w7TqWcXHtCwxvZx/2+F97ndiUQAWs47ZfQ==", 265 | "cpu": [ 266 | "arm64" 267 | ], 268 | "dev": true, 269 | "optional": true, 270 | "os": [ 271 | "linux" 272 | ], 273 | "engines": { 274 | "node": ">=12" 275 | } 276 | }, 277 | "node_modules/@esbuild/linux-ia32": { 278 | "version": "0.16.3", 279 | "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.16.3.tgz", 280 | "integrity": "sha512-X8FDDxM9cqda2rJE+iblQhIMYY49LfvW4kaEjoFbTTQ4Go8G96Smj2w3BRTwA8IHGoi9dPOPGAX63dhuv19UqA==", 281 | "cpu": [ 282 | "ia32" 283 | ], 284 | "dev": true, 285 | "optional": true, 286 | "os": [ 287 | "linux" 288 | ], 289 | "engines": { 290 | "node": ">=12" 291 | } 292 | }, 293 | "node_modules/@esbuild/linux-loong64": { 294 | "version": "0.16.3", 295 | "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.16.3.tgz", 296 | "integrity": "sha512-hIbeejCOyO0X9ujfIIOKjBjNAs9XD/YdJ9JXAy1lHA+8UXuOqbFe4ErMCqMr8dhlMGBuvcQYGF7+kO7waj2KHw==", 297 | "cpu": [ 298 | "loong64" 299 | ], 300 | "dev": true, 301 | "optional": true, 302 | "os": [ 303 | "linux" 304 | ], 305 | "engines": { 306 | "node": ">=12" 307 | } 308 | }, 309 | "node_modules/@esbuild/linux-mips64el": { 310 | "version": "0.16.3", 311 | "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.16.3.tgz", 312 | "integrity": "sha512-znFRzICT/V8VZQMt6rjb21MtAVJv/3dmKRMlohlShrbVXdBuOdDrGb+C2cZGQAR8RFyRe7HS6klmHq103WpmVw==", 313 | "cpu": [ 314 | "mips64el" 315 | ], 316 | "dev": true, 317 | "optional": true, 318 | "os": [ 319 | "linux" 320 | ], 321 | "engines": { 322 | "node": ">=12" 323 | } 324 | }, 325 | "node_modules/@esbuild/linux-ppc64": { 326 | "version": "0.16.3", 327 | "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.16.3.tgz", 328 | "integrity": "sha512-EV7LuEybxhXrVTDpbqWF2yehYRNz5e5p+u3oQUS2+ZFpknyi1NXxr8URk4ykR8Efm7iu04//4sBg249yNOwy5Q==", 329 | "cpu": [ 330 | "ppc64" 331 | ], 332 | "dev": true, 333 | "optional": true, 334 | "os": [ 335 | "linux" 336 | ], 337 | "engines": { 338 | "node": ">=12" 339 | } 340 | }, 341 | "node_modules/@esbuild/linux-riscv64": { 342 | "version": "0.16.3", 343 | "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.16.3.tgz", 344 | "integrity": "sha512-uDxqFOcLzFIJ+r/pkTTSE9lsCEaV/Y6rMlQjUI9BkzASEChYL/aSQjZjchtEmdnVxDKETnUAmsaZ4pqK1eE5BQ==", 345 | "cpu": [ 346 | "riscv64" 347 | ], 348 | "dev": true, 349 | "optional": true, 350 | "os": [ 351 | "linux" 352 | ], 353 | "engines": { 354 | "node": ">=12" 355 | } 356 | }, 357 | "node_modules/@esbuild/linux-s390x": { 358 | "version": "0.16.3", 359 | "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.16.3.tgz", 360 | "integrity": "sha512-NbeREhzSxYwFhnCAQOQZmajsPYtX71Ufej3IQ8W2Gxskfz9DK58ENEju4SbpIj48VenktRASC52N5Fhyf/aliQ==", 361 | "cpu": [ 362 | "s390x" 363 | ], 364 | "dev": true, 365 | "optional": true, 366 | "os": [ 367 | "linux" 368 | ], 369 | "engines": { 370 | "node": ">=12" 371 | } 372 | }, 373 | "node_modules/@esbuild/linux-x64": { 374 | "version": "0.16.3", 375 | "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.16.3.tgz", 376 | "integrity": "sha512-SDiG0nCixYO9JgpehoKgScwic7vXXndfasjnD5DLbp1xltANzqZ425l7LSdHynt19UWOcDjG9wJJzSElsPvk0w==", 377 | "cpu": [ 378 | "x64" 379 | ], 380 | "dev": true, 381 | "optional": true, 382 | "os": [ 383 | "linux" 384 | ], 385 | "engines": { 386 | "node": ">=12" 387 | } 388 | }, 389 | "node_modules/@esbuild/netbsd-x64": { 390 | "version": "0.16.3", 391 | "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.16.3.tgz", 392 | "integrity": "sha512-AzbsJqiHEq1I/tUvOfAzCY15h4/7Ivp3ff/o1GpP16n48JMNAtbW0qui2WCgoIZArEHD0SUQ95gvR0oSO7ZbdA==", 393 | "cpu": [ 394 | "x64" 395 | ], 396 | "dev": true, 397 | "optional": true, 398 | "os": [ 399 | "netbsd" 400 | ], 401 | "engines": { 402 | "node": ">=12" 403 | } 404 | }, 405 | "node_modules/@esbuild/openbsd-x64": { 406 | "version": "0.16.3", 407 | "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.16.3.tgz", 408 | "integrity": "sha512-gSABi8qHl8k3Cbi/4toAzHiykuBuWLZs43JomTcXkjMZVkp0gj3gg9mO+9HJW/8GB5H89RX/V0QP4JGL7YEEVg==", 409 | "cpu": [ 410 | "x64" 411 | ], 412 | "dev": true, 413 | "optional": true, 414 | "os": [ 415 | "openbsd" 416 | ], 417 | "engines": { 418 | "node": ">=12" 419 | } 420 | }, 421 | "node_modules/@esbuild/sunos-x64": { 422 | "version": "0.16.3", 423 | "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.16.3.tgz", 424 | "integrity": "sha512-SF9Kch5Ete4reovvRO6yNjMxrvlfT0F0Flm+NPoUw5Z4Q3r1d23LFTgaLwm3Cp0iGbrU/MoUI+ZqwCv5XJijCw==", 425 | "cpu": [ 426 | "x64" 427 | ], 428 | "dev": true, 429 | "optional": true, 430 | "os": [ 431 | "sunos" 432 | ], 433 | "engines": { 434 | "node": ">=12" 435 | } 436 | }, 437 | "node_modules/@esbuild/win32-arm64": { 438 | "version": "0.16.3", 439 | "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.16.3.tgz", 440 | "integrity": "sha512-u5aBonZIyGopAZyOnoPAA6fGsDeHByZ9CnEzyML9NqntK6D/xl5jteZUKm/p6nD09+v3pTM6TuUIqSPcChk5gg==", 441 | "cpu": [ 442 | "arm64" 443 | ], 444 | "dev": true, 445 | "optional": true, 446 | "os": [ 447 | "win32" 448 | ], 449 | "engines": { 450 | "node": ">=12" 451 | } 452 | }, 453 | "node_modules/@esbuild/win32-ia32": { 454 | "version": "0.16.3", 455 | "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.16.3.tgz", 456 | "integrity": "sha512-GlgVq1WpvOEhNioh74TKelwla9KDuAaLZrdxuuUgsP2vayxeLgVc+rbpIv0IYF4+tlIzq2vRhofV+KGLD+37EQ==", 457 | "cpu": [ 458 | "ia32" 459 | ], 460 | "dev": true, 461 | "optional": true, 462 | "os": [ 463 | "win32" 464 | ], 465 | "engines": { 466 | "node": ">=12" 467 | } 468 | }, 469 | "node_modules/@esbuild/win32-x64": { 470 | "version": "0.16.3", 471 | "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.16.3.tgz", 472 | "integrity": "sha512-5/JuTd8OWW8UzEtyf19fbrtMJENza+C9JoPIkvItgTBQ1FO2ZLvjbPO6Xs54vk0s5JB5QsfieUEshRQfu7ZHow==", 473 | "cpu": [ 474 | "x64" 475 | ], 476 | "dev": true, 477 | "optional": true, 478 | "os": [ 479 | "win32" 480 | ], 481 | "engines": { 482 | "node": ">=12" 483 | } 484 | }, 485 | "node_modules/acorn": { 486 | "version": "8.10.0", 487 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz", 488 | "integrity": "sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==", 489 | "dev": true, 490 | "bin": { 491 | "acorn": "bin/acorn" 492 | }, 493 | "engines": { 494 | "node": ">=0.4.0" 495 | } 496 | }, 497 | "node_modules/acorn-walk": { 498 | "version": "8.2.0", 499 | "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz", 500 | "integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==", 501 | "dev": true, 502 | "engines": { 503 | "node": ">=0.4.0" 504 | } 505 | }, 506 | "node_modules/anymatch": { 507 | "version": "3.1.3", 508 | "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", 509 | "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", 510 | "dev": true, 511 | "dependencies": { 512 | "normalize-path": "^3.0.0", 513 | "picomatch": "^2.0.4" 514 | }, 515 | "engines": { 516 | "node": ">= 8" 517 | } 518 | }, 519 | "node_modules/as-table": { 520 | "version": "1.0.55", 521 | "resolved": "https://registry.npmjs.org/as-table/-/as-table-1.0.55.tgz", 522 | "integrity": "sha512-xvsWESUJn0JN421Xb9MQw6AsMHRCUknCe0Wjlxvjud80mU4E6hQf1A6NzQKcYNmYw62MfzEtXc+badstZP3JpQ==", 523 | "dev": true, 524 | "dependencies": { 525 | "printable-characters": "^1.0.42" 526 | } 527 | }, 528 | "node_modules/base64-js": { 529 | "version": "1.5.1", 530 | "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", 531 | "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", 532 | "dev": true, 533 | "funding": [ 534 | { 535 | "type": "github", 536 | "url": "https://github.com/sponsors/feross" 537 | }, 538 | { 539 | "type": "patreon", 540 | "url": "https://www.patreon.com/feross" 541 | }, 542 | { 543 | "type": "consulting", 544 | "url": "https://feross.org/support" 545 | } 546 | ] 547 | }, 548 | "node_modules/better-sqlite3": { 549 | "version": "8.4.0", 550 | "resolved": "https://registry.npmjs.org/better-sqlite3/-/better-sqlite3-8.4.0.tgz", 551 | "integrity": "sha512-NmsNW1CQvqMszu/CFAJ3pLct6NEFlNfuGM6vw72KHkjOD1UDnL96XNN1BMQc1hiHo8vE2GbOWQYIpZ+YM5wrZw==", 552 | "dev": true, 553 | "hasInstallScript": true, 554 | "dependencies": { 555 | "bindings": "^1.5.0", 556 | "prebuild-install": "^7.1.0" 557 | } 558 | }, 559 | "node_modules/binary-extensions": { 560 | "version": "2.2.0", 561 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", 562 | "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", 563 | "dev": true, 564 | "engines": { 565 | "node": ">=8" 566 | } 567 | }, 568 | "node_modules/bindings": { 569 | "version": "1.5.0", 570 | "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", 571 | "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", 572 | "dev": true, 573 | "dependencies": { 574 | "file-uri-to-path": "1.0.0" 575 | } 576 | }, 577 | "node_modules/bl": { 578 | "version": "4.1.0", 579 | "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", 580 | "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", 581 | "dev": true, 582 | "dependencies": { 583 | "buffer": "^5.5.0", 584 | "inherits": "^2.0.4", 585 | "readable-stream": "^3.4.0" 586 | } 587 | }, 588 | "node_modules/blake3-wasm": { 589 | "version": "2.1.5", 590 | "resolved": "https://registry.npmjs.org/blake3-wasm/-/blake3-wasm-2.1.5.tgz", 591 | "integrity": "sha512-F1+K8EbfOZE49dtoPtmxUQrpXaBIl3ICvasLh+nJta0xkz+9kF/7uet9fLnwKqhDrmj6g+6K3Tw9yQPUg2ka5g==", 592 | "dev": true 593 | }, 594 | "node_modules/braces": { 595 | "version": "3.0.2", 596 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", 597 | "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", 598 | "dev": true, 599 | "dependencies": { 600 | "fill-range": "^7.0.1" 601 | }, 602 | "engines": { 603 | "node": ">=8" 604 | } 605 | }, 606 | "node_modules/buffer": { 607 | "version": "5.7.1", 608 | "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", 609 | "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", 610 | "dev": true, 611 | "funding": [ 612 | { 613 | "type": "github", 614 | "url": "https://github.com/sponsors/feross" 615 | }, 616 | { 617 | "type": "patreon", 618 | "url": "https://www.patreon.com/feross" 619 | }, 620 | { 621 | "type": "consulting", 622 | "url": "https://feross.org/support" 623 | } 624 | ], 625 | "dependencies": { 626 | "base64-js": "^1.3.1", 627 | "ieee754": "^1.1.13" 628 | } 629 | }, 630 | "node_modules/buffer-from": { 631 | "version": "1.1.2", 632 | "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", 633 | "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", 634 | "dev": true 635 | }, 636 | "node_modules/busboy": { 637 | "version": "1.6.0", 638 | "resolved": "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz", 639 | "integrity": "sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==", 640 | "dev": true, 641 | "dependencies": { 642 | "streamsearch": "^1.1.0" 643 | }, 644 | "engines": { 645 | "node": ">=10.16.0" 646 | } 647 | }, 648 | "node_modules/capnp-ts": { 649 | "version": "0.7.0", 650 | "resolved": "https://registry.npmjs.org/capnp-ts/-/capnp-ts-0.7.0.tgz", 651 | "integrity": "sha512-XKxXAC3HVPv7r674zP0VC3RTXz+/JKhfyw94ljvF80yynK6VkTnqE3jMuN8b3dUVmmc43TjyxjW4KTsmB3c86g==", 652 | "dev": true, 653 | "dependencies": { 654 | "debug": "^4.3.1", 655 | "tslib": "^2.2.0" 656 | } 657 | }, 658 | "node_modules/chokidar": { 659 | "version": "3.5.3", 660 | "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", 661 | "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", 662 | "dev": true, 663 | "funding": [ 664 | { 665 | "type": "individual", 666 | "url": "https://paulmillr.com/funding/" 667 | } 668 | ], 669 | "dependencies": { 670 | "anymatch": "~3.1.2", 671 | "braces": "~3.0.2", 672 | "glob-parent": "~5.1.2", 673 | "is-binary-path": "~2.1.0", 674 | "is-glob": "~4.0.1", 675 | "normalize-path": "~3.0.0", 676 | "readdirp": "~3.6.0" 677 | }, 678 | "engines": { 679 | "node": ">= 8.10.0" 680 | }, 681 | "optionalDependencies": { 682 | "fsevents": "~2.3.2" 683 | } 684 | }, 685 | "node_modules/chownr": { 686 | "version": "1.1.4", 687 | "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", 688 | "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", 689 | "dev": true 690 | }, 691 | "node_modules/cookie": { 692 | "version": "0.5.0", 693 | "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", 694 | "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==", 695 | "dev": true, 696 | "engines": { 697 | "node": ">= 0.6" 698 | } 699 | }, 700 | "node_modules/data-uri-to-buffer": { 701 | "version": "2.0.2", 702 | "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-2.0.2.tgz", 703 | "integrity": "sha512-ND9qDTLc6diwj+Xe5cdAgVTbLVdXbtxTJRXRhli8Mowuaan+0EJOtdqJ0QCHNSSPyoXGx9HX2/VMnKeC34AChA==", 704 | "dev": true 705 | }, 706 | "node_modules/debug": { 707 | "version": "4.3.4", 708 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 709 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 710 | "dev": true, 711 | "dependencies": { 712 | "ms": "2.1.2" 713 | }, 714 | "engines": { 715 | "node": ">=6.0" 716 | }, 717 | "peerDependenciesMeta": { 718 | "supports-color": { 719 | "optional": true 720 | } 721 | } 722 | }, 723 | "node_modules/decompress-response": { 724 | "version": "6.0.0", 725 | "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz", 726 | "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==", 727 | "dev": true, 728 | "dependencies": { 729 | "mimic-response": "^3.1.0" 730 | }, 731 | "engines": { 732 | "node": ">=10" 733 | }, 734 | "funding": { 735 | "url": "https://github.com/sponsors/sindresorhus" 736 | } 737 | }, 738 | "node_modules/deep-extend": { 739 | "version": "0.6.0", 740 | "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", 741 | "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", 742 | "dev": true, 743 | "engines": { 744 | "node": ">=4.0.0" 745 | } 746 | }, 747 | "node_modules/detect-libc": { 748 | "version": "2.0.1", 749 | "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.1.tgz", 750 | "integrity": "sha512-463v3ZeIrcWtdgIg6vI6XUncguvr2TnGl4SzDXinkt9mSLpBJKXT3mW6xT3VQdDN11+WVs29pgvivTc4Lp8v+w==", 751 | "dev": true, 752 | "engines": { 753 | "node": ">=8" 754 | } 755 | }, 756 | "node_modules/end-of-stream": { 757 | "version": "1.4.4", 758 | "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", 759 | "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", 760 | "dev": true, 761 | "dependencies": { 762 | "once": "^1.4.0" 763 | } 764 | }, 765 | "node_modules/esbuild": { 766 | "version": "0.16.3", 767 | "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.16.3.tgz", 768 | "integrity": "sha512-71f7EjPWTiSguen8X/kxEpkAS7BFHwtQKisCDDV3Y4GLGWBaoSCyD5uXkaUew6JDzA9FEN1W23mdnSwW9kqCeg==", 769 | "dev": true, 770 | "hasInstallScript": true, 771 | "bin": { 772 | "esbuild": "bin/esbuild" 773 | }, 774 | "engines": { 775 | "node": ">=12" 776 | }, 777 | "optionalDependencies": { 778 | "@esbuild/android-arm": "0.16.3", 779 | "@esbuild/android-arm64": "0.16.3", 780 | "@esbuild/android-x64": "0.16.3", 781 | "@esbuild/darwin-arm64": "0.16.3", 782 | "@esbuild/darwin-x64": "0.16.3", 783 | "@esbuild/freebsd-arm64": "0.16.3", 784 | "@esbuild/freebsd-x64": "0.16.3", 785 | "@esbuild/linux-arm": "0.16.3", 786 | "@esbuild/linux-arm64": "0.16.3", 787 | "@esbuild/linux-ia32": "0.16.3", 788 | "@esbuild/linux-loong64": "0.16.3", 789 | "@esbuild/linux-mips64el": "0.16.3", 790 | "@esbuild/linux-ppc64": "0.16.3", 791 | "@esbuild/linux-riscv64": "0.16.3", 792 | "@esbuild/linux-s390x": "0.16.3", 793 | "@esbuild/linux-x64": "0.16.3", 794 | "@esbuild/netbsd-x64": "0.16.3", 795 | "@esbuild/openbsd-x64": "0.16.3", 796 | "@esbuild/sunos-x64": "0.16.3", 797 | "@esbuild/win32-arm64": "0.16.3", 798 | "@esbuild/win32-ia32": "0.16.3", 799 | "@esbuild/win32-x64": "0.16.3" 800 | } 801 | }, 802 | "node_modules/escape-string-regexp": { 803 | "version": "4.0.0", 804 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", 805 | "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", 806 | "dev": true, 807 | "engines": { 808 | "node": ">=10" 809 | }, 810 | "funding": { 811 | "url": "https://github.com/sponsors/sindresorhus" 812 | } 813 | }, 814 | "node_modules/estree-walker": { 815 | "version": "0.6.1", 816 | "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.6.1.tgz", 817 | "integrity": "sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==", 818 | "dev": true 819 | }, 820 | "node_modules/exit-hook": { 821 | "version": "2.2.1", 822 | "resolved": "https://registry.npmjs.org/exit-hook/-/exit-hook-2.2.1.tgz", 823 | "integrity": "sha512-eNTPlAD67BmP31LDINZ3U7HSF8l57TxOY2PmBJ1shpCvpnxBF93mWCE8YHBnXs8qiUZJc9WDcWIeC3a2HIAMfw==", 824 | "dev": true, 825 | "engines": { 826 | "node": ">=6" 827 | }, 828 | "funding": { 829 | "url": "https://github.com/sponsors/sindresorhus" 830 | } 831 | }, 832 | "node_modules/expand-template": { 833 | "version": "2.0.3", 834 | "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz", 835 | "integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==", 836 | "dev": true, 837 | "engines": { 838 | "node": ">=6" 839 | } 840 | }, 841 | "node_modules/file-uri-to-path": { 842 | "version": "1.0.0", 843 | "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", 844 | "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==", 845 | "dev": true 846 | }, 847 | "node_modules/fill-range": { 848 | "version": "7.0.1", 849 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", 850 | "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", 851 | "dev": true, 852 | "dependencies": { 853 | "to-regex-range": "^5.0.1" 854 | }, 855 | "engines": { 856 | "node": ">=8" 857 | } 858 | }, 859 | "node_modules/fs-constants": { 860 | "version": "1.0.0", 861 | "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", 862 | "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", 863 | "dev": true 864 | }, 865 | "node_modules/fsevents": { 866 | "version": "2.3.2", 867 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", 868 | "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", 869 | "dev": true, 870 | "hasInstallScript": true, 871 | "optional": true, 872 | "os": [ 873 | "darwin" 874 | ], 875 | "engines": { 876 | "node": "^8.16.0 || ^10.6.0 || >=11.0.0" 877 | } 878 | }, 879 | "node_modules/get-source": { 880 | "version": "2.0.12", 881 | "resolved": "https://registry.npmjs.org/get-source/-/get-source-2.0.12.tgz", 882 | "integrity": "sha512-X5+4+iD+HoSeEED+uwrQ07BOQr0kEDFMVqqpBuI+RaZBpBpHCuXxo70bjar6f0b0u/DQJsJ7ssurpP0V60Az+w==", 883 | "dev": true, 884 | "dependencies": { 885 | "data-uri-to-buffer": "^2.0.0", 886 | "source-map": "^0.6.1" 887 | } 888 | }, 889 | "node_modules/get-source/node_modules/source-map": { 890 | "version": "0.6.1", 891 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", 892 | "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", 893 | "dev": true, 894 | "engines": { 895 | "node": ">=0.10.0" 896 | } 897 | }, 898 | "node_modules/github-from-package": { 899 | "version": "0.0.0", 900 | "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz", 901 | "integrity": "sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==", 902 | "dev": true 903 | }, 904 | "node_modules/glob-parent": { 905 | "version": "5.1.2", 906 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", 907 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", 908 | "dev": true, 909 | "dependencies": { 910 | "is-glob": "^4.0.1" 911 | }, 912 | "engines": { 913 | "node": ">= 6" 914 | } 915 | }, 916 | "node_modules/glob-to-regexp": { 917 | "version": "0.4.1", 918 | "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", 919 | "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", 920 | "dev": true 921 | }, 922 | "node_modules/http-cache-semantics": { 923 | "version": "4.1.1", 924 | "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", 925 | "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==", 926 | "dev": true 927 | }, 928 | "node_modules/ieee754": { 929 | "version": "1.2.1", 930 | "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", 931 | "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", 932 | "dev": true, 933 | "funding": [ 934 | { 935 | "type": "github", 936 | "url": "https://github.com/sponsors/feross" 937 | }, 938 | { 939 | "type": "patreon", 940 | "url": "https://www.patreon.com/feross" 941 | }, 942 | { 943 | "type": "consulting", 944 | "url": "https://feross.org/support" 945 | } 946 | ] 947 | }, 948 | "node_modules/inherits": { 949 | "version": "2.0.4", 950 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 951 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", 952 | "dev": true 953 | }, 954 | "node_modules/ini": { 955 | "version": "1.3.8", 956 | "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", 957 | "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", 958 | "dev": true 959 | }, 960 | "node_modules/is-binary-path": { 961 | "version": "2.1.0", 962 | "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", 963 | "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", 964 | "dev": true, 965 | "dependencies": { 966 | "binary-extensions": "^2.0.0" 967 | }, 968 | "engines": { 969 | "node": ">=8" 970 | } 971 | }, 972 | "node_modules/is-extglob": { 973 | "version": "2.1.1", 974 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 975 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", 976 | "dev": true, 977 | "engines": { 978 | "node": ">=0.10.0" 979 | } 980 | }, 981 | "node_modules/is-glob": { 982 | "version": "4.0.3", 983 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", 984 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", 985 | "dev": true, 986 | "dependencies": { 987 | "is-extglob": "^2.1.1" 988 | }, 989 | "engines": { 990 | "node": ">=0.10.0" 991 | } 992 | }, 993 | "node_modules/is-number": { 994 | "version": "7.0.0", 995 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 996 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", 997 | "dev": true, 998 | "engines": { 999 | "node": ">=0.12.0" 1000 | } 1001 | }, 1002 | "node_modules/kleur": { 1003 | "version": "4.1.5", 1004 | "resolved": "https://registry.npmjs.org/kleur/-/kleur-4.1.5.tgz", 1005 | "integrity": "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==", 1006 | "dev": true, 1007 | "engines": { 1008 | "node": ">=6" 1009 | } 1010 | }, 1011 | "node_modules/lru-cache": { 1012 | "version": "6.0.0", 1013 | "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", 1014 | "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", 1015 | "dev": true, 1016 | "dependencies": { 1017 | "yallist": "^4.0.0" 1018 | }, 1019 | "engines": { 1020 | "node": ">=10" 1021 | } 1022 | }, 1023 | "node_modules/magic-string": { 1024 | "version": "0.25.9", 1025 | "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz", 1026 | "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==", 1027 | "dev": true, 1028 | "dependencies": { 1029 | "sourcemap-codec": "^1.4.8" 1030 | } 1031 | }, 1032 | "node_modules/mime": { 1033 | "version": "3.0.0", 1034 | "resolved": "https://registry.npmjs.org/mime/-/mime-3.0.0.tgz", 1035 | "integrity": "sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==", 1036 | "dev": true, 1037 | "bin": { 1038 | "mime": "cli.js" 1039 | }, 1040 | "engines": { 1041 | "node": ">=10.0.0" 1042 | } 1043 | }, 1044 | "node_modules/mimic-response": { 1045 | "version": "3.1.0", 1046 | "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz", 1047 | "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==", 1048 | "dev": true, 1049 | "engines": { 1050 | "node": ">=10" 1051 | }, 1052 | "funding": { 1053 | "url": "https://github.com/sponsors/sindresorhus" 1054 | } 1055 | }, 1056 | "node_modules/miniflare": { 1057 | "version": "3.20230710.0", 1058 | "resolved": "https://registry.npmjs.org/miniflare/-/miniflare-3.20230710.0.tgz", 1059 | "integrity": "sha512-kVxJoJFeepK+rGJp9UN0D8d3sL6hjFbzd3qcLUUUKosp0ouoleOa6uPNK0b8fEBWWqFUD2W4V4ziN7UvXFB4pg==", 1060 | "dev": true, 1061 | "dependencies": { 1062 | "acorn": "^8.8.0", 1063 | "acorn-walk": "^8.2.0", 1064 | "better-sqlite3": "^8.1.0", 1065 | "capnp-ts": "^0.7.0", 1066 | "exit-hook": "^2.2.1", 1067 | "glob-to-regexp": "^0.4.1", 1068 | "http-cache-semantics": "^4.1.0", 1069 | "kleur": "^4.1.5", 1070 | "set-cookie-parser": "^2.6.0", 1071 | "source-map-support": "0.5.21", 1072 | "stoppable": "^1.1.0", 1073 | "undici": "^5.13.0", 1074 | "workerd": "1.20230710.0", 1075 | "ws": "^8.11.0", 1076 | "youch": "^3.2.2", 1077 | "zod": "^3.20.6" 1078 | }, 1079 | "engines": { 1080 | "node": ">=16.13" 1081 | } 1082 | }, 1083 | "node_modules/minimist": { 1084 | "version": "1.2.8", 1085 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", 1086 | "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", 1087 | "dev": true, 1088 | "funding": { 1089 | "url": "https://github.com/sponsors/ljharb" 1090 | } 1091 | }, 1092 | "node_modules/mkdirp-classic": { 1093 | "version": "0.5.3", 1094 | "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", 1095 | "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==", 1096 | "dev": true 1097 | }, 1098 | "node_modules/ms": { 1099 | "version": "2.1.2", 1100 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 1101 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", 1102 | "dev": true 1103 | }, 1104 | "node_modules/mustache": { 1105 | "version": "4.2.0", 1106 | "resolved": "https://registry.npmjs.org/mustache/-/mustache-4.2.0.tgz", 1107 | "integrity": "sha512-71ippSywq5Yb7/tVYyGbkBggbU8H3u5Rz56fH60jGFgr8uHwxs+aSKeqmluIVzM0m0kB7xQjKS6qPfd0b2ZoqQ==", 1108 | "dev": true, 1109 | "bin": { 1110 | "mustache": "bin/mustache" 1111 | } 1112 | }, 1113 | "node_modules/nanoid": { 1114 | "version": "3.3.6", 1115 | "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", 1116 | "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==", 1117 | "dev": true, 1118 | "funding": [ 1119 | { 1120 | "type": "github", 1121 | "url": "https://github.com/sponsors/ai" 1122 | } 1123 | ], 1124 | "bin": { 1125 | "nanoid": "bin/nanoid.cjs" 1126 | }, 1127 | "engines": { 1128 | "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" 1129 | } 1130 | }, 1131 | "node_modules/napi-build-utils": { 1132 | "version": "1.0.2", 1133 | "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-1.0.2.tgz", 1134 | "integrity": "sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==", 1135 | "dev": true 1136 | }, 1137 | "node_modules/node-abi": { 1138 | "version": "3.45.0", 1139 | "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.45.0.tgz", 1140 | "integrity": "sha512-iwXuFrMAcFVi/ZoZiqq8BzAdsLw9kxDfTC0HMyjXfSL/6CSDAGD5UmR7azrAgWV1zKYq7dUUMj4owusBWKLsiQ==", 1141 | "dev": true, 1142 | "dependencies": { 1143 | "semver": "^7.3.5" 1144 | }, 1145 | "engines": { 1146 | "node": ">=10" 1147 | } 1148 | }, 1149 | "node_modules/node-forge": { 1150 | "version": "1.3.1", 1151 | "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.1.tgz", 1152 | "integrity": "sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==", 1153 | "dev": true, 1154 | "engines": { 1155 | "node": ">= 6.13.0" 1156 | } 1157 | }, 1158 | "node_modules/normalize-path": { 1159 | "version": "3.0.0", 1160 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", 1161 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", 1162 | "dev": true, 1163 | "engines": { 1164 | "node": ">=0.10.0" 1165 | } 1166 | }, 1167 | "node_modules/once": { 1168 | "version": "1.4.0", 1169 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 1170 | "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", 1171 | "dev": true, 1172 | "dependencies": { 1173 | "wrappy": "1" 1174 | } 1175 | }, 1176 | "node_modules/path-to-regexp": { 1177 | "version": "6.2.1", 1178 | "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.2.1.tgz", 1179 | "integrity": "sha512-JLyh7xT1kizaEvcaXOQwOc2/Yhw6KZOvPf1S8401UyLk86CU79LN3vl7ztXGm/pZ+YjoyAJ4rxmHwbkBXJX+yw==", 1180 | "dev": true 1181 | }, 1182 | "node_modules/picomatch": { 1183 | "version": "2.3.1", 1184 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", 1185 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", 1186 | "dev": true, 1187 | "engines": { 1188 | "node": ">=8.6" 1189 | }, 1190 | "funding": { 1191 | "url": "https://github.com/sponsors/jonschlinkert" 1192 | } 1193 | }, 1194 | "node_modules/prebuild-install": { 1195 | "version": "7.1.1", 1196 | "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.1.tgz", 1197 | "integrity": "sha512-jAXscXWMcCK8GgCoHOfIr0ODh5ai8mj63L2nWrjuAgXE6tDyYGnx4/8o/rCgU+B4JSyZBKbeZqzhtwtC3ovxjw==", 1198 | "dev": true, 1199 | "dependencies": { 1200 | "detect-libc": "^2.0.0", 1201 | "expand-template": "^2.0.3", 1202 | "github-from-package": "0.0.0", 1203 | "minimist": "^1.2.3", 1204 | "mkdirp-classic": "^0.5.3", 1205 | "napi-build-utils": "^1.0.1", 1206 | "node-abi": "^3.3.0", 1207 | "pump": "^3.0.0", 1208 | "rc": "^1.2.7", 1209 | "simple-get": "^4.0.0", 1210 | "tar-fs": "^2.0.0", 1211 | "tunnel-agent": "^0.6.0" 1212 | }, 1213 | "bin": { 1214 | "prebuild-install": "bin.js" 1215 | }, 1216 | "engines": { 1217 | "node": ">=10" 1218 | } 1219 | }, 1220 | "node_modules/printable-characters": { 1221 | "version": "1.0.42", 1222 | "resolved": "https://registry.npmjs.org/printable-characters/-/printable-characters-1.0.42.tgz", 1223 | "integrity": "sha512-dKp+C4iXWK4vVYZmYSd0KBH5F/h1HoZRsbJ82AVKRO3PEo8L4lBS/vLwhVtpwwuYcoIsVY+1JYKR268yn480uQ==", 1224 | "dev": true 1225 | }, 1226 | "node_modules/pump": { 1227 | "version": "3.0.0", 1228 | "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", 1229 | "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", 1230 | "dev": true, 1231 | "dependencies": { 1232 | "end-of-stream": "^1.1.0", 1233 | "once": "^1.3.1" 1234 | } 1235 | }, 1236 | "node_modules/rc": { 1237 | "version": "1.2.8", 1238 | "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", 1239 | "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", 1240 | "dev": true, 1241 | "dependencies": { 1242 | "deep-extend": "^0.6.0", 1243 | "ini": "~1.3.0", 1244 | "minimist": "^1.2.0", 1245 | "strip-json-comments": "~2.0.1" 1246 | }, 1247 | "bin": { 1248 | "rc": "cli.js" 1249 | } 1250 | }, 1251 | "node_modules/readable-stream": { 1252 | "version": "3.6.2", 1253 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", 1254 | "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", 1255 | "dev": true, 1256 | "dependencies": { 1257 | "inherits": "^2.0.3", 1258 | "string_decoder": "^1.1.1", 1259 | "util-deprecate": "^1.0.1" 1260 | }, 1261 | "engines": { 1262 | "node": ">= 6" 1263 | } 1264 | }, 1265 | "node_modules/readdirp": { 1266 | "version": "3.6.0", 1267 | "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", 1268 | "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", 1269 | "dev": true, 1270 | "dependencies": { 1271 | "picomatch": "^2.2.1" 1272 | }, 1273 | "engines": { 1274 | "node": ">=8.10.0" 1275 | } 1276 | }, 1277 | "node_modules/rollup-plugin-inject": { 1278 | "version": "3.0.2", 1279 | "resolved": "https://registry.npmjs.org/rollup-plugin-inject/-/rollup-plugin-inject-3.0.2.tgz", 1280 | "integrity": "sha512-ptg9PQwzs3orn4jkgXJ74bfs5vYz1NCZlSQMBUA0wKcGp5i5pA1AO3fOUEte8enhGUC+iapTCzEWw2jEFFUO/w==", 1281 | "deprecated": "This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.", 1282 | "dev": true, 1283 | "dependencies": { 1284 | "estree-walker": "^0.6.1", 1285 | "magic-string": "^0.25.3", 1286 | "rollup-pluginutils": "^2.8.1" 1287 | } 1288 | }, 1289 | "node_modules/rollup-plugin-node-polyfills": { 1290 | "version": "0.2.1", 1291 | "resolved": "https://registry.npmjs.org/rollup-plugin-node-polyfills/-/rollup-plugin-node-polyfills-0.2.1.tgz", 1292 | "integrity": "sha512-4kCrKPTJ6sK4/gLL/U5QzVT8cxJcofO0OU74tnB19F40cmuAKSzH5/siithxlofFEjwvw1YAhPmbvGNA6jEroA==", 1293 | "dev": true, 1294 | "dependencies": { 1295 | "rollup-plugin-inject": "^3.0.0" 1296 | } 1297 | }, 1298 | "node_modules/rollup-pluginutils": { 1299 | "version": "2.8.2", 1300 | "resolved": "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz", 1301 | "integrity": "sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==", 1302 | "dev": true, 1303 | "dependencies": { 1304 | "estree-walker": "^0.6.1" 1305 | } 1306 | }, 1307 | "node_modules/safe-buffer": { 1308 | "version": "5.2.1", 1309 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 1310 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", 1311 | "dev": true, 1312 | "funding": [ 1313 | { 1314 | "type": "github", 1315 | "url": "https://github.com/sponsors/feross" 1316 | }, 1317 | { 1318 | "type": "patreon", 1319 | "url": "https://www.patreon.com/feross" 1320 | }, 1321 | { 1322 | "type": "consulting", 1323 | "url": "https://feross.org/support" 1324 | } 1325 | ] 1326 | }, 1327 | "node_modules/selfsigned": { 1328 | "version": "2.1.1", 1329 | "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-2.1.1.tgz", 1330 | "integrity": "sha512-GSL3aowiF7wa/WtSFwnUrludWFoNhftq8bUkH9pkzjpN2XSPOAYEgg6e0sS9s0rZwgJzJiQRPU18A6clnoW5wQ==", 1331 | "dev": true, 1332 | "dependencies": { 1333 | "node-forge": "^1" 1334 | }, 1335 | "engines": { 1336 | "node": ">=10" 1337 | } 1338 | }, 1339 | "node_modules/semver": { 1340 | "version": "7.5.4", 1341 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", 1342 | "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", 1343 | "dev": true, 1344 | "dependencies": { 1345 | "lru-cache": "^6.0.0" 1346 | }, 1347 | "bin": { 1348 | "semver": "bin/semver.js" 1349 | }, 1350 | "engines": { 1351 | "node": ">=10" 1352 | } 1353 | }, 1354 | "node_modules/set-cookie-parser": { 1355 | "version": "2.6.0", 1356 | "resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-2.6.0.tgz", 1357 | "integrity": "sha512-RVnVQxTXuerk653XfuliOxBP81Sf0+qfQE73LIYKcyMYHG94AuH0kgrQpRDuTZnSmjpysHmzxJXKNfa6PjFhyQ==", 1358 | "dev": true 1359 | }, 1360 | "node_modules/simple-concat": { 1361 | "version": "1.0.1", 1362 | "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz", 1363 | "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==", 1364 | "dev": true, 1365 | "funding": [ 1366 | { 1367 | "type": "github", 1368 | "url": "https://github.com/sponsors/feross" 1369 | }, 1370 | { 1371 | "type": "patreon", 1372 | "url": "https://www.patreon.com/feross" 1373 | }, 1374 | { 1375 | "type": "consulting", 1376 | "url": "https://feross.org/support" 1377 | } 1378 | ] 1379 | }, 1380 | "node_modules/simple-get": { 1381 | "version": "4.0.1", 1382 | "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz", 1383 | "integrity": "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==", 1384 | "dev": true, 1385 | "funding": [ 1386 | { 1387 | "type": "github", 1388 | "url": "https://github.com/sponsors/feross" 1389 | }, 1390 | { 1391 | "type": "patreon", 1392 | "url": "https://www.patreon.com/feross" 1393 | }, 1394 | { 1395 | "type": "consulting", 1396 | "url": "https://feross.org/support" 1397 | } 1398 | ], 1399 | "dependencies": { 1400 | "decompress-response": "^6.0.0", 1401 | "once": "^1.3.1", 1402 | "simple-concat": "^1.0.0" 1403 | } 1404 | }, 1405 | "node_modules/source-map": { 1406 | "version": "0.7.4", 1407 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", 1408 | "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", 1409 | "dev": true, 1410 | "engines": { 1411 | "node": ">= 8" 1412 | } 1413 | }, 1414 | "node_modules/source-map-support": { 1415 | "version": "0.5.21", 1416 | "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", 1417 | "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", 1418 | "dev": true, 1419 | "dependencies": { 1420 | "buffer-from": "^1.0.0", 1421 | "source-map": "^0.6.0" 1422 | } 1423 | }, 1424 | "node_modules/source-map-support/node_modules/source-map": { 1425 | "version": "0.6.1", 1426 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", 1427 | "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", 1428 | "dev": true, 1429 | "engines": { 1430 | "node": ">=0.10.0" 1431 | } 1432 | }, 1433 | "node_modules/sourcemap-codec": { 1434 | "version": "1.4.8", 1435 | "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", 1436 | "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", 1437 | "deprecated": "Please use @jridgewell/sourcemap-codec instead", 1438 | "dev": true 1439 | }, 1440 | "node_modules/stacktracey": { 1441 | "version": "2.1.8", 1442 | "resolved": "https://registry.npmjs.org/stacktracey/-/stacktracey-2.1.8.tgz", 1443 | "integrity": "sha512-Kpij9riA+UNg7TnphqjH7/CzctQ/owJGNbFkfEeve4Z4uxT5+JapVLFXcsurIfN34gnTWZNJ/f7NMG0E8JDzTw==", 1444 | "dev": true, 1445 | "dependencies": { 1446 | "as-table": "^1.0.36", 1447 | "get-source": "^2.0.12" 1448 | } 1449 | }, 1450 | "node_modules/stoppable": { 1451 | "version": "1.1.0", 1452 | "resolved": "https://registry.npmjs.org/stoppable/-/stoppable-1.1.0.tgz", 1453 | "integrity": "sha512-KXDYZ9dszj6bzvnEMRYvxgeTHU74QBFL54XKtP3nyMuJ81CFYtABZ3bAzL2EdFUaEwJOBOgENyFj3R7oTzDyyw==", 1454 | "dev": true, 1455 | "engines": { 1456 | "node": ">=4", 1457 | "npm": ">=6" 1458 | } 1459 | }, 1460 | "node_modules/streamsearch": { 1461 | "version": "1.1.0", 1462 | "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-1.1.0.tgz", 1463 | "integrity": "sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==", 1464 | "dev": true, 1465 | "engines": { 1466 | "node": ">=10.0.0" 1467 | } 1468 | }, 1469 | "node_modules/string_decoder": { 1470 | "version": "1.3.0", 1471 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", 1472 | "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", 1473 | "dev": true, 1474 | "dependencies": { 1475 | "safe-buffer": "~5.2.0" 1476 | } 1477 | }, 1478 | "node_modules/strip-json-comments": { 1479 | "version": "2.0.1", 1480 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", 1481 | "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==", 1482 | "dev": true, 1483 | "engines": { 1484 | "node": ">=0.10.0" 1485 | } 1486 | }, 1487 | "node_modules/tar-fs": { 1488 | "version": "2.1.1", 1489 | "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz", 1490 | "integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==", 1491 | "dev": true, 1492 | "dependencies": { 1493 | "chownr": "^1.1.1", 1494 | "mkdirp-classic": "^0.5.2", 1495 | "pump": "^3.0.0", 1496 | "tar-stream": "^2.1.4" 1497 | } 1498 | }, 1499 | "node_modules/tar-stream": { 1500 | "version": "2.2.0", 1501 | "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", 1502 | "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", 1503 | "dev": true, 1504 | "dependencies": { 1505 | "bl": "^4.0.3", 1506 | "end-of-stream": "^1.4.1", 1507 | "fs-constants": "^1.0.0", 1508 | "inherits": "^2.0.3", 1509 | "readable-stream": "^3.1.1" 1510 | }, 1511 | "engines": { 1512 | "node": ">=6" 1513 | } 1514 | }, 1515 | "node_modules/to-regex-range": { 1516 | "version": "5.0.1", 1517 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 1518 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 1519 | "dev": true, 1520 | "dependencies": { 1521 | "is-number": "^7.0.0" 1522 | }, 1523 | "engines": { 1524 | "node": ">=8.0" 1525 | } 1526 | }, 1527 | "node_modules/tslib": { 1528 | "version": "2.6.0", 1529 | "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.0.tgz", 1530 | "integrity": "sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA==", 1531 | "dev": true 1532 | }, 1533 | "node_modules/tunnel-agent": { 1534 | "version": "0.6.0", 1535 | "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", 1536 | "integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==", 1537 | "dev": true, 1538 | "dependencies": { 1539 | "safe-buffer": "^5.0.1" 1540 | }, 1541 | "engines": { 1542 | "node": "*" 1543 | } 1544 | }, 1545 | "node_modules/undici": { 1546 | "version": "5.22.1", 1547 | "resolved": "https://registry.npmjs.org/undici/-/undici-5.22.1.tgz", 1548 | "integrity": "sha512-Ji2IJhFXZY0x/0tVBXeQwgPlLWw13GVzpsWPQ3rV50IFMMof2I55PZZxtm4P6iNq+L5znYN9nSTAq0ZyE6lSJw==", 1549 | "dev": true, 1550 | "dependencies": { 1551 | "busboy": "^1.6.0" 1552 | }, 1553 | "engines": { 1554 | "node": ">=14.0" 1555 | } 1556 | }, 1557 | "node_modules/util-deprecate": { 1558 | "version": "1.0.2", 1559 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", 1560 | "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", 1561 | "dev": true 1562 | }, 1563 | "node_modules/workerd": { 1564 | "version": "1.20230710.0", 1565 | "resolved": "https://registry.npmjs.org/workerd/-/workerd-1.20230710.0.tgz", 1566 | "integrity": "sha512-4iC+8w3UNixJ+b6GA2VOG2B6rnfSbSnm7Fnvsvq9iJuolG34fnD9xrfaXu6oN7H3Wyby3z8OIm0fy3szTvuRcg==", 1567 | "dev": true, 1568 | "hasInstallScript": true, 1569 | "bin": { 1570 | "workerd": "bin/workerd" 1571 | }, 1572 | "engines": { 1573 | "node": ">=16" 1574 | }, 1575 | "optionalDependencies": { 1576 | "@cloudflare/workerd-darwin-64": "1.20230710.0", 1577 | "@cloudflare/workerd-darwin-arm64": "1.20230710.0", 1578 | "@cloudflare/workerd-linux-64": "1.20230710.0", 1579 | "@cloudflare/workerd-linux-arm64": "1.20230710.0", 1580 | "@cloudflare/workerd-windows-64": "1.20230710.0" 1581 | } 1582 | }, 1583 | "node_modules/wrangler": { 1584 | "version": "3.2.0", 1585 | "resolved": "https://registry.npmjs.org/wrangler/-/wrangler-3.2.0.tgz", 1586 | "integrity": "sha512-Fne5c91uolV4+E0B60F/meWbD/sr/oSPBfr6x1gapu6I7Ipu5uUt29K/fuGRgXRQcVVKnd5k3fS++ruuLODoxA==", 1587 | "dev": true, 1588 | "dependencies": { 1589 | "@cloudflare/kv-asset-handler": "^0.2.0", 1590 | "@esbuild-plugins/node-globals-polyfill": "^0.1.1", 1591 | "@esbuild-plugins/node-modules-polyfill": "^0.1.4", 1592 | "blake3-wasm": "^2.1.5", 1593 | "chokidar": "^3.5.3", 1594 | "esbuild": "0.16.3", 1595 | "miniflare": "3.20230710.0", 1596 | "nanoid": "^3.3.3", 1597 | "path-to-regexp": "^6.2.0", 1598 | "selfsigned": "^2.0.1", 1599 | "source-map": "^0.7.4", 1600 | "xxhash-wasm": "^1.0.1" 1601 | }, 1602 | "bin": { 1603 | "wrangler": "bin/wrangler.js", 1604 | "wrangler2": "bin/wrangler.js" 1605 | }, 1606 | "engines": { 1607 | "node": ">=16.13.0" 1608 | }, 1609 | "optionalDependencies": { 1610 | "fsevents": "~2.3.2" 1611 | } 1612 | }, 1613 | "node_modules/wrappy": { 1614 | "version": "1.0.2", 1615 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 1616 | "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", 1617 | "dev": true 1618 | }, 1619 | "node_modules/ws": { 1620 | "version": "8.13.0", 1621 | "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", 1622 | "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", 1623 | "dev": true, 1624 | "engines": { 1625 | "node": ">=10.0.0" 1626 | }, 1627 | "peerDependencies": { 1628 | "bufferutil": "^4.0.1", 1629 | "utf-8-validate": ">=5.0.2" 1630 | }, 1631 | "peerDependenciesMeta": { 1632 | "bufferutil": { 1633 | "optional": true 1634 | }, 1635 | "utf-8-validate": { 1636 | "optional": true 1637 | } 1638 | } 1639 | }, 1640 | "node_modules/xxhash-wasm": { 1641 | "version": "1.0.2", 1642 | "resolved": "https://registry.npmjs.org/xxhash-wasm/-/xxhash-wasm-1.0.2.tgz", 1643 | "integrity": "sha512-ibF0Or+FivM9lNrg+HGJfVX8WJqgo+kCLDc4vx6xMeTce7Aj+DLttKbxxRR/gNLSAelRc1omAPlJ77N/Jem07A==", 1644 | "dev": true 1645 | }, 1646 | "node_modules/yallist": { 1647 | "version": "4.0.0", 1648 | "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", 1649 | "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", 1650 | "dev": true 1651 | }, 1652 | "node_modules/youch": { 1653 | "version": "3.2.3", 1654 | "resolved": "https://registry.npmjs.org/youch/-/youch-3.2.3.tgz", 1655 | "integrity": "sha512-ZBcWz/uzZaQVdCvfV4uk616Bbpf2ee+F/AvuKDR5EwX/Y4v06xWdtMluqTD7+KlZdM93lLm9gMZYo0sKBS0pgw==", 1656 | "dev": true, 1657 | "dependencies": { 1658 | "cookie": "^0.5.0", 1659 | "mustache": "^4.2.0", 1660 | "stacktracey": "^2.1.8" 1661 | } 1662 | }, 1663 | "node_modules/zod": { 1664 | "version": "3.21.4", 1665 | "resolved": "https://registry.npmjs.org/zod/-/zod-3.21.4.tgz", 1666 | "integrity": "sha512-m46AKbrzKVzOzs/DZgVnG5H55N1sv1M8qZU3A8RIKbs3mrACDNeIOeilDymVb2HdmP8uwshOCF4uJ8uM9rCqJw==", 1667 | "dev": true, 1668 | "funding": { 1669 | "url": "https://github.com/sponsors/colinhacks" 1670 | } 1671 | } 1672 | } 1673 | } 1674 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "edtunnel", 3 | "version": "1.0.0", 4 | "description": "A tunnel for the edgetunnel project to allow deployed applications to cloudflare pages and workers to be accessed via a custom domain.", 5 | "main": "_worker.js", 6 | "scripts": { 7 | "deploy": "wrangler deploy", 8 | "build": "wrangler deploy --dry-run", 9 | "dev": "wrangler dev --remote" 10 | }, 11 | "author": "", 12 | "license": "ISC", 13 | "devDependencies": { 14 | "@cloudflare/workers-types": "^4.20230710.1", 15 | "wrangler": "^3.2.0" 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /wrangler.toml: -------------------------------------------------------------------------------- 1 | name = "cf-worker-ws-dev" # todo 2 | #name = "cf-worker-connect-test" # todo 3 | #main = "test/worker/cf-cdn-cgi-trace2.js" 4 | #main = "test/worker/worker-connect-test.js" 5 | main = "_worker.js" 6 | compatibility_date = "2023-05-26" 7 | 8 | [vars] 9 | # UUID = "d342d11e-d424-4583-b36e-524ab1f0afa4" 10 | # PROXYIP = "1.2.3.4" 11 | # DNS_RESOLVER_URL = "https://cloudflare-dns.com/dns-query" 12 | # NODE_ID = "1" 13 | # API_TOKEN = "example_dev_token" 14 | # API_HOST = "api.v2board.com" 15 | UUID = "1b6c1745-992e-4aac-8685-266c090e50ea,89b64978-6244-4bf3-bf64-67ade4ce5c8f,d342d11e-d424-4583-b36e-524ab1f0afa4" 16 | --------------------------------------------------------------------------------