Skip to content

Commit e8f22d1

Browse files
committed
Initial commit
Created from https://vercel.com/new
0 parents  commit e8f22d1

File tree

385 files changed

+65729
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

385 files changed

+65729
-0
lines changed

.babelrc

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"presets": [
3+
[
4+
"next/babel",
5+
{
6+
"preset-env": {
7+
"targets": {
8+
"browsers": ["> 0.25%, not dead"]
9+
}
10+
}
11+
}
12+
]
13+
]
14+
}

.dockerignore

+97
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
8+
# Runtime data
9+
pids
10+
*.pid
11+
*.seed
12+
*.pid.lock
13+
14+
# Directory for instrumented libs generated by jscoverage/JSCover
15+
lib-cov
16+
17+
# Coverage directory used by tools like istanbul
18+
coverage
19+
*.lcov
20+
21+
# nyc test coverage
22+
.nyc_output
23+
24+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
25+
.grunt
26+
27+
# Node.js dependencies
28+
/node_modules
29+
/jspm_packages
30+
31+
# TypeScript v1 declaration files
32+
typings
33+
34+
# Optional npm cache directory
35+
.npm
36+
37+
# Optional eslint cache
38+
.eslintcache
39+
40+
# Optional REPL history
41+
.node_repl_history
42+
43+
# Output of 'npm pack'
44+
*.tgz
45+
46+
# Yarn Integrity file
47+
.yarn-integrity
48+
49+
# dotenv environment variable files
50+
.env
51+
.env.test
52+
53+
# local env files
54+
.env*.local
55+
56+
# Next.js build output
57+
.next
58+
out
59+
60+
# Nuxt.js build output
61+
.nuxt
62+
dist
63+
64+
# Gatsby files
65+
.cache/
66+
67+
68+
# Vuepress build output
69+
.vuepress/dist
70+
71+
# Serverless directories
72+
.serverless/
73+
74+
# FuseBox cache
75+
.fusebox/
76+
77+
# DynamoDB Local files
78+
.dynamodb/
79+
80+
# Temporary folders
81+
tmp
82+
temp
83+
84+
# IDE and editor directories
85+
.idea
86+
.vscode
87+
*.swp
88+
*.swo
89+
*~
90+
91+
# OS generated files
92+
.DS_Store
93+
Thumbs.db
94+
95+
# secret key
96+
*.key
97+
*.key.pub

.env.template

+83
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
# Your openai api key. (required)
2+
OPENAI_API_KEY=sk-xxxx
3+
4+
# DeepSeek Api Key. (Optional)
5+
DEEPSEEK_API_KEY=
6+
7+
# Access password, separated by comma. (optional)
8+
CODE=your-password
9+
10+
# You can start service behind a proxy. (optional)
11+
PROXY_URL=http://localhost:7890
12+
13+
# Enable MCP functionality (optional)
14+
# Default: Empty (disabled)
15+
# Set to "true" to enable MCP functionality
16+
ENABLE_MCP=
17+
18+
# (optional)
19+
# Default: Empty
20+
# Google Gemini Pro API key, set if you want to use Google Gemini Pro API.
21+
GOOGLE_API_KEY=
22+
23+
# (optional)
24+
# Default: https://generativelanguage.googleapis.com/
25+
# Google Gemini Pro API url without pathname, set if you want to customize Google Gemini Pro API url.
26+
GOOGLE_URL=
27+
28+
# Override openai api request base url. (optional)
29+
# Default: https://api.openai.com
30+
# Examples: http://your-openai-proxy.com
31+
BASE_URL=
32+
33+
# Specify OpenAI organization ID.(optional)
34+
# Default: Empty
35+
OPENAI_ORG_ID=
36+
37+
# (optional)
38+
# Default: Empty
39+
# If you do not want users to use GPT-4, set this value to 1.
40+
DISABLE_GPT4=
41+
42+
# (optional)
43+
# Default: Empty
44+
# If you do not want users to input their own API key, set this value to 1.
45+
HIDE_USER_API_KEY=
46+
47+
# (optional)
48+
# Default: Empty
49+
# If you do want users to query balance, set this value to 1.
50+
ENABLE_BALANCE_QUERY=
51+
52+
# (optional)
53+
# Default: Empty
54+
# If you want to disable parse settings from url, set this value to 1.
55+
DISABLE_FAST_LINK=
56+
57+
# (optional)
58+
# Default: Empty
59+
# To control custom models, use + to add a custom model, use - to hide a model, use name=displayName to customize model name, separated by comma.
60+
CUSTOM_MODELS=
61+
62+
# (optional)
63+
# Default: Empty
64+
# Change default model
65+
DEFAULT_MODEL=
66+
67+
# anthropic claude Api Key.(optional)
68+
ANTHROPIC_API_KEY=
69+
70+
### anthropic claude Api version. (optional)
71+
ANTHROPIC_API_VERSION=
72+
73+
### anthropic claude Api url (optional)
74+
ANTHROPIC_URL=
75+
76+
### (optional)
77+
WHITE_WEBDAV_ENDPOINTS=
78+
79+
### siliconflow Api key (optional)
80+
SILICONFLOW_API_KEY=
81+
82+
### siliconflow Api url (optional)
83+
SILICONFLOW_URL=

.eslintignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
public/serviceWorker.js
2+
app/mcp/mcp_config.json
3+
app/mcp/mcp_config.default.json

.eslintrc.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extends": "next/core-web-vitals",
3+
"plugins": ["prettier", "unused-imports"],
4+
"rules": {
5+
"unused-imports/no-unused-imports": "warn"
6+
}
7+
}
+80
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
name: '🐛 Bug Report'
2+
description: 'Report an bug'
3+
title: '[Bug] '
4+
labels: ['bug']
5+
body:
6+
- type: dropdown
7+
attributes:
8+
label: '📦 Deployment Method'
9+
multiple: true
10+
options:
11+
- 'Official installation package'
12+
- 'Vercel'
13+
- 'Zeabur'
14+
- 'Sealos'
15+
- 'Netlify'
16+
- 'Docker'
17+
- 'Other'
18+
validations:
19+
required: true
20+
- type: input
21+
attributes:
22+
label: '📌 Version'
23+
validations:
24+
required: true
25+
26+
- type: dropdown
27+
attributes:
28+
label: '💻 Operating System'
29+
multiple: true
30+
options:
31+
- 'Windows'
32+
- 'macOS'
33+
- 'Ubuntu'
34+
- 'Other Linux'
35+
- 'iOS'
36+
- 'iPad OS'
37+
- 'Android'
38+
- 'Other'
39+
validations:
40+
required: true
41+
- type: input
42+
attributes:
43+
label: '📌 System Version'
44+
validations:
45+
required: true
46+
- type: dropdown
47+
attributes:
48+
label: '🌐 Browser'
49+
multiple: true
50+
options:
51+
- 'Chrome'
52+
- 'Edge'
53+
- 'Safari'
54+
- 'Firefox'
55+
- 'Other'
56+
validations:
57+
required: true
58+
- type: input
59+
attributes:
60+
label: '📌 Browser Version'
61+
validations:
62+
required: true
63+
- type: textarea
64+
attributes:
65+
label: '🐛 Bug Description'
66+
description: A clear and concise description of the bug, if the above option is `Other`, please also explain in detail.
67+
validations:
68+
required: true
69+
- type: textarea
70+
attributes:
71+
label: '📷 Recurrence Steps'
72+
description: A clear and concise description of how to recurrence.
73+
- type: textarea
74+
attributes:
75+
label: '🚦 Expected Behavior'
76+
description: A clear and concise description of what you expected to happen.
77+
- type: textarea
78+
attributes:
79+
label: '📝 Additional Information'
80+
description: If your problem needs further explanation, or if the issue you're seeing cannot be reproduced in a gist, please add more information here.
+80
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
name: '🐛 反馈缺陷'
2+
description: '反馈一个问题/缺陷'
3+
title: '[Bug] '
4+
labels: ['bug']
5+
body:
6+
- type: dropdown
7+
attributes:
8+
label: '📦 部署方式'
9+
multiple: true
10+
options:
11+
- '官方安装包'
12+
- 'Vercel'
13+
- 'Zeabur'
14+
- 'Sealos'
15+
- 'Netlify'
16+
- 'Docker'
17+
- 'Other'
18+
validations:
19+
required: true
20+
- type: input
21+
attributes:
22+
label: '📌 软件版本'
23+
validations:
24+
required: true
25+
26+
- type: dropdown
27+
attributes:
28+
label: '💻 系统环境'
29+
multiple: true
30+
options:
31+
- 'Windows'
32+
- 'macOS'
33+
- 'Ubuntu'
34+
- 'Other Linux'
35+
- 'iOS'
36+
- 'iPad OS'
37+
- 'Android'
38+
- 'Other'
39+
validations:
40+
required: true
41+
- type: input
42+
attributes:
43+
label: '📌 系统版本'
44+
validations:
45+
required: true
46+
- type: dropdown
47+
attributes:
48+
label: '🌐 浏览器'
49+
multiple: true
50+
options:
51+
- 'Chrome'
52+
- 'Edge'
53+
- 'Safari'
54+
- 'Firefox'
55+
- 'Other'
56+
validations:
57+
required: true
58+
- type: input
59+
attributes:
60+
label: '📌 浏览器版本'
61+
validations:
62+
required: true
63+
- type: textarea
64+
attributes:
65+
label: '🐛 问题描述'
66+
description: 请提供一个清晰且简洁的问题描述,若上述选项为`Other`,也请详细说明。
67+
validations:
68+
required: true
69+
- type: textarea
70+
attributes:
71+
label: '📷 复现步骤'
72+
description: 请提供一个清晰且简洁的描述,说明如何复现问题。
73+
- type: textarea
74+
attributes:
75+
label: '🚦 期望结果'
76+
description: 请提供一个清晰且简洁的描述,说明您期望发生什么。
77+
- type: textarea
78+
attributes:
79+
label: '📝 补充信息'
80+
description: 如果您的问题需要进一步说明,或者您遇到的问题无法在一个简单的示例中复现,请在这里添加更多信息。
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: '🌠 Feature Request'
2+
description: 'Suggest an idea'
3+
title: '[Feature Request] '
4+
labels: ['enhancement']
5+
body:
6+
- type: textarea
7+
attributes:
8+
label: '🥰 Feature Description'
9+
description: Please add a clear and concise description of the problem you are seeking to solve with this feature request.
10+
validations:
11+
required: true
12+
- type: textarea
13+
attributes:
14+
label: '🧐 Proposed Solution'
15+
description: Describe the solution you'd like in a clear and concise manner.
16+
validations:
17+
required: true
18+
- type: textarea
19+
attributes:
20+
label: '📝 Additional Information'
21+
description: Add any other context about the problem here.

0 commit comments

Comments
 (0)