EasyChatGPT
An unofficial yet elegant interface of the ChatGPT API using browser automation that bypasses cloudflare detection and recaptchas.
Features
- Bypass Cloudflare's anti-bot protection using
undetected_chromedriver - Complementary and fast Audio Recaptcha solver using the
pypasserlibrary.
Installation
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
Environment Variables
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
Usage / Demo
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)
Acknowledgement
Metadata
Release files for easychatgpt 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| easychatgpt-0.0.8.tar.gz | 12.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| easychatgpt-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.0 kB
Release files / easychatgpt-0.0.8.tar.gz
| Download URL | easychatgpt-0.0.8.tar.gz |
|---|---|
| Size | 12.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
919dde8371b260da215502c6147ab6d2daa39871779380e984f037386a9c446e
|
|
BLAKE2b-256 checksum How to use checksums |
ea309de4e14e5e92b22f9e5a8503f8ea8afc992485055deba56e5b5ea00c6521
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / easychatgpt-0.0.8-py3-none-any.whl
| Download URL | easychatgpt-0.0.8-py3-none-any.whl |
|---|---|
| Size | 12.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b2547141f81a26c38a4307a54a83edc75ac68d5cf766d64adbc42df24d72ba37
|
|
BLAKE2b-256 checksum How to use checksums |
c77531f8e200f5cebe2ee78725a7e7663abc23735a83d1f019a1bb568c1daf8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|