Coder Social home page Coder Social logo

rar27 / easychatgpt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 3281448091/easychatgpt

0.0 0.0 0.0 197 KB

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

License: GNU General Public License v2.0

Shell 0.28% Python 99.72%

easychatgpt's Introduction

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 offical 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

easychatgpt's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.