tjyz1987 / ChatGPT

Lightweight package for interacting with ChatGPT's API by OpenAI. Uses reverse engineered official API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ChatGPT

PyPi PyPi Python package

Reverse Engineered ChatGPT by OpenAI. Extensible for chatbots etc.

Notice

On the 12th of December 2022, OpenAI added Cloudflare protections to their API. Please refer to the new wiki for instructions

For those looking to help, check out the cloudflare branch for the code related to cloudflare bypass

Instructions

Instructions have been moved to the Wiki.

If you were using this prior to version 0.0.31, please update immediately. pip3 install revChatGPT --upgrade. Fixes has been done to avoid bot blocking

Features

image

  • No moderation
  • Programmable.
  • Async version
  • Email/password authentication
  • Cookie based authentication
  • Access Token authentication
  • Captcha support

Flaws

  • No ARM support for email/password. Use session token authentication if on Raspberry Pi

Help needed

  • Document the new changes (Desktop / Server - In regards to Cloudflare)

Awesome ChatGPT

My list

If you have a cool project you want added to the list, open an issue.

Disclaimers

This is not an official OpenAI product. This is a personal project and is not affiliated with OpenAI in any way. Don't sue me

Credits

About

Lightweight package for interacting with ChatGPT's API by OpenAI. Uses reverse engineered official API.

License:GNU General Public License v2.0


Languages

Language:Python 100.0%