rawandahmad698/PyChatGPT
⚡️ Python client for the ChatGPT API with, conversation tracking, proxy support and more.
**Technical Summary:** Implements headless ChatGPT authentication by reverse-engineering OpenAI's Auth0 flow with TLS client spoofing to bypass bot detection, eliminating the need for browser automation or manual token extraction. Maintains conversation state through persistent ID tracking and token refresh mechanics, with optional file-based persistence for resuming sessions across application restarts. Includes moderation endpoint integration, configurable proxy routing, and a CLI interface built on the core `Chat` class for both programmatic use and interactive sessions.
4,203 stars. Actively maintained with 1 commit in the last 30 days.
Stars
4,203
Forks
434
Language
Python
License
MIT
Category
Last pushed
Mar 06, 2026
Commits (30d)
1
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/rawandahmad698/PyChatGPT"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Compare
Related tools
minimaxir/simpleaichat
Python package for easily interfacing with chat apps, with robust features and minimal code complexity.
Simatwa/WebChatGPT
Python SDK/API for ChatGPT Web-Version
acheong08/ChatGPT
Reverse engineered ChatGPT API
k4l1sh/alexa-gpt
A tutorial on how to use ChatGPT in Alexa
toshiakit/MatGPT
MATLAB app to access ChatGPT API from OpenAI