# Pandora
潘多拉 (Pandora),一个让你呼吸顺畅的 ChatGPT。
潘多拉实现了网页版 ChatGPT 的主要操作。后端优化,绕过 Cloudflare,速度喜人。
<!-- PROJECT SHIELDS -->
![Python version](https://img.shields.io/badge/python-%3E%3D3.7-green)
[![Issues](https://img.shields.io/github/issues-raw/zhile-io/pandora)](https://github.com/zhile-io/pandora/issues)
[![Commits](https://img.shields.io/github/last-commit/zhile-io/pandora/master)](https://github.com/zhile-io/pandora/commits/master)
[![PyPi](https://img.shields.io/pypi/v/pandora-chatgpt.svg)](https://pypi.python.org/pypi/pandora-chatgpt)
[![Downloads](https://static.pepy.tech/badge/pandora-chatgpt)](https://pypi.python.org/pypi/pandora-chatgpt)
[![PyPi workflow](https://github.com/zhile-io/pandora/actions/workflows/python-publish.yml/badge.svg)](https://github.com/zhile-io/pandora/actions/workflows/python-publish.yml)
[![Docker workflow](https://github.com/zhile-io/pandora/actions/workflows/docker-publish.yml/badge.svg)](https://github.com/zhile-io/pandora/actions/workflows/docker-publish.yml)
[![Discord](https://img.shields.io/discord/1098772912242163795?label=Discord)](https://discord.gg/QBkd9JAaWa)
## 体验地址
* 点击 <a href="https://chat.zhile.io" target="_blank" title="Pandora Cloud体验地址">https://chat.zhile.io</a>
* 最新拿 `Access Token` 的技术原理,我记录在[这里](https://zhile.io/2023/05/19/how-to-get-chatgpt-access-token-via-pkce.html)了。
* 可以访问 [这里](http://ai-20230626.fakeopen.com/auth) 拿 `Access Token`
* 也可以官方登录,然后访问 [这里](http://chat.openai.com/api/auth/session) 拿 `Access Token`
* `Access Token` 有效期 `14` 天,期间访问**不需要梯子**。这意味着你在手机上也可随意使用。
* 这个页面上还包含一个共享账号的链接,**没有账号**的可以点进去体验一下。
## ChatGPT使用时可能会遇到:
### 1. Please stand by, while we are checking your browser...
### 动不动来一下,有时候还不动或者出人机验证。痛!
![t0](https://github.com/zhile-io/pandora/raw/master/doc/images/t0.png)
### 2. Access denied. Sorry, you have been blocked
### 经典问题,只能到处找可用VPN,费时费力,更费钱。移动端访问更难。痛!
![t1.1](https://github.com/zhile-io/pandora/raw/master/doc/images/t1.1.png)
### 3. ChatGPT is at capacity right now
### 系统负载高,白嫖用户不给用。痛!
![t2](https://github.com/zhile-io/pandora/raw/master/doc/images/t2.png)
### 4. This content may violate our <u>content policy</u>.
### 道德审查,多触发几次可能就封号了。痛!!!
![t3](https://github.com/zhile-io/pandora/raw/master/doc/images/t3.png)
### 5. Something went wrong.
### 吃着火锅唱着歌,突然就出故障了。痛!
![t4](https://github.com/zhile-io/pandora/raw/master/doc/images/t4.png)
### 6. 手机和电脑的模型不通用,顾这个就顾不到那个,痛!
![t7](https://github.com/zhile-io/pandora/raw/master/doc/images/t7.png)
### 7. 蹦字慢吞吞,卡顿不流畅,不知道的甚至想换电脑。痛!
### 8. 想把 `ChatGPT` 接到其他系统,结果只能接个差强人意的 `gpt-3.5-turbo`。痛!
### _一次看完上面的噩梦,血压上来了,拳头硬了!太痛了!!!以上痛点,`Pandora` 一次全部解决。_
## 界面截图
<details>
<summary>
![alt Screenshot5](https://github.com/zhile-io/pandora/raw/master/doc/images/s05.png)<br>
![alt Screenshot10](https://github.com/zhile-io/pandora/raw/master/doc/images/s12.jpeg)
</summary>
![alt Screenshot1](https://github.com/zhile-io/pandora/raw/master/doc/images/s01.png)<br>
![alt Screenshot2](https://github.com/zhile-io/pandora/raw/master/doc/images/s02.png)<br>
![alt Screenshot3](https://github.com/zhile-io/pandora/raw/master/doc/images/s03.png)<br>
![alt Screenshot4](https://github.com/zhile-io/pandora/raw/master/doc/images/s04.png)<br>
![alt Screenshot6](https://github.com/zhile-io/pandora/raw/master/doc/images/s06.png)<br>
![alt Screenshot11](https://github.com/zhile-io/pandora/raw/master/doc/images/s11.jpeg)
</details>
## 如何搭建运行
* 访问 [doc/wiki.md](https://github.com/zhile-io/pandora/blob/master/doc/wiki.md) 获得详细指导。
## 其他说明
* `开源项目可以魔改,但请保留原作者信息。确需去除,请联系作者,以免失去技术支持。`
* 项目是站在其他巨人的肩膀上,感谢!
* 报错、BUG之类的提出`Issue`,我会修复。
* 因为之后`ChatGPT`的API变动,我可能不会跟进修复。
* 喜欢的可以给颗星,都是老朋友了。
* 不影响`PHP是世界上最好的编程语言!`
## 贡献者们
> 感谢所有让这个项目变得更好的贡献者们!
[![Star History Chart](https://contrib.rocks/image?repo=zhile-io/pandora)](https://github.com/zhile-io/pandora/graphs/contributors)
## Star历史
![Star History Chart](https://api.star-history.com/svg?repos=zhile-io/pandora&type=Date)
Raw data
{
"_id": null,
"home_page": "https://github.com/zhile-io/pandora",
"name": "Pandora-ChatGPT",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "OpenAI ChatGPT ChatGPT-Plus gpt-3.5-turbo gpt-3.5-turbo-0301",
"author": "Neo Peng",
"author_email": "admin@zhile.io",
"download_url": "https://files.pythonhosted.org/packages/be/09/8620a23bba41bd6da3879c2073030840c4057711eba07edae1de64617510/Pandora-ChatGPT-1.3.3.tar.gz",
"platform": null,
"description": "# Pandora\n\n\u6f58\u591a\u62c9 (Pandora)\uff0c\u4e00\u4e2a\u8ba9\u4f60\u547c\u5438\u987a\u7545\u7684 ChatGPT\u3002\n\n\u6f58\u591a\u62c9\u5b9e\u73b0\u4e86\u7f51\u9875\u7248 ChatGPT \u7684\u4e3b\u8981\u64cd\u4f5c\u3002\u540e\u7aef\u4f18\u5316\uff0c\u7ed5\u8fc7 Cloudflare\uff0c\u901f\u5ea6\u559c\u4eba\u3002\n\n<!-- PROJECT SHIELDS -->\n\n![Python version](https://img.shields.io/badge/python-%3E%3D3.7-green)\n[![Issues](https://img.shields.io/github/issues-raw/zhile-io/pandora)](https://github.com/zhile-io/pandora/issues)\n[![Commits](https://img.shields.io/github/last-commit/zhile-io/pandora/master)](https://github.com/zhile-io/pandora/commits/master)\n[![PyPi](https://img.shields.io/pypi/v/pandora-chatgpt.svg)](https://pypi.python.org/pypi/pandora-chatgpt)\n[![Downloads](https://static.pepy.tech/badge/pandora-chatgpt)](https://pypi.python.org/pypi/pandora-chatgpt)\n[![PyPi workflow](https://github.com/zhile-io/pandora/actions/workflows/python-publish.yml/badge.svg)](https://github.com/zhile-io/pandora/actions/workflows/python-publish.yml)\n[![Docker workflow](https://github.com/zhile-io/pandora/actions/workflows/docker-publish.yml/badge.svg)](https://github.com/zhile-io/pandora/actions/workflows/docker-publish.yml)\n[![Discord](https://img.shields.io/discord/1098772912242163795?label=Discord)](https://discord.gg/QBkd9JAaWa)\n\n## \u4f53\u9a8c\u5730\u5740\n* \u70b9\u51fb <a href=\"https://chat.zhile.io\" target=\"_blank\" title=\"Pandora Cloud\u4f53\u9a8c\u5730\u5740\">https://chat.zhile.io</a>\n* \u6700\u65b0\u62ff `Access Token` \u7684\u6280\u672f\u539f\u7406\uff0c\u6211\u8bb0\u5f55\u5728[\u8fd9\u91cc](https://zhile.io/2023/05/19/how-to-get-chatgpt-access-token-via-pkce.html)\u4e86\u3002\n* \u53ef\u4ee5\u8bbf\u95ee [\u8fd9\u91cc](http://ai-20230626.fakeopen.com/auth) \u62ff `Access Token`\n* \u4e5f\u53ef\u4ee5\u5b98\u65b9\u767b\u5f55\uff0c\u7136\u540e\u8bbf\u95ee [\u8fd9\u91cc](http://chat.openai.com/api/auth/session) \u62ff `Access Token`\n* `Access Token` \u6709\u6548\u671f `14` \u5929\uff0c\u671f\u95f4\u8bbf\u95ee**\u4e0d\u9700\u8981\u68af\u5b50**\u3002\u8fd9\u610f\u5473\u7740\u4f60\u5728\u624b\u673a\u4e0a\u4e5f\u53ef\u968f\u610f\u4f7f\u7528\u3002\n* \u8fd9\u4e2a\u9875\u9762\u4e0a\u8fd8\u5305\u542b\u4e00\u4e2a\u5171\u4eab\u8d26\u53f7\u7684\u94fe\u63a5\uff0c**\u6ca1\u6709\u8d26\u53f7**\u7684\u53ef\u4ee5\u70b9\u8fdb\u53bb\u4f53\u9a8c\u4e00\u4e0b\u3002\n \n## ChatGPT\u4f7f\u7528\u65f6\u53ef\u80fd\u4f1a\u9047\u5230\uff1a\n\n### 1. Please stand by, while we are checking your browser... \n### \u52a8\u4e0d\u52a8\u6765\u4e00\u4e0b\uff0c\u6709\u65f6\u5019\u8fd8\u4e0d\u52a8\u6216\u8005\u51fa\u4eba\u673a\u9a8c\u8bc1\u3002\u75db\uff01\n![t0](https://github.com/zhile-io/pandora/raw/master/doc/images/t0.png)\n\n### 2. Access denied. Sorry, you have been blocked\n### \u7ecf\u5178\u95ee\u9898\uff0c\u53ea\u80fd\u5230\u5904\u627e\u53ef\u7528VPN\uff0c\u8d39\u65f6\u8d39\u529b\uff0c\u66f4\u8d39\u94b1\u3002\u79fb\u52a8\u7aef\u8bbf\u95ee\u66f4\u96be\u3002\u75db\uff01\n![t1.1](https://github.com/zhile-io/pandora/raw/master/doc/images/t1.1.png)\n\n### 3. ChatGPT is at capacity right now \n### \u7cfb\u7edf\u8d1f\u8f7d\u9ad8\uff0c\u767d\u5ad6\u7528\u6237\u4e0d\u7ed9\u7528\u3002\u75db\uff01\n![t2](https://github.com/zhile-io/pandora/raw/master/doc/images/t2.png)\n\n### 4. This content may violate our <u>content policy</u>. \n### \u9053\u5fb7\u5ba1\u67e5\uff0c\u591a\u89e6\u53d1\u51e0\u6b21\u53ef\u80fd\u5c31\u5c01\u53f7\u4e86\u3002\u75db\uff01\uff01\uff01\n![t3](https://github.com/zhile-io/pandora/raw/master/doc/images/t3.png)\n\n### 5. Something went wrong. \n### \u5403\u7740\u706b\u9505\u5531\u7740\u6b4c\uff0c\u7a81\u7136\u5c31\u51fa\u6545\u969c\u4e86\u3002\u75db\uff01\n![t4](https://github.com/zhile-io/pandora/raw/master/doc/images/t4.png)\n\n### 6. \u624b\u673a\u548c\u7535\u8111\u7684\u6a21\u578b\u4e0d\u901a\u7528\uff0c\u987e\u8fd9\u4e2a\u5c31\u987e\u4e0d\u5230\u90a3\u4e2a\uff0c\u75db\uff01\n![t7](https://github.com/zhile-io/pandora/raw/master/doc/images/t7.png)\n\n### 7. \u8e66\u5b57\u6162\u541e\u541e\uff0c\u5361\u987f\u4e0d\u6d41\u7545\uff0c\u4e0d\u77e5\u9053\u7684\u751a\u81f3\u60f3\u6362\u7535\u8111\u3002\u75db\uff01\n### 8. \u60f3\u628a `ChatGPT` \u63a5\u5230\u5176\u4ed6\u7cfb\u7edf\uff0c\u7ed3\u679c\u53ea\u80fd\u63a5\u4e2a\u5dee\u5f3a\u4eba\u610f\u7684 `gpt-3.5-turbo`\u3002\u75db\uff01\n\n### _\u4e00\u6b21\u770b\u5b8c\u4e0a\u9762\u7684\u5669\u68a6\uff0c\u8840\u538b\u4e0a\u6765\u4e86\uff0c\u62f3\u5934\u786c\u4e86\uff01\u592a\u75db\u4e86\uff01\uff01\uff01\u4ee5\u4e0a\u75db\u70b9\uff0c`Pandora` \u4e00\u6b21\u5168\u90e8\u89e3\u51b3\u3002_\n\n## \u754c\u9762\u622a\u56fe\n\n <details>\n\n <summary>\n\n ![alt Screenshot5](https://github.com/zhile-io/pandora/raw/master/doc/images/s05.png)<br>\n ![alt Screenshot10](https://github.com/zhile-io/pandora/raw/master/doc/images/s12.jpeg)\n\n </summary>\n\n ![alt Screenshot1](https://github.com/zhile-io/pandora/raw/master/doc/images/s01.png)<br>\n ![alt Screenshot2](https://github.com/zhile-io/pandora/raw/master/doc/images/s02.png)<br>\n ![alt Screenshot3](https://github.com/zhile-io/pandora/raw/master/doc/images/s03.png)<br>\n ![alt Screenshot4](https://github.com/zhile-io/pandora/raw/master/doc/images/s04.png)<br>\n ![alt Screenshot6](https://github.com/zhile-io/pandora/raw/master/doc/images/s06.png)<br>\n ![alt Screenshot11](https://github.com/zhile-io/pandora/raw/master/doc/images/s11.jpeg)\n\n </details>\n\n## \u5982\u4f55\u642d\u5efa\u8fd0\u884c\n\n* \u8bbf\u95ee [doc/wiki.md](https://github.com/zhile-io/pandora/blob/master/doc/wiki.md) \u83b7\u5f97\u8be6\u7ec6\u6307\u5bfc\u3002\n\n## \u5176\u4ed6\u8bf4\u660e\n\n* `\u5f00\u6e90\u9879\u76ee\u53ef\u4ee5\u9b54\u6539\uff0c\u4f46\u8bf7\u4fdd\u7559\u539f\u4f5c\u8005\u4fe1\u606f\u3002\u786e\u9700\u53bb\u9664\uff0c\u8bf7\u8054\u7cfb\u4f5c\u8005\uff0c\u4ee5\u514d\u5931\u53bb\u6280\u672f\u652f\u6301\u3002`\n* \u9879\u76ee\u662f\u7ad9\u5728\u5176\u4ed6\u5de8\u4eba\u7684\u80a9\u8180\u4e0a\uff0c\u611f\u8c22\uff01\n* \u62a5\u9519\u3001BUG\u4e4b\u7c7b\u7684\u63d0\u51fa`Issue`\uff0c\u6211\u4f1a\u4fee\u590d\u3002\n* \u56e0\u4e3a\u4e4b\u540e`ChatGPT`\u7684API\u53d8\u52a8\uff0c\u6211\u53ef\u80fd\u4e0d\u4f1a\u8ddf\u8fdb\u4fee\u590d\u3002\n* \u559c\u6b22\u7684\u53ef\u4ee5\u7ed9\u9897\u661f\uff0c\u90fd\u662f\u8001\u670b\u53cb\u4e86\u3002\n* \u4e0d\u5f71\u54cd`PHP\u662f\u4e16\u754c\u4e0a\u6700\u597d\u7684\u7f16\u7a0b\u8bed\u8a00\uff01`\n\n## \u8d21\u732e\u8005\u4eec\n\n> \u611f\u8c22\u6240\u6709\u8ba9\u8fd9\u4e2a\u9879\u76ee\u53d8\u5f97\u66f4\u597d\u7684\u8d21\u732e\u8005\u4eec\uff01\n\n[![Star History Chart](https://contrib.rocks/image?repo=zhile-io/pandora)](https://github.com/zhile-io/pandora/graphs/contributors)\n\n## Star\u5386\u53f2\n\n![Star History Chart](https://api.star-history.com/svg?repos=zhile-io/pandora&type=Date)\n",
"bugtrack_url": null,
"license": "",
"summary": "A command-line interface to ChatGPT",
"version": "1.3.3",
"project_urls": {
"Homepage": "https://github.com/zhile-io/pandora",
"Source": "https://github.com/zhile-io/pandora",
"Tracker": "https://github.com/zhile-io/pandora/issues"
},
"split_keywords": [
"openai",
"chatgpt",
"chatgpt-plus",
"gpt-3.5-turbo",
"gpt-3.5-turbo-0301"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5952cd6c410e163fc54e8d304b7dd97a7abf2d1ce68f18ff72bb93e83a6e4c63",
"md5": "226e52147e93432aa77e351957ae9e96",
"sha256": "5197e6cc29f36007b2118c55f482b643ff9947ffdb8d667f711cfda3f0a51926"
},
"downloads": -1,
"filename": "Pandora_ChatGPT-1.3.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "226e52147e93432aa77e351957ae9e96",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 1353715,
"upload_time": "2023-10-13T11:15:03",
"upload_time_iso_8601": "2023-10-13T11:15:03.704010Z",
"url": "https://files.pythonhosted.org/packages/59/52/cd6c410e163fc54e8d304b7dd97a7abf2d1ce68f18ff72bb93e83a6e4c63/Pandora_ChatGPT-1.3.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "be098620a23bba41bd6da3879c2073030840c4057711eba07edae1de64617510",
"md5": "c890997c788601d55dd40337579f0429",
"sha256": "a40b959a00c9c3d84691b8570c5e763f0388e404276d1b6578f22d1551198c95"
},
"downloads": -1,
"filename": "Pandora-ChatGPT-1.3.3.tar.gz",
"has_sig": false,
"md5_digest": "c890997c788601d55dd40337579f0429",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 1294656,
"upload_time": "2023-10-13T11:15:07",
"upload_time_iso_8601": "2023-10-13T11:15:07.380053Z",
"url": "https://files.pythonhosted.org/packages/be/09/8620a23bba41bd6da3879c2073030840c4057711eba07edae1de64617510/Pandora-ChatGPT-1.3.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-13 11:15:07",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "zhile-io",
"github_project": "pandora",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "pandora-chatgpt"
}