Inspired by https://github.com/zizifn/edgetunnel
-
Fork this repo to create Cloudflare Pages.
-
Add an environment variable. The variable name is
UUID
, generate variable value on your own.
-
Copy the code of
_worker.js
deploy to Cloudflare Workers. -
Alternatively, you can click the button below to deploy directly.
Open your Workers domain https://xxx.workers.dev/
or Pages domain https://xxx.pages.dev/
in your browser.
Then you can see the following page: the path /{UUID}
to get the clash config and vless:// link.