netptop / siteproxy

reverse proxy, online proxy, 反向代理,免翻墙访问Youtube/twitter/Google, 支持github和telegram web登录(请注意不要通过不信任的代理进行登录)。支持DuckDuckGo AI Chat(可免费访问chatGPT3.5和Claude3)
MIT License
1.96k stars 1.03k forks source link

发个简易的前端,有没有朋友给cf版本适配一下 #56

Open pixcati opened 2 years ago

pixcati commented 2 years ago

index.txt

SunsetMkt commented 2 years ago

这个文件,https://github.com/netptop/siteproxy/blob/master/build/worker.js

搜索www.netptop.com,换成你自己的域名/链接,自己调一下那个字符串前面的https/http(如果支持https就不用管)

wraptor commented 2 years ago

这个文件,https://github.com/netptop/siteproxy/blob/master/build/worker.js

搜索www.netptop.com,换成你自己的域名/链接,自己调一下那个字符串前面的https/http(如果支持https就不用管)

以哪个为主,readme说的是搜索siteproxy.netptop.workers.dev,替换成你的子域名

注意:workers.dev域名基本被屏蔽,建议申请一个自己的域名。
1. 注册一个cloudflare账户
2. 在cloudflare上创建一个worker, 使用自己的域名,或者生成的这个worker的子域名, 比如 abcd123.xxxx.workers.dev
3. 下载https://raw.githubusercontent.com/netptop/siteproxy/master/build/worker.js文件,用文本编辑器打开,搜索siteproxy.netptop.workers.dev,替换成你的子域名
4. 在cloudflare上编辑刚刚创建的worker, 将worker.js所有内容拷贝,覆盖粘贴到worker里面,保存
5. 现在应该可以在浏览器中 访问你的子域名了
SunsetMkt commented 2 years ago

都要分别替换