mirror of
https://github.com/arch3rPro/1Panel-Appstore.git
synced 2026-06-10 00:19:38 +08:00
feat(apps): add 9router application package
新增9Router应用,包含多版本部署配置、应用元数据和中英文说明文档,提供AI路由和Token节省功能,支持40+AI提供商与100+模型。
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
# 9Router
|
||||
|
||||
免费 AI 路由器和 Token 节省工具。连接 40+ AI 提供商和 100+ 模型,支持 Claude Code、Cursor、Codex、Copilot、Cline 等 AI 编码工具。
|
||||
|
||||
## 功能特点
|
||||
|
||||
- RTK Token 节省 - 自动压缩工具输出内容,每次请求节省 20-40% token
|
||||
- 智能 3 层降级 - 自动路由:订阅 → 廉价 → 免费模型,零停机
|
||||
- 实时配额跟踪 - 实时 token 计数和重置倒计时
|
||||
- 多账户支持 - 每个提供商支持多个账户,负载均衡
|
||||
- 格式转换 - OpenAI ↔ Claude ↔ Gemini 格式互相转换
|
||||
- 支持 40+ 提供商和 100+ 模型
|
||||
|
||||
## 使用说明
|
||||
|
||||
### 默认端口
|
||||
|
||||
- Web 界面: 20128
|
||||
|
||||
### 访问地址
|
||||
|
||||
- Dashboard: http://localhost:20128/dashboard
|
||||
- OpenAI 兼容 API: http://localhost:20128/v1
|
||||
|
||||
### 数据目录
|
||||
|
||||
应用数据存储在 `./data` 目录,包含 SQLite 数据库和自动备份。
|
||||
|
||||
### 环境变量
|
||||
|
||||
- `DATA_DIR` - 数据目录路径(容器内固定为 /app/data)
|
||||
- `PORT` - 服务端口(默认 20128)
|
||||
- `HOSTNAME` - 监听地址(默认 0.0.0.0)
|
||||
- `DEBUG` - 调试模式(可选,设为 true 启用)
|
||||
|
||||
## 相关链接
|
||||
|
||||
- 官方网站: https://9router.com
|
||||
- GitHub: https://github.com/decolua/9router
|
||||
- 文档: https://github.com/decolua/9router/blob/master/README.md
|
||||
@@ -0,0 +1,40 @@
|
||||
# 9Router
|
||||
|
||||
FREE AI Router & Token Saver. Connect to 40+ AI providers and 100+ models, works with Claude Code, Cursor, Codex, Copilot, Cline and more AI coding tools.
|
||||
|
||||
## Features
|
||||
|
||||
- RTK Token Saver - Auto-compress tool outputs, save 20-40% tokens per request
|
||||
- Smart 3-Tier Fallback - Auto-route: Subscription → Cheap → Free, zero downtime
|
||||
- Real-Time Quota Tracking - Live token count and reset countdown
|
||||
- Multi-Account Support - Multiple accounts per provider for load balancing
|
||||
- Format Translation - OpenAI ↔ Claude ↔ Gemini format conversion
|
||||
- Support 40+ providers and 100+ models
|
||||
|
||||
## Usage
|
||||
|
||||
### Default Port
|
||||
|
||||
- Web UI: 20128
|
||||
|
||||
### URLs
|
||||
|
||||
- Dashboard: http://localhost:20128/dashboard
|
||||
- OpenAI-compatible API: http://localhost:20128/v1
|
||||
|
||||
### Data Directory
|
||||
|
||||
Application data is stored in the `./data` directory, including SQLite database and automatic backups.
|
||||
|
||||
### Environment Variables
|
||||
|
||||
- `DATA_DIR` - Data directory path (fixed to /app/data in container)
|
||||
- `PORT` - Service port (default 20128)
|
||||
- `HOSTNAME` - Listen address (default 0.0.0.0)
|
||||
- `DEBUG` - Debug mode (optional, set to true to enable)
|
||||
|
||||
## Links
|
||||
|
||||
- Website: https://9router.com
|
||||
- GitHub: https://github.com/decolua/9router
|
||||
- Documentation: https://github.com/decolua/9router/blob/master/README.md
|
||||
@@ -0,0 +1,29 @@
|
||||
name: 9Router
|
||||
tags:
|
||||
- 开发工具
|
||||
- AI
|
||||
- API网关
|
||||
title: 免费 AI 路由器和 Token 节省工具
|
||||
description: 免费 AI 路由器和 Token 节省工具
|
||||
additionalProperties:
|
||||
key: 9router
|
||||
name: 9Router
|
||||
tags:
|
||||
- DevTool
|
||||
- AI
|
||||
- APIGateway
|
||||
shortDescZh: 免费 AI 路由器和 Token 节省工具
|
||||
shortDescEn: FREE AI Router & Token Saver
|
||||
description:
|
||||
en: 9Router is a free AI router that provides unified access to 40+ AI providers and 100+ models. Features RTK token saver (20-40% token savings), auto fallback from subscription to cheap to free models, quota tracking, and multi-account support. Works with Claude Code, Cursor, Codex, Copilot, Cline, and more.
|
||||
zh: 9Router 是一个免费的 AI 路由器,提供对 40+ AI 提供商和 100+ 模型的统一访问。具有 RTK Token 节省功能(节省 20-40% 的 token),从订阅到廉价再到免费模型的自动降级,配额跟踪和多账户支持。兼容 Claude Code、Cursor、Codex、Copilot、Cline 等工具。
|
||||
type: website
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
recommend: 0
|
||||
website: https://9router.com
|
||||
github: https://github.com/decolua/9router
|
||||
document: https://github.com/decolua/9router/blob/master/README.md
|
||||
architectures:
|
||||
- amd64
|
||||
- arm64
|
||||
@@ -0,0 +1,24 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 20128
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Web Port
|
||||
labelZh: Web 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
label:
|
||||
en: Web Port
|
||||
zh: Web 端口
|
||||
- default: 9router
|
||||
edit: true
|
||||
envKey: CONTAINER_NAME
|
||||
labelEn: Container Name
|
||||
labelZh: 容器名称
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
label:
|
||||
en: Container Name
|
||||
zh: 容器名称
|
||||
@@ -0,0 +1,21 @@
|
||||
services:
|
||||
9router:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:20128"
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
- DATA_DIR=/app/data
|
||||
- PORT=20128
|
||||
- HOSTNAME=0.0.0.0
|
||||
image: decolua/9router:latest
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
@@ -0,0 +1,24 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 20128
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Web Port
|
||||
labelZh: Web 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
label:
|
||||
en: Web Port
|
||||
zh: Web 端口
|
||||
- default: 9router
|
||||
edit: true
|
||||
envKey: CONTAINER_NAME
|
||||
labelEn: Container Name
|
||||
labelZh: 容器名称
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
label:
|
||||
en: Container Name
|
||||
zh: 容器名称
|
||||
@@ -0,0 +1,21 @@
|
||||
services:
|
||||
9router:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:20128"
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
- DATA_DIR=/app/data
|
||||
- PORT=20128
|
||||
- HOSTNAME=0.0.0.0
|
||||
image: decolua/9router:v0.4.18
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user