gaboolic / cloudflare-reverse-proxy Goto Github PK
View Code? Open in Web Editor NEWcloudflare反向代理|OpenAI/ChatGPT 免翻墙代理|github免翻墙代理|github下载加速|google代理|cloudflare万能代理
Home Page: https://github.com/gaboolic/vercel-reverse-proxy
cloudflare反向代理|OpenAI/ChatGPT 免翻墙代理|github免翻墙代理|github下载加速|google代理|cloudflare万能代理
Home Page: https://github.com/gaboolic/vercel-reverse-proxy
直接post “/v1/chat/completions” 是说没有api key
"error": {
"message": "You didn't provide an API key. You need to provide your API key in an Authorization header using Bearer auth (i.e. Authorization: Bearer YOUR_KEY), or as the password field (with blank username) if you're accessing the API from your browser and are prompted for a username and password. You can obtain an API key from https://platform.openai.com/account/api-keys.",
"type": "invalid_request_error",
"param": null,
"code": null
}
给了api key之后报的是:403 Forbidden: "error code: 1010",看上去是被ban了,但是直接用openai的url是可以的
现在只能加速静态url,点击连接后就跳转了。能否加速跳转后的链接呢?
vercel的那个可以用,cf的访问google会显示Error1101
https://github.com/1234567Yang/cf-proxy-ex/
轻点薅。
/proxy/
,方便使用。我看到有issue说了,但是作者说想添加引导界面,这个问题我也解决了。http
开头,如果不是就自动加上。XMLHttpRequest
和fetch
注入返回的HTML,这样也可以提交表单数据。Content-Security-Policy
和X-Frame-Options
的Header,实现可代理Duckduckgo,同时也解决了一些网站打不开的问题。"Content-Type": "text/html; charset=utf-8"
,防止一些较为古老的中文网站打开出现锟斤拷
,烫烫烫
的问题。请问这个可以不跳转https吗?因为国内把CF的workers.dev域名被SNI阻断了,只有http模式可用
https://github.com/nekoaday/cloudflare-reverse-proxy
相当于是结合了两个项目的bug,由于本人不会JavaScript只是ctrlCV工程师
访问除github之外的连接都有问题,希望这样能让墙通融一下
把ivesyi的url的encodeURIComponent改了
href,src,action,后面有可能是个完整http(github release里),有可能是一部分(这个原项目解决),还有直接写死你的网址的(github头像)
css没办法,代理了获取不到,于是没管,勉强能用
然后把这几个问题解决了,发现自己的水平已经把github写死代码里了
请求一位正则仙人,以我水平属实不会了
基于作者的做了一些优化,不需要频繁的输入url前缀,非常感谢作者大大。
https://github.com/ivesyi/cf-worker-proxy/blob/main/_worker.js
就当个反代API接口用的吧
不能当镜像站用o(╥﹏╥)o
完善了一下代码,可以自定义一个密码来更安全的使用cf代理:
https://github.com/eraycc/cloudflare-safeproxy/tree/main
有人遇到这样的情况吗? 利用cloudflare-workers代理出来的接口,在浏览器里调用时没办法让数据以流的形式返回了
在linux服务器上用反向代理不成功
我部署好后不用梯子上不去了,cloudflare是不是也被ban掉了?
用其他网页测试,配置成功,然后测试 ChatGPT 的时候遇到了问题,被 Block 了。
Error 1101
Worker threw exception
大佬这是咋回事呀
在使用反代理后打开链接,除链接本身可以访问。剩下都不行。然后一看访问跳转时是不加https的,就导致了无法加载。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.