精简提交历史记录
This commit is contained in:
6
apps/pandora/1.3.5/.env.sample
Normal file
6
apps/pandora/1.3.5/.env.sample
Normal file
@@ -0,0 +1,6 @@
|
||||
CONTAINER_NAME="pandora"
|
||||
PANEL_APP_PORT_HTTP="40040"
|
||||
DATA_PATH="./data"
|
||||
PROXY=""
|
||||
API_BASE_URL="https://ai.fakeopen.com"
|
||||
REVERSE_PROXY="https://ai.fakeopen.com"
|
||||
38
apps/pandora/1.3.5/data.yml
Normal file
38
apps/pandora/1.3.5/data.yml
Normal file
@@ -0,0 +1,38 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 40040
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ./data
|
||||
edit: true
|
||||
envKey: DATA_PATH
|
||||
labelEn: Data folder path
|
||||
labelZh: 数据文件夹路径
|
||||
required: true
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: PROXY
|
||||
labelEn: Specify the proxy in the format:protocol://user:pass@ip:port.
|
||||
labelZh: 指定代理,格式:protocol://user:pass@ip:port。
|
||||
required: false
|
||||
type: text
|
||||
- default: https://ai.fakeopen.com
|
||||
edit: true
|
||||
envKey: API_BASE_URL
|
||||
labelEn: OpenAI API interface address
|
||||
labelZh: OpenAI API接口地址
|
||||
required: true
|
||||
type: text
|
||||
- default: https://ai.fakeopen.com
|
||||
edit: true
|
||||
envKey: REVERSE_PROXY
|
||||
labelEn: ChatGPT API reverse proxy
|
||||
labelZh: ChatGPT API反向代理
|
||||
required: true
|
||||
type: text
|
||||
44
apps/pandora/1.3.5/docker-compose.yml
Normal file
44
apps/pandora/1.3.5/docker-compose.yml
Normal file
@@ -0,0 +1,44 @@
|
||||
version: '3'
|
||||
services:
|
||||
pandora:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:40040"
|
||||
volumes:
|
||||
- "${DATA_PATH}:/data"
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
environment:
|
||||
# 指定Access Token字符串。
|
||||
#- PANDORA_ACCESS_TOKEN=${ACCESS_TOKEN}
|
||||
# 指定一个存放多Access Token的文件路径。
|
||||
#- PANDORA_TOKENS_FILE=${DATA_PATH}/TOKEN.txt
|
||||
# 指定代理,格式:protocol://user:pass@ip:port。
|
||||
- PANDORA_PROXY=${PROXY}
|
||||
# 以http服务方式启动,格式:ip:port
|
||||
- PANDORA_SERVER=0.0.0.0:40040
|
||||
# 使用gpt-3.5-turboAPI请求,你可能需要向OpenAI支付费用。
|
||||
#- PANDORA_API=${API_KEY}
|
||||
# 启用sentry框架来发送错误报告供作者查错,敏感信息不会被发送。
|
||||
#- PANDORA_SENTRY
|
||||
# 显示调试信息,且出错时打印异常堆栈信息,供查错使用。
|
||||
- PANDORA_VERBOSE
|
||||
# 指定服务启动的线程数,默认为 8,Cloud模式为 4。
|
||||
- PANDORA_THREADS=4
|
||||
- PANDORA_CLOUD=CLOUD
|
||||
- OPENAI_API_PREFIX=${API_BASE_URL}
|
||||
- CHATGPT_API_PREFIX=${REVERSE_PROXY}
|
||||
#- OPENAI_EMAIL=${OPENAI_ACCOUNT}
|
||||
#- OPENAI_PASSWORD=${OPENAI_PASSWORD}
|
||||
#- OPENAI_MFA_CODE=${OPENAI_MFA}
|
||||
tty: true
|
||||
image: pengzhile/pandora:1.3.5
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
106
apps/pandora/README.md
Normal file
106
apps/pandora/README.md
Normal file
@@ -0,0 +1,106 @@
|
||||
# 使用说明
|
||||
|
||||
可以国际互联的可以访问官方链接获取`ACCESS_TOKEN`
|
||||
|
||||
[官方链接获取 AccessToken](https://chat.openai.com/api/auth/session)
|
||||
|
||||
|
||||
# 原始相关
|
||||
|
||||
# Pandora
|
||||
|
||||
潘多拉 (Pandora),一个让你呼吸顺畅的 ChatGPT。
|
||||
|
||||
潘多拉实现了网页版 ChatGPT 的主要操作。后端优化,绕过 Cloudflare,速度喜人。
|
||||
|
||||
<!-- PROJECT SHIELDS -->
|
||||
|
||||

|
||||
[](https://github.com/zhile-io/pandora/issues)
|
||||
[](https://github.com/zhile-io/pandora/commits/master)
|
||||
[](https://pypi.python.org/pypi/pandora-chatgpt)
|
||||
[](https://pypi.python.org/pypi/pandora-chatgpt)
|
||||
[](https://github.com/zhile-io/pandora/actions/workflows/python-publish.yml)
|
||||
[](https://github.com/zhile-io/pandora/actions/workflows/docker-publish.yml)
|
||||
[](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...
|
||||
### 动不动来一下,有时候还不动或者出人机验证。痛!
|
||||

|
||||
|
||||
### 2. Access denied. Sorry, you have been blocked
|
||||
### 经典问题,只能到处找可用VPN,费时费力,更费钱。移动端访问更难。痛!
|
||||

|
||||
|
||||
### 3. ChatGPT is at capacity right now
|
||||
### 系统负载高,白嫖用户不给用。痛!
|
||||

|
||||
|
||||
### 4. This content may violate our <u>content policy</u>.
|
||||
### 道德审查,多触发几次可能就封号了。痛!!!
|
||||

|
||||
|
||||
### 5. Something went wrong.
|
||||
### 吃着火锅唱着歌,突然就出故障了。痛!
|
||||

|
||||
|
||||
### 6. 手机和电脑的模型不通用,顾这个就顾不到那个,痛!
|
||||

|
||||
|
||||
### 7. 蹦字慢吞吞,卡顿不流畅,不知道的甚至想换电脑。痛!
|
||||
### 8. 想把 `ChatGPT` 接到其他系统,结果只能接个差强人意的 `gpt-3.5-turbo`。痛!
|
||||
|
||||
### _一次看完上面的噩梦,血压上来了,拳头硬了!太痛了!!!以上痛点,`Pandora` 一次全部解决。_
|
||||
|
||||
## 界面截图
|
||||
|
||||
<details>
|
||||
|
||||
<summary>
|
||||
|
||||
<br>
|
||||

|
||||
|
||||
</summary>
|
||||
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||

|
||||
|
||||
</details>
|
||||
|
||||
## 如何搭建运行
|
||||
|
||||
* 访问 [doc/wiki.md](https://github.com/zhile-io/pandora/blob/master/doc/wiki.md) 获得详细指导。
|
||||
|
||||
## 其他说明
|
||||
|
||||
* `开源项目可以魔改,但请保留原作者信息。确需去除,请联系作者,以免失去技术支持。`
|
||||
* 项目是站在其他巨人的肩膀上,感谢!
|
||||
* 报错、BUG之类的提出`Issue`,我会修复。
|
||||
* 因为之后`ChatGPT`的API变动,我可能不会跟进修复。
|
||||
* 喜欢的可以给颗星,都是老朋友了。
|
||||
* 不影响`PHP是世界上最好的编程语言!`
|
||||
|
||||
## 贡献者们
|
||||
|
||||
> 感谢所有让这个项目变得更好的贡献者们!
|
||||
|
||||
[](https://github.com/zhile-io/pandora/graphs/contributors)
|
||||
|
||||
## Star历史
|
||||
|
||||

|
||||
20
apps/pandora/data.yml
Normal file
20
apps/pandora/data.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
name: Pandora
|
||||
tags:
|
||||
- 工具
|
||||
title: 潘多拉,一个让你呼吸顺畅的 ChatGPT
|
||||
type: 工具
|
||||
description: 潘多拉,一个让你呼吸顺畅的 ChatGPT
|
||||
additionalProperties:
|
||||
key: pandora
|
||||
name: Pandora
|
||||
tags:
|
||||
- Tool
|
||||
shortDescZh: 潘多拉,一个让你呼吸顺畅的 ChatGPT
|
||||
shortDescEn: Pandora, a ChatGPT that helps you breathe smoothly
|
||||
type: tool
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
recommend: 0
|
||||
website: https://github.com/zhile-io/pandora
|
||||
github: https://github.com/zhile-io/pandora
|
||||
document: https://github.com/zhile-io/pandora/blob/master/doc/wiki.md
|
||||
6
apps/pandora/latest/.env.sample
Normal file
6
apps/pandora/latest/.env.sample
Normal file
@@ -0,0 +1,6 @@
|
||||
CONTAINER_NAME="pandora"
|
||||
PANEL_APP_PORT_HTTP="40040"
|
||||
DATA_PATH="./data"
|
||||
PROXY=""
|
||||
API_BASE_URL="https://ai.fakeopen.com"
|
||||
REVERSE_PROXY="https://ai.fakeopen.com"
|
||||
38
apps/pandora/latest/data.yml
Normal file
38
apps/pandora/latest/data.yml
Normal file
@@ -0,0 +1,38 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 40040
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ./data
|
||||
edit: true
|
||||
envKey: DATA_PATH
|
||||
labelEn: Data folder path
|
||||
labelZh: 数据文件夹路径
|
||||
required: true
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: PROXY
|
||||
labelEn: Specify the proxy in the format:protocol://user:pass@ip:port.
|
||||
labelZh: 指定代理,格式:protocol://user:pass@ip:port。
|
||||
required: false
|
||||
type: text
|
||||
- default: https://ai.fakeopen.com
|
||||
edit: true
|
||||
envKey: API_BASE_URL
|
||||
labelEn: OpenAI API interface address
|
||||
labelZh: OpenAI API接口地址
|
||||
required: true
|
||||
type: text
|
||||
- default: https://ai.fakeopen.com
|
||||
edit: true
|
||||
envKey: REVERSE_PROXY
|
||||
labelEn: ChatGPT API reverse proxy
|
||||
labelZh: ChatGPT API反向代理
|
||||
required: true
|
||||
type: text
|
||||
44
apps/pandora/latest/docker-compose.yml
Normal file
44
apps/pandora/latest/docker-compose.yml
Normal file
@@ -0,0 +1,44 @@
|
||||
version: '3'
|
||||
services:
|
||||
pandora:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:40040"
|
||||
volumes:
|
||||
- "${DATA_PATH}:/data"
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
environment:
|
||||
# 指定Access Token字符串。
|
||||
#- PANDORA_ACCESS_TOKEN=${ACCESS_TOKEN}
|
||||
# 指定一个存放多Access Token的文件路径。
|
||||
#- PANDORA_TOKENS_FILE=${DATA_PATH}/TOKEN.txt
|
||||
# 指定代理,格式:protocol://user:pass@ip:port。
|
||||
- PANDORA_PROXY=${PROXY}
|
||||
# 以http服务方式启动,格式:ip:port
|
||||
- PANDORA_SERVER=0.0.0.0:40040
|
||||
# 使用gpt-3.5-turboAPI请求,你可能需要向OpenAI支付费用。
|
||||
#- PANDORA_API=${API_KEY}
|
||||
# 启用sentry框架来发送错误报告供作者查错,敏感信息不会被发送。
|
||||
#- PANDORA_SENTRY
|
||||
# 显示调试信息,且出错时打印异常堆栈信息,供查错使用。
|
||||
- PANDORA_VERBOSE
|
||||
# 指定服务启动的线程数,默认为 8,Cloud模式为 4。
|
||||
- PANDORA_THREADS=4
|
||||
- PANDORA_CLOUD=CLOUD
|
||||
- OPENAI_API_PREFIX=${API_BASE_URL}
|
||||
- CHATGPT_API_PREFIX=${REVERSE_PROXY}
|
||||
#- OPENAI_EMAIL=${OPENAI_ACCOUNT}
|
||||
#- OPENAI_PASSWORD=${OPENAI_PASSWORD}
|
||||
#- OPENAI_MFA_CODE=${OPENAI_MFA}
|
||||
tty: true
|
||||
image: pengzhile/pandora:latest
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
BIN
apps/pandora/logo.png
Normal file
BIN
apps/pandora/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
Reference in New Issue
Block a user