Browse Source

Merge pull request #2996 from MCheping8108/main

Yifei Zhang 1 year ago
parent
commit
5296ab1b09

+ 4 - 0
README.md

@@ -257,6 +257,10 @@ If your proxy needs password, use:
 bash <(curl -s https://raw.githubusercontent.com/Yidadaa/ChatGPT-Next-Web/main/scripts/setup.sh)
 ```
 
+## Synchronizing Chat Records (UpStash)
+
+| [简体中文](./docs/synchronise-chat-logs-cn.md) | [English](./docs/synchronise-chat-logs-en.md) | [Italiano](./docs/synchronise-chat-logs-es.md) | [日本語](./docs/synchronise-chat-logs-ja.md) | [한국어](./docs/synchronise-chat-logs-ko.md)
+
 ## Documentation
 
 > Please go to the [docs][./docs] directory for more documentation instructions.

+ 1 - 0
README_CN.md

@@ -169,6 +169,7 @@ bash <(curl -s https://raw.githubusercontent.com/Yidadaa/ChatGPT-Next-Web/main/s
 
 ⚠️ 注意:如果你安装过程中遇到了问题,请使用 docker 部署。
 
+
 ## 鸣谢
 
 ### 捐赠者

+ 1 - 0
README_KO.md

@@ -169,6 +169,7 @@ bash <(curl -s https://raw.githubusercontent.com/Yidadaa/ChatGPT-Next-Web/main/s
 
 ⚠️ 주의: 설치 중 문제가 발생한 경우, docker로 배포하세요.
 
+
 ## 감사의 말
 
 ### 기부자

BIN
docs/images/upstash-1.png


BIN
docs/images/upstash-2.png


BIN
docs/images/upstash-3.png


BIN
docs/images/upstash-4.png


BIN
docs/images/upstash-5.png


BIN
docs/images/upstash-6.png


BIN
docs/images/upstash-7.png


+ 31 - 0
docs/synchronise-chat-logs-cn.md

@@ -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(⚠切记⚠:不要泄露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 - 0
docs/synchronise-chat-logs-en.md

@@ -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 - 0
docs/synchronise-chat-logs-es.md

@@ -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 - 0
docs/synchronise-chat-logs-ja.md

@@ -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 - 0
docs/synchronise-chat-logs-ko.md

@@ -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)