Proxy for OpenAI/ChatGPT API access
Top 40.4% on sourcepulse
This project provides a proxy for accessing OpenAI/ChatGPT APIs, specifically addressing issues with API access from China and potential account bans. It's designed for users in regions with restricted access to OpenAI services, enabling them to bypass these limitations.
How It Works
The proxy is built using Deno and can be deployed on platforms like Deno Deploy or Cloudflare Workers. It acts as an intermediary, forwarding requests to OpenAI's API from a server located outside restricted regions. This approach circumvents geographical restrictions and potential IP-based blocking by OpenAI.
Quick Start & Requirements
deno run --allow-net --allow-read --allow-env --watch deno.ts
or by copying cloudflare.ts
to Cloudflare Workers.Highlighted Details
basePath
or api_base
.Maintenance & Community
The project's primary deployment (closeai.deno.dev
) is temporarily shut down due to exceeding Deno Deploy's quota, indicating high demand. Users are encouraged to self-deploy.
Licensing & Compatibility
The repository does not explicitly state a license.
Limitations & Caveats
The project's main public instance is currently unavailable due to high traffic. Users must self-deploy to use the service. The lack of a specified license may pose compatibility concerns for commercial or closed-source use.
1 year ago
1 day