Enhanced ChatGPT Clone: Features Agents, MCP, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active. https://librechat.ai/
Find a file
Anirudh ee2b3e4fb2
Refactor UI styles & configurations (#324)
* Refactor UI styles & configurations

-  Modify button styles and their color schemes to create a consistent user experience when interacting with buttons.
-  Adjust the design of the search bar to a more user-friendly layout by changing its background color and styling.
-  Create a responsive mobile behavior for the navigation bar to hide it behind a menu icon instead of permanently displaying it.

* Update .gitignore to exclude unnecessary files for Meilisearch

Update .gitignore to exclude meilisearch.exe and data.ms/*, which are not necessary for Meilisearch.

* feat: Add getCurrentBreakpoint function to get current breakpoint

This commit adds a getCurrentBreakpoint function to determine the current breakpoint of the viewport. The function uses fullConfig to determine the biggest breakpoint value of the window, and returns the corresponding breakpoint. It also updates the useEffect function to use getCurrentBreakpoint instead of checking if the userAgent matches a mobile regex.

* Update tailwind import path in Nav component

The import path for the tailwind config was updated in the Nav component to match the new project structure. This ensures that the correct Tailwind styles are applied to the component and improves maintainability.

* Add ThemeContext and cn utility function to Nav component

This commit adds the ThemeContext and cn utility function to the Nav component's dependencies with useContext and import respectively. It also modifies a class name with a ternary operator that toggles based on the theme value passed via ThemeContext.

* Update Nav button styles for better visibility

Changed the button styles for the Nav close and open buttons to enhance visibility. The text color for both buttons will now change when hovering to gray and gray-600 respectively.

* Improve message header styles and add transition effects

This commit updates the MessageHeader component styles by adjusting the text color, as well as adding transition effects to enhance the hover experience. The commit also tweaks mobile styles by adding a transition effect to `.nav` when resizing the window to mobile size.

* Refactor the message header component styling for better visual contrast

The message header component was refactored to improve its visual contrast by changing the text color for better readability. The styles of the component were modified to improve hover behavior as well as transition effects. The setSaveAsDialogShow method was shifted to the onClick prop to only execute when the endpoint is not 'chatGPTBrowser'.

* refactor: Update styling of MessageHeader and Nav buttons

The commit message describes changes made to the MessageHeader and Nav components. It summarizes the code changes as a refactor of the CSS styling for the buttons in both components, specifically updating the text and hover colors for the dark and light themes.
2023-05-19 10:51:34 -04:00
.github Docs/security guideline (#295) 2023-05-17 19:23:58 -04:00
.husky Build/Refactor: lint pre-commit hook and reformat repo to spec (#314) 2023-05-18 14:09:31 -04:00
api fix(auth.service.js): fixes deprecated error callback in mongoose save method (#323) 2023-05-18 20:08:35 -04:00
client Refactor UI styles & configurations (#324) 2023-05-19 10:51:34 -04:00
documents fix duplicate instructions (#310) 2023-05-17 20:18:50 -04:00
e2e Build/Refactor: lint pre-commit hook and reformat repo to spec (#314) 2023-05-18 14:09:31 -04:00
images update readme 2023-03-07 14:51:41 -05:00
.dockerignore Release 0.4.5 (#282) 2023-05-16 14:30:24 -04:00
.eslintrc.js fix: turn off react-in-jsx-scope rule (#317) 2023-05-18 15:12:19 -04:00
.gitignore chore: NPM Workspaces and scripts (#244) 2023-05-12 09:40:14 -04:00
.prettierrc.js Build/Refactor: lint pre-commit hook and reformat repo to spec (#314) 2023-05-18 14:09:31 -04:00
CHANGELOG.md Release 0.4.4 (#271) 2023-05-14 20:39:40 -04:00
CONTRIBUTORS.md Update README.md to v0.4.1 (#224) 2023-05-09 22:12:12 -04:00
docker-compose.yml chore: bump version to 0.4.1 in package.json files (#222) 2023-05-09 17:57:04 -04:00
Dockerfile Release 0.4.5 (#282) 2023-05-16 14:30:24 -04:00
Dockerfile-app Release 0.4.5 (#282) 2023-05-16 14:30:24 -04:00
eslintrc-stripped.js fix: turn off react-in-jsx-scope rule (#317) 2023-05-18 15:12:19 -04:00
LICENSE.md update documentation structure (#220) 2023-05-09 13:47:14 -04:00
lint-staged.config.js Build/Refactor: lint pre-commit hook and reformat repo to spec (#314) 2023-05-18 14:09:31 -04:00
meilisearch.yml chore: update meilisearch compose 2023-03-22 20:12:38 -04:00
package-lock.json chore: dependabot updates (#319) 2023-05-18 15:32:03 -04:00
package.json Build/Refactor: lint pre-commit hook and reformat repo to spec (#314) 2023-05-18 14:09:31 -04:00
README.md Update README.md 2023-05-17 14:48:47 -04:00
SECURITY.md Docs/security guideline (#295) 2023-05-17 19:23:58 -04:00

ChatGPT Clone

All AI Conversations under One Roof.

Assistant AIs are the future and OpenAI revolutionized this movement with ChatGPT. While numerous UIs exist, this app commemorates the original styling of ChatGPT, with the ability to integrate any current/future AI models, while integrating and improving upon original client features, such as conversation/message search and prompt templates (currently WIP). Through this clone, you can avoid ChatGPT Plus in favor of free or pay-per-call APIs. I will soon deploy a demo of this app. Feel free to contribute, clone, or fork. Currently dockerized.

clone3

Features

  • Response streaming identical to ChatGPT through server-sent events
  • UI from original ChatGPT, including Dark mode
  • AI model selection (through 3 endpoints: OpenAI API, BingAI, and ChatGPT Browser)
  • Create, Save, & Share custom presets for OpenAI and BingAI endpoints - More info on customization here
  • Edit and Resubmit messages just like the official site (with conversation branching)
  • Search all messages/conversations - More info here
  • Integrating plugins soon

Sponsors

Sponsored by @DavidDev1334, @mjtechguy, @Pharrcyde, & @fuegovic

Google's PaLM 2 is now supported as of v0.4.3

image

How to Setup PaLM 2 (via Google Cloud Vertex AI API) - Enable the Vertex AI API on Google Cloud: - - https://console.cloud.google.com/vertex-ai - Create a Service Account: - - https://console.cloud.google.com/projectselector/iam-admin/serviceaccounts/create?walkthrough_id=iam--create-service-account#step_index=1 - Make sure to click 'Create and Continue' to give at least the 'Vertex AI User' role. - Create a JSON key, rename as 'auth.json' and save it in /api/data/.

Alternatively

  • In your ./api/.env file, set PALM_KEY as "user_provided" to allow the user to provide a Service Account key JSON from the UI.
  • They will follow the steps above except for renaming the file, simply importing the JSON when prompted.
  • The key is sent to the server but never saved except in your local storage

Note:

  • Vertex AI does not (yet) support response streaming for text generations, so response may seem to take long when generating a lot of text.
  • Text streaming is simulated

Read all Latest Updates here

Table of Contents

Getting Started
General Information
Features
Cloud Deployment
Contributions
Report Templates

Alternative Documentation

Star History

Star History Chart

Contributors

Contributions and suggestions bug reports and fixes are welcome! Please read the documentation before you do!

For new features, components, or extensions, please open an issue and discuss before sending a PR.

This project exists in its current state thanks to all the people who contribute