An unofficial yet elegant interface of the ChatGPT API using browser automation that bypasses cloudflare detection and recaptchas.
- Bypass Cloudflare's anti-bot protection using
undetected_chromedriver
- Complementary and fast Audio Recaptcha solver using the
pypasser
library.
You must install ffmpeg and ffprobe on your machine before running.
Install On Windows
Install On Linux
Install On MacOS
Install the official easyChatGPT package
pip install easychatgpt
To run this project, you will need to add the following environment variables to your .env file
OPENAI_EMAIL
OPENAI_PASSWORD
Copy the .env file and put in your openai email and password
cp .env.example .env
Simple Usage
from easychatgpt import ChatClient
import os
from dotenv import load_dotenv
load_dotenv()
OPENAI_EMAIL = os.getenv("OPENAI_EMAIL")
OPENAI_PASSWORD = os.getenv("OPENAI_PASSWORD")
chat = ChatClient(OPENAI_EMAIL,OPENAI_PASSWORD)
answer = chat.interact("Introduce your self")
print(answer)