barretlee / cloudflare-proxy Goto Github PK
View Code? Open in Web Editor NEWCloudflare Worker 代理请求 ChatGPT API,支持 Stream 流式输出
License: MIT License
Cloudflare Worker 代理请求 ChatGPT API,支持 Stream 流式输出
License: MIT License
感谢楼主,已成功搭建好,使用OpenCat正常使用。
Win上面没有对应客户端,使用浏览器插件
https://chrome.google.com/webstore/detail/chathub-all-in-one-chatbo/iaakpnchhognanibcahlpcplchdfmgma?hl=zh-CN
https://github.com/chathub-dev/chathub
会出现跨域错误,调试了好久,没能解决。
求助一下。
cloudflare-proxy/cloudflare-worker.js
Line 37 in 2bf3978
这里的 body.stream
无论是 true
还是 false
,条件会成立吗?
非常感激作者提供这套解决方案。已经轻松实现第三方客户端的访问,感激!另外一个主要场景是代码里面调用OpenAI的API,不知道这套方案是否支持这样操作呢?
我国外没有设备,没办法部署https://github.com/linweiyuan/go-chatgpt-api
能用cf worker和pages实现上面这种方案吗?
改用js实现正向方法,然后类似潘多拉实现伪api,是访问网站的方式,也就是免费api的实现方法?
请问这一步有具体的操作方法吗?
403 Forbidden
content-length:11
content-type:text/plain;charset=UTF-8
Not allowed
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.