Skip to content

Commit 6bb1525

Browse files
author
leic4u
committed
2 parents d2b786f + d141761 commit 6bb1525

40 files changed

Lines changed: 2664 additions & 141 deletions

.gitattributes

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ go.sum merge=union
1717
.gitattributes merge=ours
1818
README-ccs-fork.md merge=ours
1919

20-
# Image references diverge from upstream (Plus publishes to
21-
# ghcr.io/kaitranntt/cli-proxy-api-plus, upstream publishes to
20+
# Image references diverge from upstream (Plus publishes official images to
21+
# kaitranntt/cli-proxy-api-plus with a GHCR mirror; upstream publishes to
2222
# eceasy/cli-proxy-api). Keep ours so upstream sync does not silently revert
2323
# the image path back to upstream's.
2424
docker-compose.yml merge=ours

.github/workflows/agents-md-guard.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ permissions:
1212
issues: write
1313
pull-requests: write
1414

15+
env:
16+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
17+
1518
jobs:
1619
close-when-agents-md-changed:
1720
runs-on: ubuntu-latest

.github/workflows/docker-image.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
- v*
1313

1414
env:
15+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
1516
APP_NAME: CLIProxyAPI
1617
DOCKERHUB_REPO: ${{ secrets.DOCKERHUB_USERNAME }}/cli-proxy-api-plus
1718

.github/workflows/pr-test-build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
permissions:
77
contents: read
88

9+
env:
10+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
11+
912
jobs:
1013
build:
1114
runs-on: ubuntu-latest

.github/workflows/release.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ concurrency:
1919
group: goreleaser-${{ inputs.tag || github.ref_name }}
2020
cancel-in-progress: false
2121

22+
env:
23+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
24+
2225
jobs:
2326
goreleaser:
2427
runs-on: ubuntu-latest

.github/workflows/sync-release-tag.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ concurrency:
1515
group: sync-release-tag
1616
cancel-in-progress: false
1717

18+
env:
19+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
20+
1821
jobs:
1922
tag:
2023
runs-on: ubuntu-latest

.github/workflows/upstream-sync.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ concurrency:
3535
cancel-in-progress: false
3636

3737
env:
38+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
3839
TRACKING_ISSUE_LABEL: upstream-sync-blocked
3940
PR_LABEL: upstream-sync
4041

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ see [MANAGEMENT_API.md](https://help.router-for.me/management/api)
7676

7777
## Usage Statistics
7878

79-
Since v6.10.0, CLIProxyAPI and [CPAMC](https://github.com/router-for-me/Cli-Proxy-API-Management-Center) no longer ship built-in usage statistics. If you need usage statistics, use:
79+
Since v6.10.0, upstream CLIProxyAPI and [CPAMC](https://github.com/router-for-me/Cli-Proxy-API-Management-Center) no longer ship built-in usage statistics. CLIProxyAPIPlus preserves this workflow with its usage logger and the maintained [CPAMC dashboard fork](https://github.com/kaitranntt/Cli-Proxy-API-Management-Center), which is the default management panel release stream.
80+
81+
If you need a separate external usage service, use:
8082

8183
### [CPA Usage Keeper](https://github.com/Willxup/cpa-usage-keeper)
8284

README_CN.md

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,45 @@ VisionCoder 还为我们的用户提供 <a href="https://coder.visioncoder.cn" t
7070

7171
CLIProxyAPI 用户手册: [https://help.router-for.me/](https://help.router-for.me/cn/)
7272

73+
### 使用 Docker 运行
74+
75+
每个发布标签都会发布多架构镜像(`linux/amd64``linux/arm64`)到 Docker Hub 和 GitHub Container Registry。
76+
77+
```sh
78+
# 拉取指定版本(推荐)
79+
docker pull kaitranntt/cli-proxy-api-plus:v6.9.45-0
80+
81+
# 或拉取最新发布版本
82+
docker pull kaitranntt/cli-proxy-api-plus:latest
83+
```
84+
85+
GHCR 镜像:
86+
87+
```sh
88+
docker pull ghcr.io/kaitranntt/cli-proxy-api-plus:latest
89+
```
90+
91+
也可以使用仓库内置的 `docker-compose.yml`(默认使用 Docker Hub 镜像;如需覆盖,可设置 `CLI_PROXY_IMAGE`):
92+
93+
```sh
94+
git clone https://github.com/kaitranntt/CLIProxyAPIPlus.git
95+
cd CLIProxyAPIPlus
96+
docker compose up -d
97+
```
98+
99+
可用标签:
100+
- Docker Hub: [`kaitranntt/cli-proxy-api-plus`](https://hub.docker.com/r/kaitranntt/cli-proxy-api-plus)
101+
- GHCR: [`ghcr.io/kaitranntt/cli-proxy-api-plus`](https://github.com/kaitranntt/CLIProxyAPIPlus/pkgs/container/cli-proxy-api-plus)
102+
73103
## 管理 API 文档
74104

75105
请参见 [MANAGEMENT_API_CN.md](https://help.router-for.me/cn/management/api)
76106

77107
## 使用量统计
78108

79-
自v6.10.0版本以后,CLIProxyAPI及 [CPAMC](https://github.com/router-for-me/Cli-Proxy-API-Management-Center) 项目不再预置数据统计功能,如果有数据统计需求的请使用以下项目:
109+
自 v6.10.0 版本以后,上游 CLIProxyAPI 及 [CPAMC](https://github.com/router-for-me/Cli-Proxy-API-Management-Center) 项目不再预置数据统计功能。CLIProxyAPIPlus 会通过自身的使用量日志和维护版 [CPAMC dashboard fork](https://github.com/kaitranntt/Cli-Proxy-API-Management-Center) 保留该工作流,并默认使用这个管理面板发布源。
110+
111+
如果需要独立的外部使用量服务,请使用以下项目:
80112

81113
### [CPA Usage Keeper](https://github.com/Willxup/cpa-usage-keeper)
82114

README_JA.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ CLIProxyAPIガイド:[https://help.router-for.me/](https://help.router-for.me/
7474

7575
## 使用量統計
7676

77-
v6.10.0以降、CLIProxyAPIおよび [CPAMC](https://github.com/router-for-me/Cli-Proxy-API-Management-Center) プロジェクトには使用量統計機能がプリセットされなくなりました。使用量統計が必要な場合は、次のプロジェクトをご利用ください:
77+
v6.10.0以降、上流のCLIProxyAPIおよび [CPAMC](https://github.com/router-for-me/Cli-Proxy-API-Management-Center) プロジェクトには使用量統計機能がプリセットされなくなりました。CLIProxyAPIPlusでは、使用量ロガーとメンテナンス版の [CPAMC dashboard fork](https://github.com/kaitranntt/Cli-Proxy-API-Management-Center) により、このワークフローを維持し、この管理パネルのリリースをデフォルトで使用します。
78+
79+
外部の独立した使用量サービスが必要な場合は、次のプロジェクトをご利用ください:
7880

7981
### [CPA Usage Keeper](https://github.com/Willxup/cpa-usage-keeper)
8082

0 commit comments

Comments
 (0)