Spaces:
Running
Running
xiao
commited on
Commit
·
3de4864
1
Parent(s):
2d27aa2
初始化
Browse files- .github/ISSUE_TEMPLATE/bug_report.md +43 -0
- .github/ISSUE_TEMPLATE/feature_request.md +20 -0
- .github/ISSUE_TEMPLATE/功能建议.md +20 -0
- .github/ISSUE_TEMPLATE/反馈问题.md +32 -0
- .github/workflows/docker.yml +52 -0
- .github/workflows/sync.yml +40 -0
- README.md +1 -8
.github/ISSUE_TEMPLATE/bug_report.md
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
name: Bug report
|
3 |
+
about: Create a report to help us improve
|
4 |
+
title: "[Bug] "
|
5 |
+
labels: ''
|
6 |
+
assignees: ''
|
7 |
+
|
8 |
+
---
|
9 |
+
|
10 |
+
**Describe the bug**
|
11 |
+
A clear and concise description of what the bug is.
|
12 |
+
|
13 |
+
**To Reproduce**
|
14 |
+
Steps to reproduce the behavior:
|
15 |
+
1. Go to '...'
|
16 |
+
2. Click on '....'
|
17 |
+
3. Scroll down to '....'
|
18 |
+
4. See error
|
19 |
+
|
20 |
+
**Expected behavior**
|
21 |
+
A clear and concise description of what you expected to happen.
|
22 |
+
|
23 |
+
**Screenshots**
|
24 |
+
If applicable, add screenshots to help explain your problem.
|
25 |
+
|
26 |
+
**Deployment**
|
27 |
+
- [ ] Docker
|
28 |
+
- [ ] Vercel
|
29 |
+
- [ ] Server
|
30 |
+
|
31 |
+
**Desktop (please complete the following information):**
|
32 |
+
- OS: [e.g. iOS]
|
33 |
+
- Browser [e.g. chrome, safari]
|
34 |
+
- Version [e.g. 22]
|
35 |
+
|
36 |
+
**Smartphone (please complete the following information):**
|
37 |
+
- Device: [e.g. iPhone6]
|
38 |
+
- OS: [e.g. iOS8.1]
|
39 |
+
- Browser [e.g. stock browser, safari]
|
40 |
+
- Version [e.g. 22]
|
41 |
+
|
42 |
+
**Additional Logs**
|
43 |
+
Add any logs about the problem here.
|
.github/ISSUE_TEMPLATE/feature_request.md
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
name: Feature request
|
3 |
+
about: Suggest an idea for this project
|
4 |
+
title: "[Feature] "
|
5 |
+
labels: ''
|
6 |
+
assignees: ''
|
7 |
+
|
8 |
+
---
|
9 |
+
|
10 |
+
**Is your feature request related to a problem? Please describe.**
|
11 |
+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
12 |
+
|
13 |
+
**Describe the solution you'd like**
|
14 |
+
A clear and concise description of what you want to happen.
|
15 |
+
|
16 |
+
**Describe alternatives you've considered**
|
17 |
+
A clear and concise description of any alternative solutions or features you've considered.
|
18 |
+
|
19 |
+
**Additional context**
|
20 |
+
Add any other context or screenshots about the feature request here.
|
.github/ISSUE_TEMPLATE/功能建议.md
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
name: 功能建议
|
3 |
+
about: 请告诉我们你的灵光一闪
|
4 |
+
title: "[Feature] "
|
5 |
+
labels: ''
|
6 |
+
assignees: ''
|
7 |
+
|
8 |
+
---
|
9 |
+
|
10 |
+
**这个功能与现有的问题有关吗?**
|
11 |
+
如果有关,请在此列出链接或者描述问题。
|
12 |
+
|
13 |
+
**你想要什么功能或者有什么建议?**
|
14 |
+
尽管告诉我们。
|
15 |
+
|
16 |
+
**有没有可以参考的同类竞品?**
|
17 |
+
可以给出参考产品的链接或者截图。
|
18 |
+
|
19 |
+
**其他信息**
|
20 |
+
可以说说你的其他考虑。
|
.github/ISSUE_TEMPLATE/反馈问题.md
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
name: 反馈问题
|
3 |
+
about: 请告诉我们你遇到的问题
|
4 |
+
title: "[Bug] "
|
5 |
+
labels: ''
|
6 |
+
assignees: ''
|
7 |
+
|
8 |
+
---
|
9 |
+
|
10 |
+
**反馈须知**
|
11 |
+
|
12 |
+
⚠️ 注意:不遵循此模板的任何帖子都会被立即关闭。
|
13 |
+
|
14 |
+
请在下方中括号内输入 x 来表示你已经知晓相关内容。
|
15 |
+
- [ ] 我确认已经在 [常见问题](https://github.com/Yidadaa/ChatGPT-Next-Web/blob/main/docs/faq-cn.md) 中搜索了此次反馈的问题,没有找到解答;
|
16 |
+
- [ ] 我确认已经在 [Issues](https://github.com/Yidadaa/ChatGPT-Next-Web/issues) 列表(包括已经 Close 的)中搜索了此次反馈的问题,没有找到解答。
|
17 |
+
- [ ] 我确认已经在 [Vercel 使用教程](https://github.com/Yidadaa/ChatGPT-Next-Web/blob/main/docs/vercel-cn.md) 中搜索了此次反馈的问题,没有找到解答。
|
18 |
+
|
19 |
+
**描述问题**
|
20 |
+
请在此描述你遇到了什么问题。
|
21 |
+
|
22 |
+
**如何复现**
|
23 |
+
请告诉我们你是通过什么操作触发的该问题。
|
24 |
+
|
25 |
+
**截图**
|
26 |
+
请在此提供控制台截图、屏幕截图或者服务端的 log 截图。
|
27 |
+
|
28 |
+
**一些必要的信息**
|
29 |
+
- 系统:[比如 windows 10/ macos 12/ linux / android 11 / ios 16]
|
30 |
+
- 浏览器: [比如 chrome, safari]
|
31 |
+
- 版本: [填写设置页面的版本号]
|
32 |
+
- 部署方式:[比如 vercel、docker 或者服务器部署]
|
.github/workflows/docker.yml
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: Publish Docker image
|
2 |
+
|
3 |
+
on:
|
4 |
+
workflow_dispatch:
|
5 |
+
release:
|
6 |
+
types: [published]
|
7 |
+
|
8 |
+
jobs:
|
9 |
+
push_to_registry:
|
10 |
+
name: Push Docker image to Docker Hub
|
11 |
+
runs-on: ubuntu-latest
|
12 |
+
steps:
|
13 |
+
-
|
14 |
+
name: Check out the repo
|
15 |
+
uses: actions/checkout@v3
|
16 |
+
-
|
17 |
+
name: Log in to Docker Hub
|
18 |
+
uses: docker/login-action@v2
|
19 |
+
with:
|
20 |
+
username: ${{ secrets.DOCKER_USERNAME }}
|
21 |
+
password: ${{ secrets.DOCKER_PASSWORD }}
|
22 |
+
|
23 |
+
-
|
24 |
+
name: Extract metadata (tags, labels) for Docker
|
25 |
+
id: meta
|
26 |
+
uses: docker/metadata-action@v4
|
27 |
+
with:
|
28 |
+
images: yidadaa/chatgpt-next-web
|
29 |
+
tags: |
|
30 |
+
type=raw,value=latest
|
31 |
+
type=ref,event=tag
|
32 |
+
|
33 |
+
-
|
34 |
+
name: Set up QEMU
|
35 |
+
uses: docker/setup-qemu-action@v2
|
36 |
+
|
37 |
+
-
|
38 |
+
name: Set up Docker Buildx
|
39 |
+
uses: docker/setup-buildx-action@v2
|
40 |
+
|
41 |
+
-
|
42 |
+
name: Build and push Docker image
|
43 |
+
uses: docker/build-push-action@v4
|
44 |
+
with:
|
45 |
+
context: .
|
46 |
+
platforms: linux/amd64,linux/arm64
|
47 |
+
push: true
|
48 |
+
tags: ${{ steps.meta.outputs.tags }}
|
49 |
+
labels: ${{ steps.meta.outputs.labels }}
|
50 |
+
cache-from: type=gha
|
51 |
+
cache-to: type=gha,mode=max
|
52 |
+
|
.github/workflows/sync.yml
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: Upstream Sync
|
2 |
+
|
3 |
+
permissions:
|
4 |
+
contents: write
|
5 |
+
|
6 |
+
on:
|
7 |
+
schedule:
|
8 |
+
- cron: "0 * * * *" # every hour
|
9 |
+
workflow_dispatch:
|
10 |
+
|
11 |
+
jobs:
|
12 |
+
sync_latest_from_upstream:
|
13 |
+
name: Sync latest commits from upstream repo
|
14 |
+
runs-on: ubuntu-latest
|
15 |
+
if: ${{ github.event.repository.fork }}
|
16 |
+
|
17 |
+
steps:
|
18 |
+
# Step 1: run a standard checkout action
|
19 |
+
- name: Checkout target repo
|
20 |
+
uses: actions/checkout@v3
|
21 |
+
|
22 |
+
# Step 2: run the sync action
|
23 |
+
- name: Sync upstream changes
|
24 |
+
id: sync
|
25 |
+
uses: aormsby/Fork-Sync-With-Upstream-action@v3.4
|
26 |
+
with:
|
27 |
+
upstream_sync_repo: Yidadaa/ChatGPT-Next-Web
|
28 |
+
upstream_sync_branch: main
|
29 |
+
target_sync_branch: main
|
30 |
+
target_repo_token: ${{ secrets.GITHUB_TOKEN }} # automatically generated, no need to set
|
31 |
+
|
32 |
+
# Set test_mode true to run tests instead of the true action!!
|
33 |
+
test_mode: false
|
34 |
+
|
35 |
+
- name: Sync check
|
36 |
+
if: failure()
|
37 |
+
run: |
|
38 |
+
echo "::error::由于权限不足,导致同步失败(这是预期的行为),请前往仓库首页手动执行[Sync fork]。"
|
39 |
+
echo "::error::Due to insufficient permissions, synchronization failed (as expected). Please go to the repository homepage and manually perform [Sync fork]."
|
40 |
+
exit 1
|
README.md
CHANGED
@@ -1,10 +1,3 @@
|
|
1 |
-
---
|
2 |
-
title: ChatGpt-Web
|
3 |
-
sdk: docker
|
4 |
-
emoji: 🚀
|
5 |
-
colorFrom: red
|
6 |
-
colorTo: yellow
|
7 |
-
---
|
8 |
<div align="center">
|
9 |
<img src="./docs/images/icon.svg" alt="icon"/>
|
10 |
|
@@ -267,4 +260,4 @@ bash <(curl -s https://raw.githubusercontent.com/Yidadaa/ChatGPT-Next-Web/main/s
|
|
267 |
|
268 |
## LICENSE
|
269 |
|
270 |
-
[Anti 996 License](https://github.com/kattgu7/Anti-996-License/blob/master/LICENSE_CN_EN)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<div align="center">
|
2 |
<img src="./docs/images/icon.svg" alt="icon"/>
|
3 |
|
|
|
260 |
|
261 |
## LICENSE
|
262 |
|
263 |
+
[Anti 996 License](https://github.com/kattgu7/Anti-996-License/blob/master/LICENSE_CN_EN)
|