Cloudflare Worker for proxying ChatGPT API requests
Top 41.5% on sourcepulse
This project provides a Cloudflare Worker to proxy requests to the ChatGPT API, enabling stream output for clients that cannot directly access api.openai.com
. It is intended for users who need a reliable way to interact with the ChatGPT API without maintaining local proxy configurations.
How It Works
The solution leverages Cloudflare Workers to act as an intermediary. It forwards requests to the ChatGPT API, specifically supporting the stream: true
parameter for real-time responses. This approach bypasses potential network restrictions or blocks associated with direct API calls, offering a more stable access point.
Quick Start & Requirements
cloudflare-worker.js
script to a new Cloudflare Worker.Highlighted Details
Maintenance & Community
No specific information on contributors, sponsorships, or community channels is provided in the README.
Licensing & Compatibility
Limitations & Caveats
Direct access via Cloudflare's default worker domain is stated to be non-functional, necessitating the setup of a custom domain.
2 years ago
Inactive