From 638faf9850e5d8330acefa42e8a3368191b3a472 Mon Sep 17 00:00:00 2001 From: Danny Avila <110412045+danny-avila@users.noreply.github.com> Date: Mon, 5 Jun 2023 14:24:08 -0400 Subject: [PATCH] Release: rename project from ChatGPT Clone to LibreChat in various files and configurations (#454) --- SECURITY.md | 4 ++-- api/.env.example | 6 +++--- api/package.json | 6 +++--- client/.env.example | 2 +- client/index.html | 2 +- client/package.json | 6 +++--- client/src/components/Endpoints/BingAI/Settings.jsx | 2 +- client/src/components/Input/Footer.jsx | 4 ++-- client/src/components/ui/Landing.jsx | 11 +---------- docker-compose.yml | 4 ++-- docs/general_info/roadmap.md | 2 +- package-lock.json | 4 ++-- package.json | 8 ++++---- 13 files changed, 26 insertions(+), 35 deletions(-) diff --git a/SECURITY.md b/SECURITY.md index d478fbf09..5707f226d 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -22,7 +22,7 @@ We will make every effort to acknowledge your report within 72 hours and keep yo ## Security Updates and Patching -We are committed to maintaining the security of our open-source project named ChatGPT-Clone and promptly addressing any identified vulnerabilities. To ensure the security of our project, we follow these practices: +We are committed to maintaining the security of our open-source project named LibreChat and promptly addressing any identified vulnerabilities. To ensure the security of our project, we follow these practices: - We prioritize security updates for the current major release of our software. - We actively monitor the GitHub Security Advisory system and the `#issues` channel on Discord for any vulnerability reports. - We promptly review and validate reported vulnerabilities and take appropriate actions to address them. @@ -32,7 +32,7 @@ Please note that as a security-conscious community, we may not always disclose d ## Scope This security policy applies to the following GitHub repository: -- Repository: [ChatGPT-Clone](https://github.com/danny-avila/chatgpt-clone) +- Repository: [LibreChat](https://github.com/danny-avila/chatgpt-clone) ## Contact If you have any questions or concerns regarding the security of our project, please join our [Discord community](https://discord.gg/NGaa9RPCft) and report them in the appropriate channel. diff --git a/api/.env.example b/api/.env.example index 81c4cd598..a98f64ff5 100644 --- a/api/.env.example +++ b/api/.env.example @@ -16,8 +16,8 @@ NODE_ENV=production # It's useful if your machine has difficulty calling the original API server. # PROXY= -# Change this to your MongoDB URI if different. I recommend appending chatgpt-clone. -MONGO_URI=mongodb://127.0.0.1:27017/chatgpt-clone +# Change this to your MongoDB URI if different. I recommend appending LibreChat. +MONGO_URI=mongodb://127.0.0.1:27017/LibreChat ########################## # OpenAI Endpoint: @@ -61,7 +61,7 @@ OPENAI_MODELS=gpt-3.5-turbo,gpt-3.5-turbo-0301,text-davinci-003,gpt-4 # Also used for Sydney and jailbreak # To get your Access token for Bing, login to https://www.bing.com # Use dev tools or an extension while logged into the site to copy the content of the _U cookie. -#If this fails, follow these instructions https://github.com/danny-avila/chatgpt-clone/issues/370#issuecomment-1560382302 to provide the full cookie strings. +#If this fails, follow these instructions https://github.com/danny-avila/LibreChat/issues/370#issuecomment-1560382302 to provide the full cookie strings. # Set to "user_provided" to allow the user to provide its token from the UI. # Leave it blank to disable this endpoint. BINGAI_TOKEN="user_provided" diff --git a/api/package.json b/api/package.json index a31747ddf..ae473ebb9 100644 --- a/api/package.json +++ b/api/package.json @@ -9,15 +9,15 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/danny-avila/chatgpt-clone.git" + "url": "git+https://github.com/danny-avila/LibreChat.git" }, "keywords": [], "author": "", "license": "ISC", "bugs": { - "url": "https://github.com/danny-avila/chatgpt-clone/issues" + "url": "https://github.com/danny-avila/LibreChat/issues" }, - "homepage": "https://github.com/danny-avila/chatgpt-clone#readme", + "homepage": "https://github.com/danny-avila/LibreChat#readme", "dependencies": { "@dqbd/tiktoken": "^1.0.2", "@keyv/mongo": "^2.1.8", diff --git a/client/.env.example b/client/.env.example index 322d44d33..24a6973f6 100644 --- a/client/.env.example +++ b/client/.env.example @@ -3,7 +3,7 @@ ########################### # Custom app name, this text will be displayed in the landing page and the footer. -VITE_APP_TITLE="ChatGPT Clone" +VITE_APP_TITLE="LibreChat" ########################### # Server URL configuration: diff --git a/client/index.html b/client/index.html index d81d0bf3d..6d6c1dbf5 100644 --- a/client/index.html +++ b/client/index.html @@ -3,7 +3,7 @@ - ChatGPT Clone + LibreChat diff --git a/client/src/components/Input/Footer.jsx b/client/src/components/Input/Footer.jsx index 4c0f0d1dd..d1c75ab30 100644 --- a/client/src/components/Input/Footer.jsx +++ b/client/src/components/Input/Footer.jsx @@ -4,12 +4,12 @@ export default function Footer() { return (
- {import.meta.env.VITE_APP_TITLE || 'ChatGPT Clone'} + {import.meta.env.VITE_APP_TITLE || 'LibreChat'} . Serves and searches all conversations reliably. All AI convos under one house. Pay per call and not per month (cents compared to dollars). diff --git a/client/src/components/ui/Landing.jsx b/client/src/components/ui/Landing.jsx index 5c7007496..6b8499581 100644 --- a/client/src/components/ui/Landing.jsx +++ b/client/src/components/ui/Landing.jsx @@ -1,16 +1,12 @@ -import React, { useState } from 'react'; import { useRecoilValue, useSetRecoilState } from 'recoil'; import useDocumentTitle from '~/hooks/useDocumentTitle'; -import Templates from '../ui/Templates'; import SunIcon from '../svg/SunIcon'; import LightningIcon from '../svg/LightningIcon'; import CautionIcon from '../svg/CautionIcon'; -import ChatIcon from '../svg/ChatIcon'; import store from '~/store'; export default function Landing() { - const [showingTemplates, setShowingTemplates] = useState(false); const setText = useSetRecoilState(store.text); const conversation = useRecoilValue(store.conversation); const { title = 'New Chat' } = conversation || {}; @@ -24,11 +20,6 @@ export default function Landing() { setText(quote); }; - const showTemplates = (e) => { - e.preventDefault(); - setShowingTemplates(!showingTemplates); - }; - return (
@@ -36,7 +27,7 @@ export default function Landing() { id="landing-title" className="mb-10 ml-auto mr-auto mt-6 flex items-center justify-center gap-2 text-center text-4xl font-semibold sm:mb-16 md:mt-[10vh]" > - {import.meta.env.VITE_APP_TITLE || 'ChatGPT Clone'} + {import.meta.env.VITE_APP_TITLE || 'LibreChat'}
diff --git a/docker-compose.yml b/docker-compose.yml index 397c96938..1ab383eba 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,7 +14,7 @@ services: # depends_on: # - api api: - container_name: chat-clone + container_name: LibreChat ports: - 3080:3080 # Change it to 9000:3080 to use nginx depends_on: @@ -30,7 +30,7 @@ services: environment: - HOST=0.0.0.0 - NODE_ENV=production - - MONGO_URI=mongodb://mongodb:27017/chatgpt-clone + - MONGO_URI=mongodb://mongodb:27017/LibreChat # - CHATGPT_REVERSE_PROXY=http://host.docker.internal:8080/api/conversation # if you are hosting your own chatgpt reverse proxy - MEILI_HOST=http://meilisearch:7700 - MEILI_HTTP_ADDR=meilisearch:7700 diff --git a/docs/general_info/roadmap.md b/docs/general_info/roadmap.md index 8732f2f87..3fe80bedf 100644 --- a/docs/general_info/roadmap.md +++ b/docs/general_info/roadmap.md @@ -1,6 +1,6 @@ # Roadmap -## For the most up to date information: [chatgpt-clone | Trello](https://trello.com/b/17z094kq/chatgpt-clone) +## For the most up to date information: [LibreChat | Trello](https://trello.com/b/17z094kq/chatgpt-clone) Here are my recently completed and planned features: diff --git a/package-lock.json b/package-lock.json index 5aa9a4f89..cb370a543 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "chatgpt-clone", + "name": "LibreChat", "version": "0.4.7", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "chatgpt-clone", + "name": "LibreChat", "version": "0.4.7", "license": "ISC", "workspaces": [ diff --git a/package.json b/package.json index 0fc05f288..2ecbe7527 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "chatgpt-clone", + "name": "LibreChat", "version": "0.4.7", "description": "", "workspaces": [ @@ -22,14 +22,14 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/danny-avila/chatgpt-clone.git" + "url": "git+https://github.com/danny-avila/LibreChat.git" }, "author": "", "license": "ISC", "bugs": { - "url": "https://github.com/danny-avila/chatgpt-clone/issues" + "url": "https://github.com/danny-avila/LibreChat/issues" }, - "homepage": "https://github.com/danny-avila/chatgpt-clone#readme", + "homepage": "https://github.com/danny-avila/LibreChat#readme", "devDependencies": { "@playwright/test": "^1.32.1", "@typescript-eslint/eslint-plugin": "^5.59.6",