Git Product home page Git Product logo

chatgpt's Introduction

ChatGPT

PyPi PyPi

Reverse Engineered ChatGPT by OpenAI. Extensible for chatbots etc.

Connect with me on Linkedin to support this project. I'm graduating high school soon and knowing some people might help my chances at finding employment.

Notice: The project has been archived due to severe limitations by Cloudflare. I have not abandoned ChatGPT. A new version is in the works which completely avoid the mess with Cloudflare. To get notified when the new version is released, you can follow me on Fosstodon or Twitter.

Usage

Installation

pip3 install --upgrade revChatGPT python3 -m playwright install

Usage

python3 -m revChatGPT

Configuration (Optional)

All of these are optional

{
  "session_token": "<token>",
  "proxy":"<proxy>",
  "accept_language": "en-US,en"
}

Developer usage

Take a look at the main.py

Basics

from revChatGPT.revChatGPT import Chatbot

# Do some config
...

chatbot = Chatbot({
   # This could be blank but the dict should be here
})

chatbot.get_chat_response(prompt, output="text") #output=stream uses async generator

Using a proxy?

连接代理后运行,等待首次浏览器自动关闭后,立即关闭代理,建议设置全局代理运行。如果顺利完成,等待浏览器第二次自动打开后。将会正确获取到参数。

Open the proxy first, run it, wait for the browser to close automatically for the first time, and immediately close the proxy. It is recommended to set a global shortcut key to press. If completed successfully, the browser will automatically open after the second time. The parameters can be obtained correctly.

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

chatgpt's People

Contributors

harry-jing avatar snowmeow2 avatar scottleibrand avatar pyro1121 avatar penut85420 avatar lss233 avatar ukenn2112 avatar superswan avatar lukaevet avatar viralrupani avatar zwa73 avatar suzhiba avatar sunneydev avatar sunlanchang avatar monadmonami avatar ewouth avatar amitmy avatar omg-xtao avatar terry3041 avatar fkcptlst avatar dwimble avatar chinosk6 avatar alberduris avatar adrgs avatar zero6992 avatar muharamdani avatar melroy89 avatar sharadregoti avatar inverse avatar eltociear avatar

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.