Skip to main content

An unofficial yet elegant interface of the ChatGPT API using browser automation that bypasses cloudflare detection and recaptchas.

Project description

EasyChatGPT

License: GPL v3Maintenancemade-with-python

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 pypasser library.

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)

More examples to look at

Acknowledgement

ChatGPT_Selenium
PyPasser

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

easychatgpt-0.0.8.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

easychatgpt-0.0.8-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

Details for the file easychatgpt-0.0.8.tar.gz.

File metadata

  • Download URL: easychatgpt-0.0.8.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for easychatgpt-0.0.8.tar.gz
Algorithm Hash digest
SHA256 919dde8371b260da215502c6147ab6d2daa39871779380e984f037386a9c446e
MD5 ee162a52fca96c89a2745b25b857ce7c
BLAKE2b-256 ea309de4e14e5e92b22f9e5a8503f8ea8afc992485055deba56e5b5ea00c6521

See more details on using hashes here.

File details

Details for the file easychatgpt-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: easychatgpt-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for easychatgpt-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b2547141f81a26c38a4307a54a83edc75ac68d5cf766d64adbc42df24d72ba37
MD5 e90b73be21695694a477e85e5b2d0e21
BLAKE2b-256 c77531f8e200f5cebe2ee78725a7e7663abc23735a83d1f019a1bb568c1daf8a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page