diff --git a/frontend/.gitignore b/frontend/.gitignore new file mode 100644 index 0000000..a547bf3 --- /dev/null +++ b/frontend/.gitignore @@ -0,0 +1,24 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/frontend/.vscode/extensions.json b/frontend/.vscode/extensions.json new file mode 100644 index 0000000..a7cea0b --- /dev/null +++ b/frontend/.vscode/extensions.json @@ -0,0 +1,3 @@ +{ + "recommendations": ["Vue.volar"] +} diff --git a/frontend/README.md b/frontend/README.md new file mode 100644 index 0000000..38085e2 --- /dev/null +++ b/frontend/README.md @@ -0,0 +1,3 @@ +# OpenTeam Frontend + + diff --git a/frontend/index.html b/frontend/index.html new file mode 100644 index 0000000..0713aba --- /dev/null +++ b/frontend/index.html @@ -0,0 +1,13 @@ + + +
+ + + +
+ + OpenTeam is an open-source, team-shared service. that is compatible with OpenAI API and can + be safely shared with others for API usage. +
++ 👉Api-Keys: https://platform.openai.com/account/api-keys +
+ +使用OpenTeam 管理你的LLM API,仅需一个地址即可接入不同的大模型
+欢迎加入我们的Telegram频道,获取最新动态和帮助
+
+
+
+
+
+
+
+ + Enter the API key's details below. +
+| + + | +Type | +Name | +Active | +Key | +Endpoint | ++ |
|---|---|---|---|---|---|---|
| + + | +{{ key.type }} | +{{ key.name }} | ++ + | +{{ key.apikey }} | +{{ key.endpoint }} | +
+
+
+
+
+
+
+
+
+ |
+
欢迎回到您的个人仪表盘
+{{ user?.username }}
+Manage your passkeys for secure and passwordless login.
+| Name | +Create Time | +SignCount | +Remark | ++ |
|---|---|---|---|---|
| {{ passkey.name }} | +{{ formatDateTime(passkey.created_at) }} | +{{ passkey.sign_count }} | +{{ passkey.device_type }} | ++ + | +
No passkeys found
+Manage your linked social accounts for easier login.
++ Enter the token's details below. +
+| Token Name | +Status | +Key | +Expired At | +Quota | +Used Quota | ++ |
|---|---|---|---|---|---|---|
| {{ token.name }} | ++ + | +{{ token.key }} | +{{ token.expired_at == 0 ? 'Never' : unixToDate(token.expired_at) }} | +
+
+ |
+ {{ token.used_quota }} | +
+
+
+
+
+
+ |
+
No tokens found
+| + + | +ID | +Name | +Active | +Quota | +UsedQuota | ++ |
|---|---|---|---|---|---|---|
| + + | +{{ user.id }} | +{{ user.username }} | ++ + | +
+
+ |
+ {{ user.used_quota }} | +
+
+
+
+
+
+
+
+
+ |
+
+ Enter the user's details below. +
+| Token Name | +Key | +Expired At | +Quota | +Used Quota | ++ |
|---|---|---|---|---|---|
| {{ token.name }} | +{{ token.key }} | +{{ token.expiredAt == -1 ? 'Never' : formatDate(token.expiredAt) }} | +
+
+ |
+ {{ token.used_quota }} | ++ + | +
No tokens found
+