[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-2185":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":15,"stars90d":16,"forks30d":16,"starsTrendScore":17,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":21,"defaultBranch":22,"hasWiki":20,"hasPages":21,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":31,"readmeContent":32,"aiSummary":33,"trendingCount":16,"starSnapshotCount":16,"syncStatus":34,"lastSyncTime":35,"discoverSource":36},2185,"ChatGPT","acheong08\u002FChatGPT","acheong08","Reverse engineered ChatGPT API","",null,"Python",27921,4383,1,11,0,3,72.6,"GNU General Public License v2.0",true,false,"main",[24,25,26,27,28,29,30],"chatgpt","cli","gpt-35-turbo","gptchat","library","pypi-package","revchatgpt","2026-06-12 04:00:13","# ChatGPT \u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Facheong08\u002FChatGPT\u002Fblob\u002Fmain\u002Flogo.png?raw=true\" width=\"15%\">\u003C\u002Fimg>\n\nEnglish - [中文](.\u002FREADME_zh.md) - [Spanish](.\u002FREADME_sp.md) - [日本語](.\u002FREADME_ja.md) - [한국어](.\u002FREADME_ko.md)\n\n[![PyPi](https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fv\u002FrevChatGPT.svg)](https:\u002F\u002Fpypi.python.org\u002Fpypi\u002FrevChatGPT)\n[![Support_Platform](https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fpyversions\u002FrevChatGPT)](https:\u002F\u002Fpypi.python.org\u002Fpypi\u002FrevChatGPT)\n[![Downloads](https:\u002F\u002Fstatic.pepy.tech\u002Fbadge\u002Frevchatgpt)](https:\u002F\u002Fpypi.python.org\u002Fpypi\u002FrevChatGPT)\n\nReverse Engineered ChatGPT API by OpenAI. Extensible for chatbots etc.\n\n[![](https:\u002F\u002Fgithub.com\u002Facheong08\u002FChatGPT\u002Fblob\u002Fmain\u002Fdocs\u002Fview.gif?raw=true)](https:\u002F\u002Fpypi.python.org\u002Fpypi\u002FrevChatGPT)\n\n# Installation\n\n```\npython -m pip install --upgrade revChatGPT\n```\n\n### Suport Python Version\n\n- Minimum - Python3.9\n- Recommend - Python3.11+\n\n\u003Cdetails>\n\n  \u003Csummary>\n\n# V1 Standard ChatGPT\n\nV1 uses a cloudflare bypass proxy to make life convenient for everyone. The proxy is open source: https:\u002F\u002Fgithub.com\u002Facheong08\u002FChatGPT-Proxy-V4\n\nTo set your own deployed proxy, set the environment variable `CHATGPT_BASE_URL` to `https:\u002F\u002Fyourproxy.com\u002Fapi\u002F`\n\n\u003C\u002Fsummary>\n\n## Rate limits\n\n- Proxy server: 5 requests \u002F 10 seconds\n- OpenAI: 50 requests \u002F hour for each account\n\n## Configuration\n\n1. Create account on [OpenAI's ChatGPT](https:\u002F\u002Fchat.openai.com\u002F)\n2. Save your email and password\n\n### Authentication method: (Choose 1)\n\n#### - Email\u002FPassword\n\n> Not supported for Google\u002FMicrosoft accounts.\n\n```json\n{\n  \"email\": \"email\",\n  \"password\": \"your password\"\n}\n```\n\n#### - Access token\n\nhttps:\u002F\u002Fchat.openai.com\u002Fapi\u002Fauth\u002Fsession\n\n```json\n{\n  \"access_token\": \"\u003Caccess_token>\"\n}\n```\n\n#### - Optional configuration:\n\n```json\n{\n  \"conversation_id\": \"UUID...\",\n  \"parent_id\": \"UUID...\",\n  \"proxy\": \"...\",\n  \"model\": \"gpt-4\", \u002F\u002F gpt-4-browsing, text-davinci-002-render-sha, gpt-4, gpt-4-plugins\n  \"plugin_ids\": [\"plugin-d1d6eb04-3375-40aa-940a-c2fc57ce0f51\"], \u002F\u002F Wolfram Alpha example\n  \"disable_history\": true,\n  \"PUID\": \"\u003C_puid cookie for plus accounts>\", \u002F\u002F Only if you have a plus account and use GPT-4\n  \"unverified_plugin_domains\":[\"showme.redstarplugin.com\"] \u002F\u002F Unverfied plugins to install\n}\n```\n\n1. Save this as `$HOME\u002F.config\u002FrevChatGPT\u002Fconfig.json`\n2. If you are using Windows, you will need to create an environment variable named `HOME` and set it to your home profile for the script to be able to locate the config.json file.\n\nPlugin IDs can be found [here](.\u002Fplugins.json). Remember to set model to `gpt-4-plugins` if plugins are enabled. Plugins may or may not work if you haven't installed them from the web interface. You can call `chatbot.install_plugin(plugin_id=plugin_id)` to install any one of them from code. Call `chatbot.get_plugins()` to get a list of all plugins available.\n\n## Usage\n\n### Command line\n\n`python3 -m revChatGPT.V1`\n\n```\n        ChatGPT - A command-line interface to OpenAI's ChatGPT (https:\u002F\u002Fchat.openai.com\u002Fchat)\n        Repo: github.com\u002Facheong08\u002FChatGPT\nType '!help' to show a full list of commands\nLogging in...\nYou:\n(Press Esc followed by Enter to finish)\n```\n\nThe command line interface supports multi-line inputs and allows navigation using arrow keys. Besides, you can also edit history inputs by arrow keys when the prompt is empty. It also completes your input if it finds matched previous prompts. To finish input, press `Esc` and then `Enter` as solely `Enter` itself is used for creating new line in multi-line mode.\n\nSet the environment variable `NO_COLOR` to `true` to disable color output.\n\n### Developer API\n\n#### Basic example (streamed):\n\n```python\nfrom revChatGPT.V1 import Chatbot\nchatbot = Chatbot(config={\n  \"access_token\": \"\u003Cyour access_token>\"\n})\nprint(\"Chatbot: \")\nprev_text = \"\"\nfor data in chatbot.ask(\n    \"Hello world\",\n):\n    message = data[\"message\"][len(prev_text) :]\n    print(message, end=\"\", flush=True)\n    prev_text = data[\"message\"]\nprint()\n```\n\n#### Basic example (single result):\n\n```python\nfrom revChatGPT.V1 import Chatbot\nchatbot = Chatbot(config={\n  \"access_token\": \"\u003Cyour access_token>\"\n})\nprompt = \"how many beaches does portugal have?\"\nresponse = \"\"\nfor data in chatbot.ask(\n  prompt\n):\n    response = data[\"message\"]\nprint(response)\n```\n\n#### All API methods\n\nRefer to the [wiki](https:\u002F\u002Fgithub.com\u002Facheong08\u002FChatGPT\u002Fwiki\u002F) for advanced developer usage.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\n\u003Csummary>\n\n# V3 Official Chat API\n\n> Recently released by OpenAI\n>\n> - Paid\n\n\u003C\u002Fsummary>\n\nGet API key from https:\u002F\u002Fplatform.openai.com\u002Faccount\u002Fapi-keys\n\n## Command line\n\n`python3 -m revChatGPT.V3 --api_key \u003Capi_key>`\n\n```\n  $ python3 -m revChatGPT.V3\n\n    ChatGPT - Official ChatGPT API\n    Repo: github.com\u002Facheong08\u002FChatGPT\n    Version: 6.2\n\nType '!help' to show a full list of commands\nPress Esc followed by Enter or Alt+Enter to send a message.\n\nusage: V3.py [-h] --api_key API_KEY [--temperature TEMPERATURE] [--no_stream]\n             [--base_prompt BASE_PROMPT] [--proxy PROXY] [--top_p TOP_P]\n             [--reply_count REPLY_COUNT] [--enable_internet] [--config CONFIG]\n             [--submit_key SUBMIT_KEY]\n             [--model {gpt-3.5-turbo,gpt-3.5-turbo-16k,gpt-3.5-turbo-0301,gpt-3.5-turbo-0613,gpt-4,gpt-4-0314,gpt-4-32k,gpt-4-32k-0314,gpt-4-0613}]\n             [--truncate_limit TRUNCATE_LIMIT]\n```\n\n## Developer API\n\n### Basic example\n\n```python\nfrom revChatGPT.V3 import Chatbot\nchatbot = Chatbot(api_key=\"\u003Capi_key>\")\nchatbot.ask(\"Hello world\")\n```\n\n### Streaming example\n\n```python\nfrom revChatGPT.V3 import Chatbot\nchatbot = Chatbot(api_key=\"\u003Capi_key>\")\nfor data in chatbot.ask_stream(\"Hello world\"):\n    print(data, end=\"\", flush=True)\n```\n\n\u003C\u002Fdetails>\n\n# Awesome ChatGPT\n\n[My list](https:\u002F\u002Fgithub.com\u002Fstars\u002Facheong08\u002Flists\u002Fawesome-chatgpt)\n\nIf you have a cool project you want added to the list, open an issue.\n\n# Disclaimers\n\nThis is not an official OpenAI product. This is a personal project and is not affiliated with OpenAI in any way. Don't sue me.\n\n## Contributors\n\nThis project exists thanks to all the people who contribute.\n\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Facheong08\u002FChatGPT\u002Fgraphs\u002Fcontributors\">\n\u003Cimg src=\"https:\u002F\u002Fcontrib.rocks\u002Fimage?repo=acheong08\u002FChatGPT\" \u002F>\n\u003C\u002Fa>\n\n## Additional credits\n\n- Coding while listening to [this amazing song](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=VaMR_xDhsGg) by [virtualharby](https:\u002F\u002Fwww.youtube.com\u002F@virtualharby)\n","该项目是一个逆向工程的ChatGPT API，允许开发者通过Python调用OpenAI的ChatGPT服务。其核心功能包括支持多种认证方式（如邮箱\u002F密码、访问令牌）和配置选项（如对话ID、模型选择等），并且提供了命令行界面以方便用户直接与ChatGPT交互。技术上，它兼容Python 3.9及以上版本，并且可以通过设置环境变量来自定义代理服务器。此外，还支持插件安装及使用，增强了API的功能性和灵活性。适用于需要集成聊天机器人功能的应用场景，如客户服务自动化、个人助手开发等领域。",2,"2026-06-11 02:48:42","top_language"]