# terry3041/pyChatGPT

An unofficial Python wrapper for OpenAI's ChatGPT API

Repository: https://github.com/terry3041/pyChatGPT
Canonical: https://ross.abutalabs.com/products/terry3041-pychatgpt
Language: Python
License: GPL-3.0
License Family: copyleft
Archived: true
Last push: 2023-12-07T04:08:38+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 97
- inputs: {"age_days": 1366, "days_push": 1000, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1337, forks 248 (observed 2026-08-28T04:04:25.598895+00:00)

## What it is
An unofficial Python wrapper that lets scripts interact with ChatGPT by automating a browser session, bypassing Cloudflare anti-bot protection with undetected_chromedriver. It supports session-token and email-based logins, captcha solvers, proxies, and headless operation, but is no longer maintained since OpenAI released an official API.

## Use cases
- use chatgpt from a python script
- automate chatgpt conversations programmatically
- bypass cloudflare protection to access chatgpt
- run chatgpt on a headless linux server
- chatgpt wrapper with proxy support
- script chatgpt without an official api key

## When to choose
- you need to automate the legacy ChatGPT web interface without an official API key
- you need Cloudflare bypass, captcha solving, or headless browser automation for ChatGPT

## When to avoid
- you want a supported solution - the project is explicitly unmaintained
- you can use OpenAI's official API instead
- you cannot install Google Chrome/Chromium in your environment

## Facets
- artifact type: library
- maturity: abandoned
- function: http-client, chatbot, llm-inference
- domain: large-language-models, chatbots, artificial-intelligence
- platform: python, windows
- tags: chatgpt, openai, web-scraping, selenium, undetected-chromedriver, session-token, captcha-solving, unofficial-api, automation, linux, macos

## Member repositories
- terry3041/pyChatGPT (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:25.598895+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:44:04.978394+00:00, confidence not recorded.
  - readme: https://github.com/terry3041/pyChatGPT (fetched 2026-08-28T04:04:25.598895+00:00, sha fc55b24bd6b5)
  - registry_pypi: https://pypi.org/pypi/pychatgpt/json (fetched 2026-08-29T12:03:17.119154+00:00, sha e2b6b9995bfe)
- Data as of 2026-08-30T08:39:29.467469+00:00.
