ChatGPT private proxy for bypassing network restrictions
Top 79.9% on sourcepulse
This project provides a simple, one-click deployment solution for a private ChatGPT proxy service, powered by Next.js. It's designed for users who need to access ChatGPT domestically and want a self-hosted, easily deployable proxy. The primary benefit is enabling domestic access to ChatGPT through a custom domain.
How It Works
The proxy leverages Next.js's Rewriter functionality to intercept and forward requests to the official ChatGPT API. This approach requires minimal core code (stated as two lines), making it lightweight and straightforward. It supports Server-Sent Events (SSE) for streaming responses, a feature crucial for interactive AI applications.
Quick Start & Requirements
docker build -t chatgpt-proxy .
then docker run --name chatgpt-proxy -d -p 8000:3000 chatgpt-proxy
pnpm install
, build with pnpm build
, and run with pnpm start
.Highlighted Details
Maintenance & Community
No specific information on contributors, sponsorships, or community channels (like Discord/Slack) is provided in the README.
Licensing & Compatibility
The README does not explicitly state a license. Given the nature of proxying and potential platform terms of service violations, commercial use or linking with closed-source projects may require careful review and adherence to both the proxy's (unspecified) license and the terms of the hosting provider.
Limitations & Caveats
Deployment on platforms like Zeabur and Vercel is explicitly discouraged due to potential violations of their terms of service regarding proxies and VPNs. Users proceeding with these platforms do so at their own risk of account consequences. The project's license is not specified, which could impact commercial use.
2 years ago
1 day