Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

Commit

Permalink
Feat Missing Docs (force push to main branch)
Browse files Browse the repository at this point in the history
[+] feat(docs): update cloudflare-pages-cn.md
 - Update build command in step 8 of the guide
 - Add new images for the guide

[+] feat(docs): add synchronise-chat-logs-cn.md
 - Add Chinese version of the guide for synchronizing chat logs with UpStash

[+] feat(docs): add synchronise-chat-logs-en.md
 - Add English version of the guide for synchronizing chat logs with UpStash

[+] feat(docs): add synchronise-chat-logs-es.md
 - Add Spanish version of the guide for synchronizing chat logs with UpStash

[+] feat(docs): add synchronise-chat-logs-ja.md
 - Add Japanese version of the guide for synchronizing chat logs with UpStash

[+] feat(docs): add synchronise-chat-logs-ko.md
 - Add Korean version of the guide for synchronizing chat logs with UpStash
  • Loading branch information
H0llyW00dzZ committed Nov 11, 2023
1 parent a70a9ec commit cab9cff
Show file tree
Hide file tree
Showing 13 changed files with 156 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/cloudflare-pages-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
7. 在 "Build Settings" 中,选择 "Framework presets" 选项并选择 "Next.js"。
8. 由于 node:buffer 的 bug,暂时不要使用默认的 "Build command"。请使用以下命令:
```
npx https://prerelease-registry.devprod.cloudflare.dev/next-on-pages/runs/4930842298/npm-package-next-on-pages-230 --experimental-minify
npx @cloudflare/next-on-pages@1.5.0
```
9. 对于 "Build output directory",使用默认值并且不要修改。
10. 不要修改 "Root Directory"。
Expand Down
Binary file added docs/images/upstash-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/upstash-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/upstash-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/upstash-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/upstash-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/upstash-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/upstash-7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 31 additions & 0 deletions docs/synchronise-chat-logs-cn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# 同步聊天记录
## 准备工作
- GitHub账号
- 拥有自己搭建过的ChatGPT-Next-Web的服务器
- [UpStash](https://upstash.com)

## 开始教程
1. 注册UpStash账号
2. 创建数据库

![注册登录](./images/upstash-1.png)

![创建数据库](./images/upstash-2.png)

![选择服务器](./images/upstash-3.png)

3. 找到REST API,分别复制UPSTASH_REDIS_REST_URL和UPSTASH_REDIS_REST_TOKEN(⚠切记⚠:不要泄露Token!)

![复制](./images/upstash-4.png)

4. UPSTASH_REDIS_REST_URL和UPSTASH_REDIS_REST_TOKEN复制到你的同步配置,点击**检查可用性**

![同步1](./images/upstash-5.png)

如果没什么问题,那就成功了

![同步可用性完成的样子](./images/upstash-6.png)

5. Success!

![好耶~](./images/upstash-7.png)
31 changes: 31 additions & 0 deletions docs/synchronise-chat-logs-en.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Synchronize Chat Logs with UpStash
## Prerequisites
- GitHub account
- Your own ChatGPT-Next-Web server set up
- [UpStash](https://upstash.com)

## Getting Started
1. Register for an UpStash account.
2. Create a database.

![Register and Login](./images/upstash-1.png)

![Create Database](./images/upstash-2.png)

![Select Server](./images/upstash-3.png)

3. Find the REST API and copy UPSTASH_REDIS_REST_URL and UPSTASH_REDIS_REST_TOKEN (⚠Important⚠: Do not share your token!)

![Copy](./images/upstash-4.png)

4. Copy UPSTASH_REDIS_REST_URL and UPSTASH_REDIS_REST_TOKEN into your synchronization configuration, then click **Check Availability**.

![Synchronize 1](./images/upstash-5.png)

If everything is in order, you've successfully completed this step.

![Sync Availability Check Completed](./images/upstash-6.png)

5. Success!

![Great job~!](./images/upstash-7.png)
31 changes: 31 additions & 0 deletions docs/synchronise-chat-logs-es.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Sincronizzare i Log delle Chat con UpStash
## Prerequisiti
- Account GitHub
- Server ChatGPT-Next-Web di propria configurazione
- [UpStash](https://upstash.com)

## Per iniziare
1. Registrarsi per un account UpStash.
2. Creare un database.

![Registrarsi ed Accedere](./images/upstash-1.png)

![Creare un Database](./images/upstash-2.png)

![Selezionare il Server](./images/upstash-3.png)

3. Trovare l'API REST e copiare UPSTASH_REDIS_REST_URL e UPSTASH_REDIS_REST_TOKEN (⚠Importante⚠: Non condividere il token!)

![Copia](./images/upstash-4.png)

4. Copiare UPSTASH_REDIS_REST_URL e UPSTASH_REDIS_REST_TOKEN nella configurazione di sincronizzazione, quindi fare clic su **Verifica la Disponibilità**.

![Sincronizzazione 1](./images/upstash-5.png)

Se tutto è in ordine, hai completato con successo questa fase.

![Verifica la Disponibilità della Sincronizzazione Completata](./images/upstash-6.png)

5. Successo!

![Ottimo lavoro~!](./images/upstash-7.png)
31 changes: 31 additions & 0 deletions docs/synchronise-chat-logs-ja.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# UpStashを使用してチャットログを同期する
## 事前準備
- GitHubアカウント
- 自分自身でChatGPT-Next-Webのサーバーをセットアップしていること
- [UpStash](https://upstash.com)

## 始める
1. UpStashアカウントを登録します。
2. データベースを作成します。

![登録とログイン](./images/upstash-1.png)

![データベースの作成](./images/upstash-2.png)

![サーバーの選択](./images/upstash-3.png)

3. REST APIを見つけ、UPSTASH_REDIS_REST_URLとUPSTASH_REDIS_REST_TOKENをコピーします(⚠重要⚠:トークンを共有しないでください!)

![コピー](./images/upstash-4.png)

4. UPSTASH_REDIS_REST_URLとUPSTASH_REDIS_REST_TOKENを同期設定にコピーし、次に「可用性を確認」をクリックします。

![同期1](./images/upstash-5.png)

すべてが正常であれば、このステップは成功です。

![同期可用性チェックが完了しました](./images/upstash-6.png)

5. 成功!

![お疲れ様でした~](./images/upstash-7.png)
31 changes: 31 additions & 0 deletions docs/synchronise-chat-logs-ko.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# UpStash를 사용하여 채팅 기록 동기화
## 사전 준비물
- GitHub 계정
- 자체 ChatGPT-Next-Web 서버 설정
- [UpStash](https://upstash.com)

## 시작하기
1. UpStash 계정 등록
2. 데이터베이스 생성

![등록 및 로그인](./images/upstash-1.png)

![데이터베이스 생성](./images/upstash-2.png)

![서버 선택](./images/upstash-3.png)

3. REST API를 찾아 UPSTASH_REDIS_REST_URL 및 UPSTASH_REDIS_REST_TOKEN을 복사합니다 (⚠주의⚠: 토큰을 공유하지 마십시오!)

![복사](./images/upstash-4.png)

4. UPSTASH_REDIS_REST_URL 및 UPSTASH_REDIS_REST_TOKEN을 동기화 구성에 복사한 다음 **가용성 확인**을 클릭합니다.

![동기화 1](./images/upstash-5.png)

모든 것이 정상인 경우,이 단계를 성공적으로 완료했습니다.

![동기화 가용성 확인 완료](./images/upstash-6.png)

5. 성공!

![잘 했어요~!](./images/upstash-7.png)

0 comments on commit cab9cff

Please sign in to comment.