docs: add live demo section to README files

This commit is contained in:
cita
2026-03-11 16:05:38 +08:00
parent 921c551a3a
commit b35e9fcc7a
2 changed files with 55 additions and 26 deletions
+20 -6
View File
@@ -54,6 +54,21 @@
---
## 🌐 在线体验
> 无需部署,直接体验 Metapi 的完整功能:
| | |
| ---------------------- | ---------------------------------------------------------- |
| 🔗**体验地址** | [metapi-t9od.onrender.com](https://metapi-t9od.onrender.com/) |
| 🔑**管理员令牌** | `123456` |
> **⚠️ 安全提示**:体验站为公共环境,**请勿填入你的 API Key、账号密码或站点信息**。数据随时可能被清空。
> **ℹ️ 说明**:体验站使用 Render 免费方案 + OpenRouter 免费模型(仅 `:free` 后缀的模型可用)。
---
## 📖 介绍
现在 AI 生态里有越来越多基于 New API / One API 系列的聚合中转站,要管理多个站点的余额、模型列表和 API 密钥,往往既分散又费时。
@@ -69,7 +84,7 @@
- [Sub2API](https://github.com/Wei-Shaw/sub2api) — 订阅制中转
| 痛点 | Metapi 怎么解决 |
| ------------------------------------- | --------------------------------------------------------------- |
| ------------------------------------- | ---------------------------------------------------------------------- |
| 🔑 每个站点一个 Key,下游工具配置一堆 | **统一代理入口 + 可选多下游 Key 策略**,模型自动聚合到 `/v1/*` |
| 💸 不知道哪个站点用某个模型最便宜 | **智能路由** 自动按成本、余额、使用率选最优通道 |
| 🔄 某个站点挂了,手动切换好麻烦 | **自动故障转移**,一个通道失败自动冷却并切到下一个 |
@@ -144,7 +159,6 @@
</tr>
</table>
---
## 🏛️ 架构概览
@@ -231,7 +245,7 @@
支持五种通知渠道:
| 渠道 | 说明 |
| --- | --- |
| ---------------------- | ----------------- |
| **Webhook** | 自定义 HTTP 推送 |
| **Bark** | iOS 推送通知 |
| **Server酱** | 微信通知 |
@@ -346,12 +360,12 @@ Docker Compose、桌面安装包、反向代理、升级与数据库选项等详
## 🏗️ 技术栈
| 层 | 技术 |
| -------------------- | --------------------------------------------------------------------------------------------------------- |
| -------------------- | ----------------------------------------------------------------- |
| **后端框架** | [Fastify](https://fastify.dev) — 高性能 Node.js 后端框架 |
| **前端框架** | [React 18](https://react.dev) + [Vite](https://vitejs.dev) |
| **语言** | [TypeScript](https://www.typescriptlang.org) — 端到端类型安全 |
| **样式** | [Tailwind CSS v4](https://tailwindcss.com) — 原子化样式框架 |
| **数据库** | SQLite / MySQL / PostgreSQL + [Drizzle ORM](https://orm.drizzle.team) |
| **数据库** | SQLite / MySQL / PostgreSQL +[Drizzle ORM](https://orm.drizzle.team) |
| **数据可视化** | [VChart](https://visactor.io/vchart) (@visactor/react-vchart) |
| **定时任务** | [node-cron](https://github.com/node-cron/node-cron) |
| **容器化** | Docker (Alpine) + Docker Compose |
@@ -445,6 +459,6 @@ Metapi 完全自托管,所有数据(账号、令牌、路由、日志)均
**⭐ 如果 Metapi 对你有帮助,给个 Star 就是最大的支持!**
<sub>Built with ❤️ by the AI community</sub>
`<sub>`Built with ❤️ by the AI community`</sub>`
</div>
+15
View File
@@ -55,6 +55,21 @@ into <strong>one API Key, one endpoint</strong>, with automatic model discovery,
---
## 🌐 Live Demo
> Try Metapi without deploying — full-featured demo instance:
| | |
|---|---|
| 🔗 **Demo URL** | [metapi-t9od.onrender.com](https://metapi-t9od.onrender.com/) |
| 🔑 **Admin Token** | `123456` |
> **⚠️ Security Notice**: This is a public demo. **Do NOT enter any real API keys, credentials, or site information.** Data may be reset at any time.
> **ℹ️ Note**: Demo runs on Render free tier + OpenRouter free models (only `:free` suffixed models available). First visit may take 30-60s to wake up.
---
## About
The AI ecosystem is seeing a growing number of aggregation relay stations based on New API / One API and similar projects. Managing balances, model lists, and API keys across multiple sites is scattered and time-consuming.