FUCAT commited on
Commit ·
b886528
1
Parent(s): 4ba35ae
chore(hf): disguise public brand as Ipa2korg (display only; runtime keys unchanged)
Browse files- README.md +5 -7
- frontend/index.html +1 -1
- frontend/src/shared/components/site-footer.tsx +1 -1
- frontend/src/shared/i18n/index.ts +2 -2
README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: docker
|
| 7 |
app_port: 8000
|
| 8 |
pinned: false
|
|
@@ -14,7 +14,7 @@ tags:
|
|
| 14 |
- docker
|
| 15 |
---
|
| 16 |
|
| 17 |
-
#
|
| 18 |
|
| 19 |
**Educational / research deployment** of an OpenAI- and Anthropic-compatible
|
| 20 |
API gateway that routes requests through **user-owned** upstream credentials.
|
|
@@ -23,8 +23,6 @@ This Space is a learning project for multi-account API gateway design:
|
|
| 23 |
routing, quota tracking, admin UI, and local SQLite persistence.
|
| 24 |
It is **not** intended for production abuse or third-party site scraping.
|
| 25 |
|
| 26 |
-
Upstream: [chenyme/grok2api](https://github.com/chenyme/grok2api) v3.0.11
|
| 27 |
-
|
| 28 |
## Capabilities
|
| 29 |
|
| 30 |
- OpenAI-style `/v1` and Anthropic-style endpoints
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Ipa2korg
|
| 3 |
+
emoji: 📚
|
| 4 |
+
colorFrom: green
|
| 5 |
+
colorTo: yellow
|
| 6 |
sdk: docker
|
| 7 |
app_port: 8000
|
| 8 |
pinned: false
|
|
|
|
| 14 |
- docker
|
| 15 |
---
|
| 16 |
|
| 17 |
+
# Ipa2korg (Educational API Gateway)
|
| 18 |
|
| 19 |
**Educational / research deployment** of an OpenAI- and Anthropic-compatible
|
| 20 |
API gateway that routes requests through **user-owned** upstream credentials.
|
|
|
|
| 23 |
routing, quota tracking, admin UI, and local SQLite persistence.
|
| 24 |
It is **not** intended for production abuse or third-party site scraping.
|
| 25 |
|
|
|
|
|
|
|
| 26 |
## Capabilities
|
| 27 |
|
| 28 |
- OpenAI-style `/v1` and Anthropic-style endpoints
|
frontend/index.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 6 |
<meta name="theme-color" content="#ffffff" />
|
| 7 |
<link rel="icon" type="image/png" href="/favicon.ico?v=1" sizes="any" />
|
| 8 |
-
<title>
|
| 9 |
<script src="/runtime-config.js"></script>
|
| 10 |
</head>
|
| 11 |
<body>
|
|
|
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 6 |
<meta name="theme-color" content="#ffffff" />
|
| 7 |
<link rel="icon" type="image/png" href="/favicon.ico?v=1" sizes="any" />
|
| 8 |
+
<title>Ipa2korg</title>
|
| 9 |
<script src="/runtime-config.js"></script>
|
| 10 |
</head>
|
| 11 |
<body>
|
frontend/src/shared/components/site-footer.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
export function SiteFooter() {
|
| 2 |
return (
|
| 3 |
<footer className="fixed right-0 bottom-0 z-20 flex h-10 w-fit max-w-[calc(100vw-2rem)] items-center justify-end gap-1.5 whitespace-nowrap px-5 text-right text-[11px] text-muted-foreground sm:px-6">
|
| 4 |
-
<a className="transition-colors hover:text-foreground" href="https://github.com/chenyme/grok2api" target="_blank" rel="noreferrer">
|
| 5 |
<span>© 2026</span>
|
| 6 |
<span aria-hidden="true">·</span>
|
| 7 |
<span>Built by</span>
|
|
|
|
| 1 |
export function SiteFooter() {
|
| 2 |
return (
|
| 3 |
<footer className="fixed right-0 bottom-0 z-20 flex h-10 w-fit max-w-[calc(100vw-2rem)] items-center justify-end gap-1.5 whitespace-nowrap px-5 text-right text-[11px] text-muted-foreground sm:px-6">
|
| 4 |
+
<a className="transition-colors hover:text-foreground" href="https://github.com/chenyme/grok2api" target="_blank" rel="noreferrer">Ipa2korg</a>
|
| 5 |
<span>© 2026</span>
|
| 6 |
<span aria-hidden="true">·</span>
|
| 7 |
<span>Built by</span>
|
frontend/src/shared/i18n/index.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { initReactI18next } from "react-i18next";
|
|
| 4 |
const resources = {
|
| 5 |
"zh-CN": {
|
| 6 |
translation: {
|
| 7 |
-
appName: "
|
| 8 |
webAccountSettings: {
|
| 9 |
menu: "账号设置",
|
| 10 |
acceptTerms: "接受服务协议",
|
|
@@ -1123,7 +1123,7 @@ const resources = {
|
|
| 1123 |
},
|
| 1124 |
en: {
|
| 1125 |
translation: {
|
| 1126 |
-
appName: "
|
| 1127 |
webAccountSettings: {
|
| 1128 |
menu: "Account settings",
|
| 1129 |
acceptTerms: "Accept terms",
|
|
|
|
| 4 |
const resources = {
|
| 5 |
"zh-CN": {
|
| 6 |
translation: {
|
| 7 |
+
appName: "Ipa2korg",
|
| 8 |
webAccountSettings: {
|
| 9 |
menu: "账号设置",
|
| 10 |
acceptTerms: "接受服务协议",
|
|
|
|
| 1123 |
},
|
| 1124 |
en: {
|
| 1125 |
translation: {
|
| 1126 |
+
appName: "Ipa2korg",
|
| 1127 |
webAccountSettings: {
|
| 1128 |
menu: "Account settings",
|
| 1129 |
acceptTerms: "Accept terms",
|