myapikey 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +295 -0
- package/README.zh-CN.md +295 -0
- package/package.json +84 -0
- package/packages/core/src/cli/client.ts +68 -0
- package/packages/core/src/cli/config.ts +64 -0
- package/packages/core/src/cli/index.ts +272 -0
- package/packages/core/src/server/admin.ts +518 -0
- package/packages/core/src/server/app.ts +55 -0
- package/packages/core/src/server/auth.ts +74 -0
- package/packages/core/src/server/proxy.ts +226 -0
- package/packages/core/src/server/store.ts +559 -0
- package/packages/core/src/shared/config.ts +35 -0
- package/packages/core/src/shared/types.ts +107 -0
- package/packages/web/dist/assets/index-5_bJkp0p.css +1 -0
- package/packages/web/dist/assets/index-tDr_JIKI.js +285 -0
- package/packages/web/dist/index.html +24 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
+
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='40' y2='40' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23f59e0b'/%3E%3Cstop offset='0.33' stop-color='%23f97316'/%3E%3Cstop offset='0.67' stop-color='%23ef4444'/%3E%3Cstop offset='1' stop-color='%23ec4899'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='40' height='40' rx='9' fill='url(%23g)'/%3E%3Cg fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='14' cy='16.5' r='4.6'/%3E%3Cpath d='M19.6 16.5 H31.5 M26.5 16.5 V20.8 M31.5 16.5 V19.5'/%3E%3C/g%3E%3Cpath d='M6 28 Q9.5 25 13 28 T20 28 T27 28 T34 28' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' opacity='0.9'/%3E%3C/svg%3E" />
|
|
7
|
+
<title>MyAPIKey</title>
|
|
8
|
+
<script>
|
|
9
|
+
// Apply saved theme before paint to avoid a flash of the wrong theme.
|
|
10
|
+
try {
|
|
11
|
+
var saved = localStorage.getItem("myapikey.theme");
|
|
12
|
+
if (saved === "light") document.documentElement.classList.remove("dark");
|
|
13
|
+
else document.documentElement.classList.add("dark");
|
|
14
|
+
} catch (e) {
|
|
15
|
+
document.documentElement.classList.add("dark");
|
|
16
|
+
}
|
|
17
|
+
</script>
|
|
18
|
+
<script type="module" crossorigin src="/assets/index-tDr_JIKI.js"></script>
|
|
19
|
+
<link rel="stylesheet" crossorigin href="/assets/index-5_bJkp0p.css">
|
|
20
|
+
</head>
|
|
21
|
+
<body>
|
|
22
|
+
<div id="app"></div>
|
|
23
|
+
</body>
|
|
24
|
+
</html>
|