Skip to content

Commit 07a2b60

Browse files
committed
Initial commit by cubeofcube
1 parent 3915ce9 commit 07a2b60

File tree

170 files changed

+825
-743
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

170 files changed

+825
-743
lines changed

.github/workflows/linux-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Build Backend (amd64)
4545
run: |
4646
go mod download
47-
go build -ldflags "-s -w -X 'github.com/songquanpeng/one-api/common.Version=$(git describe --tags)' -extldflags '-static'" -o one-api
47+
go build -ldflags "-s -w -X 'github.com/cubeofcube-dev/one-api/common.Version=$(git describe --tags)' -extldflags '-static'" -o one-api
4848
4949
- name: Build Backend (arm64)
5050
run: |

.github/workflows/macos-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Build Backend
4545
run: |
4646
go mod download
47-
go build -ldflags "-X 'github.com/songquanpeng/one-api/common.Version=$(git describe --tags)'" -o one-api-macos
47+
go build -ldflags "-X 'github.com/cubeofcube-dev/one-api/common.Version=$(git describe --tags)'" -o one-api-macos
4848
- name: Release
4949
uses: softprops/action-gh-release@v1
5050
if: startsWith(github.ref, 'refs/tags/')

.github/workflows/windows-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: Build Backend
4848
run: |
4949
go mod download
50-
go build -ldflags "-s -w -X 'github.com/songquanpeng/one-api/common.Version=$(git describe --tags)'" -o one-api.exe
50+
go build -ldflags "-s -w -X 'github.com/cubeofcube-dev/one-api/common.Version=$(git describe --tags)'" -o one-api.exe
5151
- name: Release
5252
uses: softprops/action-gh-release@v1
5353
if: startsWith(github.ref, 'refs/tags/')

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ ADD go.mod go.sum ./
2929
RUN go mod download
3030
COPY . .
3131
COPY --from=builder /web/build ./web/build
32-
RUN go build -trimpath -ldflags "-s -w -X 'github.com/songquanpeng/one-api/common.Version=$(cat VERSION)' -extldflags '-static'" -o one-api
32+
RUN go build -trimpath -ldflags "-s -w -X 'github.com/cubeofcube-dev/one-api/common.Version=$(cat VERSION)' -extldflags '-static'" -o one-api
3333

3434
FROM alpine
3535

README.en.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
</p>
44

55
<p align="center">
6-
<a href="https://github.com/songquanpeng/one-api"><img src="https://raw.githubusercontent.com/songquanpeng/one-api/main/web/default/public/logo.png" width="150" height="150" alt="one-api logo"></a>
6+
<a href="https://github.com/cubeofcube-dev/one-api"><img src="https://raw.githubusercontent.com/cubeofcube-dev/one-api/main/web/default/public/logo.png" width="150" height="150" alt="one-api logo"></a>
77
</p>
88

99
<div align="center">
@@ -15,20 +15,20 @@ _✨ Access all LLM through the standard OpenAI API format, easy to deploy & use
1515
</div>
1616

1717
<p align="center">
18-
<a href="https://raw.githubusercontent.com/songquanpeng/one-api/main/LICENSE">
19-
<img src="https://img.shields.io/github/license/songquanpeng/one-api?color=brightgreen" alt="license">
18+
<a href="https://raw.githubusercontent.com/cubeofcube-dev/one-api/main/LICENSE">
19+
<img src="https://img.shields.io/github/license/cubeofcube-dev/one-api?color=brightgreen" alt="license">
2020
</a>
21-
<a href="https://github.com/songquanpeng/one-api/releases/latest">
22-
<img src="https://img.shields.io/github/v/release/songquanpeng/one-api?color=brightgreen&include_prereleases" alt="release">
21+
<a href="https://github.com/cubeofcube-dev/one-api/releases/latest">
22+
<img src="https://img.shields.io/github/v/release/cubeofcube-dev/one-api?color=brightgreen&include_prereleases" alt="release">
2323
</a>
2424
<a href="https://hub.docker.com/repository/docker/justsong/one-api">
2525
<img src="https://img.shields.io/docker/pulls/justsong/one-api?color=brightgreen" alt="docker pull">
2626
</a>
27-
<a href="https://github.com/songquanpeng/one-api/releases/latest">
28-
<img src="https://img.shields.io/github/downloads/songquanpeng/one-api/total?color=brightgreen&include_prereleases" alt="release">
27+
<a href="https://github.com/cubeofcube-dev/one-api/releases/latest">
28+
<img src="https://img.shields.io/github/downloads/cubeofcube-dev/one-api/total?color=brightgreen&include_prereleases" alt="release">
2929
</a>
30-
<a href="https://goreportcard.com/report/github.com/songquanpeng/one-api">
31-
<img src="https://goreportcard.com/badge/github.com/songquanpeng/one-api" alt="GoReportCard">
30+
<a href="https://goreportcard.com/report/github.com/cubeofcube-dev/one-api">
31+
<img src="https://goreportcard.com/badge/github.com/cubeofcube-dev/one-api" alt="GoReportCard">
3232
</a>
3333
</p>
3434

@@ -37,7 +37,7 @@ _✨ Access all LLM through the standard OpenAI API format, easy to deploy & use
3737
·
3838
<a href="#usage">Usage</a>
3939
·
40-
<a href="https://github.com/songquanpeng/one-api/issues">Feedback</a>
40+
<a href="https://github.com/cubeofcube-dev/one-api/issues">Feedback</a>
4141
·
4242
<a href="#screenshots">Screenshots</a>
4343
·
@@ -84,7 +84,7 @@ _✨ Access all LLM through the standard OpenAI API format, easy to deploy & use
8484
17. Supports user management and multiple user login/registration methods:
8585
+ Email login/registration and password reset via email.
8686
+ [GitHub OAuth](https://github.com/settings/applications/new).
87-
+ WeChat Official Account authorization (requires additional deployment of [WeChat Server](https://github.com/songquanpeng/wechat-server)).
87+
+ WeChat Official Account authorization (requires additional deployment of [WeChat Server](https://github.com/cubeofcube-dev/wechat-server)).
8888
18. Immediate support and encapsulation of other major model APIs as they become available.
8989

9090
## Deployment
@@ -129,9 +129,9 @@ sudo service nginx restart
129129
The initial account username is `root` and password is `123456`.
130130

131131
### Manual Deployment
132-
1. Download the executable file from [GitHub Releases](https://github.com/songquanpeng/one-api/releases/latest) or compile from source:
132+
1. Download the executable file from [GitHub Releases](https://github.com/cubeofcube-dev/one-api/releases/latest) or compile from source:
133133
```shell
134-
git clone https://github.com/songquanpeng/one-api.git
134+
git clone https://github.com/cubeofcube-dev/one-api.git
135135

136136
# Build the frontend
137137
cd one-api/web/default
@@ -164,9 +164,9 @@ For more detailed deployment tutorials, please refer to [this page](https://iama
164164
Please refer to the [environment variables](#environment-variables) section for details on using environment variables.
165165

166166
### Deployment on Control Panels (e.g., Baota)
167-
Refer to [#175](https://github.com/songquanpeng/one-api/issues/175) for detailed instructions.
167+
Refer to [#175](https://github.com/cubeofcube-dev/one-api/issues/175) for detailed instructions.
168168

169-
If you encounter a blank page after deployment, refer to [#97](https://github.com/songquanpeng/one-api/issues/97) for possible solutions.
169+
If you encounter a blank page after deployment, refer to [#97](https://github.com/cubeofcube-dev/one-api/issues/97) for possible solutions.
170170

171171
### Deployment on Third-Party Platforms
172172
<details>
@@ -192,7 +192,7 @@ If you encounter a blank page after deployment, refer to [#97](https://github.co
192192
[![Deploy on Zeabur](https://zeabur.com/button.svg)](https://zeabur.com/templates/7Q0KO3)
193193

194194
1. First, fork the code.
195-
2. Go to [Zeabur](https://zeabur.com?referralCode=songquanpeng), log in, and enter the console.
195+
2. Go to [Zeabur](https://zeabur.com?referralCode=cubeofcube-dev), log in, and enter the console.
196196
3. Create a new project. In Service -> Add Service, select Marketplace, and choose MySQL. Note down the connection parameters (username, password, address, and port).
197197
4. Copy the connection parameters and run ```create database `one-api` ``` to create the database.
198198
5. Then, in Service -> Add Service, select Git (authorization is required for the first use) and choose your forked repository.

README.ja.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
</p>
44

55
<p align="center">
6-
<a href="https://github.com/songquanpeng/one-api"><img src="https://raw.githubusercontent.com/songquanpeng/one-api/main/web/default/public/logo.png" width="150" height="150" alt="one-api logo"></a>
6+
<a href="https://github.com/cubeofcube-dev/one-api"><img src="https://raw.githubusercontent.com/cubeofcube-dev/one-api/main/web/default/public/logo.png" width="150" height="150" alt="one-api logo"></a>
77
</p>
88

99
<div align="center">
@@ -15,20 +15,20 @@ _✨ 標準的な OpenAI API フォーマットを通じてすべての LLM に
1515
</div>
1616

1717
<p align="center">
18-
<a href="https://raw.githubusercontent.com/songquanpeng/one-api/main/LICENSE">
19-
<img src="https://img.shields.io/github/license/songquanpeng/one-api?color=brightgreen" alt="license">
18+
<a href="https://raw.githubusercontent.com/cubeofcube-dev/one-api/main/LICENSE">
19+
<img src="https://img.shields.io/github/license/cubeofcube-dev/one-api?color=brightgreen" alt="license">
2020
</a>
21-
<a href="https://github.com/songquanpeng/one-api/releases/latest">
22-
<img src="https://img.shields.io/github/v/release/songquanpeng/one-api?color=brightgreen&include_prereleases" alt="release">
21+
<a href="https://github.com/cubeofcube-dev/one-api/releases/latest">
22+
<img src="https://img.shields.io/github/v/release/cubeofcube-dev/one-api?color=brightgreen&include_prereleases" alt="release">
2323
</a>
2424
<a href="https://hub.docker.com/repository/docker/justsong/one-api">
2525
<img src="https://img.shields.io/docker/pulls/justsong/one-api?color=brightgreen" alt="docker pull">
2626
</a>
27-
<a href="https://github.com/songquanpeng/one-api/releases/latest">
28-
<img src="https://img.shields.io/github/downloads/songquanpeng/one-api/total?color=brightgreen&include_prereleases" alt="release">
27+
<a href="https://github.com/cubeofcube-dev/one-api/releases/latest">
28+
<img src="https://img.shields.io/github/downloads/cubeofcube-dev/one-api/total?color=brightgreen&include_prereleases" alt="release">
2929
</a>
30-
<a href="https://goreportcard.com/report/github.com/songquanpeng/one-api">
31-
<img src="https://goreportcard.com/badge/github.com/songquanpeng/one-api" alt="GoReportCard">
30+
<a href="https://goreportcard.com/report/github.com/cubeofcube-dev/one-api">
31+
<img src="https://goreportcard.com/badge/github.com/cubeofcube-dev/one-api" alt="GoReportCard">
3232
</a>
3333
</p>
3434

@@ -37,7 +37,7 @@ _✨ 標準的な OpenAI API フォーマットを通じてすべての LLM に
3737
·
3838
<a href="#usage">使用方法</a>
3939
·
40-
<a href="https://github.com/songquanpeng/one-api/issues">フィードバック</a>
40+
<a href="https://github.com/cubeofcube-dev/one-api/issues">フィードバック</a>
4141
·
4242
<a href="#screenshots">スクリーンショット</a>
4343
·
@@ -84,7 +84,7 @@ _✨ 標準的な OpenAI API フォーマットを通じてすべての LLM に
8484
17. ユーザー管理と複数のユーザーログイン/登録方法をサポート:
8585
+ 電子メールによるログイン/登録とパスワードリセット。
8686
+ [GitHub OAuth](https://github.com/settings/applications/new)
87-
+ WeChat 公式アカウントの認証([WeChat Server](https://github.com/songquanpeng/wechat-server)の追加導入が必要)。
87+
+ WeChat 公式アカウントの認証([WeChat Server](https://github.com/cubeofcube-dev/wechat-server)の追加導入が必要)。
8888
18. 他の主要なモデル API が利用可能になった場合、即座にサポートし、カプセル化する。
8989

9090
## デプロイメント
@@ -130,9 +130,9 @@ sudo service nginx restart
130130
初期アカウントのユーザー名は `root` で、パスワードは `123456` です。
131131

132132
### マニュアルデプロイ
133-
1. [GitHub Releases](https://github.com/songquanpeng/one-api/releases/latest) から実行ファイルをダウンロードする、もしくはソースからコンパイルする:
133+
1. [GitHub Releases](https://github.com/cubeofcube-dev/one-api/releases/latest) から実行ファイルをダウンロードする、もしくはソースからコンパイルする:
134134
```shell
135-
git clone https://github.com/songquanpeng/one-api.git
135+
git clone https://github.com/cubeofcube-dev/one-api.git
136136

137137
# フロントエンドのビルド
138138
cd one-api/web/default
@@ -165,9 +165,9 @@ sudo service nginx restart
165165
Please refer to the [environment variables](#environment-variables) section for details on using environment variables.
166166

167167
### コントロールパネル(例: Baota)への展開
168-
詳しい手順は [#175](https://github.com/songquanpeng/one-api/issues/175) を参照してください。
168+
詳しい手順は [#175](https://github.com/cubeofcube-dev/one-api/issues/175) を参照してください。
169169

170-
配置後に空白のページが表示される場合は、[#97](https://github.com/songquanpeng/one-api/issues/97) を参照してください。
170+
配置後に空白のページが表示される場合は、[#97](https://github.com/cubeofcube-dev/one-api/issues/97) を参照してください。
171171

172172
### サードパーティプラットフォームへのデプロイ
173173
<details>
@@ -193,7 +193,7 @@ Please refer to the [environment variables](#environment-variables) section for
193193
[![Deploy on Zeabur](https://zeabur.com/button.svg)](https://zeabur.com/templates/7Q0KO3)
194194

195195
1. まず、コードをフォークする。
196-
2. [Zeabur](https://zeabur.com?referralCode=songquanpeng) にアクセスしてログインし、コンソールに入る。
196+
2. [Zeabur](https://zeabur.com?referralCode=cubeofcube-dev) にアクセスしてログインし、コンソールに入る。
197197
3. 新しいプロジェクトを作成します。Service -> Add ServiceでMarketplace を選択し、MySQL を選択する。接続パラメータ(ユーザー名、パスワード、アドレス、ポート)をメモします。
198198
4. 接続パラメータをコピーし、```create database `one-api` ``` を実行してデータベースを作成する。
199199
5. その後、Service -> Add Service で Git を選択し(最初の使用には認証が必要です)、フォークしたリポジトリを選択します。

0 commit comments

Comments
 (0)