2023-05-09 13:47:14 -04:00
2023-03-28 14:12:08 -04:00
< p align = "center" >
2023-04-07 09:42:36 -04:00
< a href = "https://discord.gg/NGaa9RPCft" >
2023-03-28 14:12:08 -04:00
< picture >
< source media = "(prefers-color-scheme: dark)" srcset = "https://user-images.githubusercontent.com/110412045/228325485-9d3e618f-a980-44fe-89e9-d6d39164680e.png" >
< img src = "https://user-images.githubusercontent.com/110412045/228325485-9d3e618f-a980-44fe-89e9-d6d39164680e.png" height = "128" >
< / picture >
< h1 align = "center" > ChatGPT Clone< / h1 >
< / a >
< / p >
< p align = "center" >
2023-04-07 09:42:36 -04:00
< a aria-label = "Join the community on Discord" href = "https://discord.gg/NGaa9RPCft" >
2023-03-28 14:12:08 -04:00
< img alt = "" src = "https://img.shields.io/badge/Join%20the%20community-blueviolet.svg?style=for-the-badge&logo=DISCORD&labelColor=000000&logoWidth=20" >
< / a >
< a aria-label = "Sponsors" href = " #sponsors " >
< img alt = "" src = "https://img.shields.io/badge/SPONSORS-brightgreen.svg?style=for-the-badge&labelColor=000000&logoWidth=20" >
< / a >
< / p >
2023-03-08 10:26:12 -05:00
2023-03-06 18:17:43 -05:00
## All AI Conversations under One Roof. ##
2023-03-28 14:12:08 -04:00
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.
2023-04-07 00:06:05 -04:00

2023-04-05 17:09:04 -04:00
2023-05-09 13:47:14 -04:00
# Features
2023-04-05 17:09:04 -04:00
- 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 ](https://github.com/danny-avila/chatgpt-clone/releases/tag/v0.3.0 )
- Edit and Resubmit messages just like the official site (with conversation branching)
- Search all messages/conversations - [More info here ](https://github.com/danny-avila/chatgpt-clone/releases/tag/v0.1.0 )
2023-04-16 23:12:59 -07:00
- Integrating plugins soon
2023-04-05 17:09:04 -04:00
2023-05-09 13:47:14 -04:00
##
# Sponsors
2023-03-28 14:12:08 -04:00
2023-04-09 07:40:03 -04:00
Sponsored by < a href = "https://github.com/DavidDev1334" >< b > @DavidDev1334 </ b ></ a > , < a href = "https://github.com/mjtechguy" >< b > @mjtechguy </ b ></ a > , < a href = "https://github.com/Pharrcyde" >< b > @Pharrcyde </ b ></ a > , & < a href = "https://github.com/fuegovic" >< b > @fuegovic </ b ></ a >
2023-03-07 13:58:57 -05:00
2023-05-09 13:47:14 -04:00
##
2023-02-14 19:38:28 -05:00
2023-03-22 20:48:47 -04:00
< details open >
2023-05-13 17:09:25 -04:00
< summary > < strong > 2023-05-13< / strong > < / summary >
2023-05-09 22:12:12 -04:00
2023-05-13 17:08:28 -04:00
**Released [v0.4.3 ](https://github.com/danny-avila/chatgpt-clone/releases/tag/v0.4.3 ) which now supports Google's PaLM 2!**

2023-05-07 19:11:00 -04:00
2023-05-13 17:08:28 -04:00
**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
2023-05-11 16:39:44 -04:00
2023-05-13 17:08:28 -04:00
**Note:**
2023-05-11 16:39:44 -04:00
2023-05-13 17:08:28 -04:00
- 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
You can check the full changelog in between v0.4.2 and v0.4.3 [here ](https://github.com/danny-avila/chatgpt-clone/compare/v0.4.2...v0.4.3 ).
2023-05-11 16:39:44 -04:00
2023-05-09 22:12:12 -04:00
⚠️ **IMPORTANT :** Since V0.4.0 You should register and login with a local account (email and password) for the first time sign-up. if you use login for the first time with a social login account (eg. Google, facebook, etc.), the conversations and presets that you created before the user system was implemented will NOT be migrated to that account.
2023-05-07 19:11:00 -04:00
2023-05-09 22:12:12 -04:00
⚠️ **Breaking - new Env Variables :** Since V0.4.0 You will need to add the new env variables from .env.example for the app to work, even if you're not using multiple users for your purposes.
2023-05-07 19:11:00 -04:00
For discussion and suggestion you can join us: ** [community discord server ](https://discord.gg/NGaa9RPCft )**
2023-03-11 23:22:51 -05:00
< / details >
2023-03-09 20:29:44 -05:00
2023-05-11 16:39:44 -04:00
[Past Updates ](CHANGELOG.md )
2023-05-09 13:47:14 -04:00
##
2023-03-09 20:29:44 -05:00
2023-05-09 13:47:14 -04:00
< h1 > Table of Contents< / h1 >
2023-03-09 20:29:44 -05:00
2023-05-09 13:47:14 -04:00
< details open >
< summary > < strong > Getting Started< / strong > < / summary >
2023-02-14 16:33:22 -05:00
2023-05-09 13:47:14 -04:00
* [Docker Install ](/documents/install/docker_install.md )
* [Linux Install ](documents/install/linux_install.md )
* [Mac Install ](documents/install/mac_install.md )
* [Windows Install ](documents/install/windows_install.md )
2023-03-23 11:35:23 -04:00
< / details >
< details >
2023-05-09 13:47:14 -04:00
< summary > < strong > General Information< / strong > < / summary >
2023-03-23 11:35:23 -04:00
2023-05-09 13:47:14 -04:00
* [Project Origin ](documents/general_info/project_origin.md )
* [Roadmap ](documents/general_info/roadmap.md )
* [Tech Stack ](documents/general_info/tech_stack.md )
* [Changelog ](CHANGELOG.md )
* [Bing Jailbreak Info ](documents/general_info/bing_jailbreak_info.md )
2023-03-23 11:35:23 -04:00
< / details >
2023-03-06 18:17:43 -05:00
< details >
2023-05-09 13:47:14 -04:00
< summary > < strong > Features< / strong > < / summary >
2023-03-06 18:17:43 -05:00
2023-05-09 13:47:14 -04:00
* [User Auth System ](documents/features/user_auth_system.md )
* [Proxy ](documents/features/proxy.md )
2023-03-06 18:17:43 -05:00
< / details >
< details >
2023-05-09 13:47:14 -04:00
< summary > < strong > Cloud Deployment< / strong > < / summary >
2023-03-06 18:17:43 -05:00
2023-05-09 13:47:14 -04:00
* [Heroku ](documents/deployment/heroku.md )
2023-03-06 18:17:43 -05:00
< / details >
2023-03-11 16:14:24 +08:00
< details >
2023-05-09 13:47:14 -04:00
< summary > < strong > Contributions< / strong > < / summary >
2023-03-11 16:14:24 +08:00
2023-05-09 13:47:14 -04:00
* [Code of Conduct ](documents/contributions/code_of_conduct.md )
* [Contributor Guidelines ](documents/contributions/contributor_guidelines.md )
* [Documentation Guidelines ](documents/contributions/documentation_guidelines.md )
* [Testing ](documents/contributions/testing.md )
* [Pull Request Template ](documents/contributions/pull_request_template.md )
2023-05-09 22:12:12 -04:00
* [Contributors ](CONTRIBUTORS.md )
* [Trello Board ](https://trello.com/b/17z094kq/chatgpt-clone )
2023-03-11 16:14:24 +08:00
< / details >
< details >
2023-05-09 13:47:14 -04:00
< summary > < strong > Report Templates< / strong > < / summary >
2023-03-11 16:14:24 +08:00
2023-05-09 13:47:14 -04:00
* [Bug Report Template ](documents/report_templates/bug_report_template.md )
* [Custom Issue Template ](documents/report_templates/custom_issue_template.md )
* [Feature Request Template ](documents/report_templates/feature_request_template.md )
2023-03-11 16:14:24 +08:00
< / details >
2023-05-09 22:12:12 -04:00
##
### [Alternative Documentation](https://chatgpt-clone.gitbook.io/chatgpt-clone-docs/get-started/docker)
2023-05-09 13:47:14 -04:00
##
2023-02-14 16:33:22 -05:00
2023-03-06 16:30:16 -05:00
## Contributing
2023-03-22 20:48:47 -04:00
2023-05-09 13:47:14 -04:00
Contributions and suggestions bug reports and fixes are welcome!
Please read the documentation before you do!
2023-03-22 20:48:47 -04:00
For new features, components, or extensions, please open an issue and discuss before sending a PR.
- Join the [Discord community ](https://discord.gg/NGaa9RPCft )
2023-02-14 16:33:22 -05:00
2023-03-06 16:30:16 -05:00
## License
2023-05-09 13:47:14 -04:00
This project is licensed under the [MIT License ](LICENSE.md ).
##
2023-05-13 17:08:28 -04:00
## Star History
[](https://star-history.com/#danny -avila/chatgpt-clone& Date)