use-ChatGPT-in-GFW  by Sha1rholder

Guide for using OpenAI services in China

created 2 years ago
462 stars

Top 66.5% on sourcepulse

GitHubView on GitHub
Project Summary

This repository provides a comprehensive guide for users in mainland China to access and utilize OpenAI's services, including ChatGPT and its API, bypassing the Great Firewall (GFW). It targets individuals seeking to leverage advanced AI models for personal, academic, or development purposes without requiring traditional VPNs.

How It Works

The guide details multiple methods for accessing OpenAI services, ranging from direct ChatGPT usage with workarounds for network restrictions to API integration. It covers obtaining necessary resources like valid email addresses and virtual phone numbers, and explains how to configure tools like VS Code extensions and deploy custom ChatGPT websites using platforms like Vercel. The approach emphasizes practical, step-by-step instructions to overcome common barriers faced by users in restricted network environments.

Quick Start & Requirements

  • ChatGPT Access: Requires a valid overseas email, a virtual phone number (e.g., from sms-activate.org), and a stable VPN/proxy service that can bypass GFW and OpenAI's IP/browser checks.
  • API Access: Requires an OpenAI account with an API key.
  • Azure OpenAI: Requires GitHub student verification, an Azure account, and a subscription ID.
  • Deployment: Vercel account, GitHub repository fork, and domain registration (optional).
  • VS Code Genie AI: VS Code IDE, OpenAI API key.
  • GitHub Copilot: VS Code IDE, GitHub account (student verification recommended).

Highlighted Details

  • Detailed comparison of OpenAI models (GPT-3.5-turbo, GPT-4, text-davinci-003) including pricing and capabilities.
  • Instructions for using VS Code extensions like ChatGPT-Genie AI for seamless integration.
  • Guide to deploying a self-hosted ChatGPT website using Vercel for accessible sharing.
  • Steps for leveraging Azure OpenAI services, including student discounts, for potentially faster and more stable access.

Maintenance & Community

The repository was last updated on October 25, 2023. It encourages community contributions via issues and pull requests.

Licensing & Compatibility

The repository itself does not specify a license. The underlying OpenAI services are subject to OpenAI's terms of service.

Limitations & Caveats

Accessing OpenAI services from mainland China remains subject to the evolving GFW and OpenAI's detection mechanisms, potentially requiring continuous adaptation of methods. Some services, like Azure OpenAI, may have specific eligibility requirements (e.g., student status). The guide notes that some proxy services might conflict with GitHub Copilot.

Health Check
Last commit

1 year ago

Responsiveness

1 week

Pull Requests (30d)
0
Issues (30d)
0
Star History
10 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.