| .vscode | ||
| app | ||
| models | ||
| public | ||
| server | ||
| src | ||
| .babelrc | ||
| .gitignore | ||
| index.js | ||
| nodemon.json | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| README.md | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| use_case.png | ||
| webpack.config.js | ||
ChatGPT Clone
Wrap all conversational AIs under one roof.
Conversational/Utility AIs are the future and OpenAI revolutionized this movement with ChatGPT. While numerous methods exist to integrate conversational AIs, this app commemorates the original styling of ChatGPT, with the ability to integrate any current/future conversational AI models through user-provided APIs, while also having in mind improved client features, such as conversation search, and prompt templates. This project was also built with the anticipation of the official ChatGPT API from OpenAI, though it uses unofficial packages. Through this clone, you can avoid subscription-based models in favor of either free or pay-per-call APIs. I will most likely not deploy this app, as it's mainly a learning experience, but feel free to clone or fork to create your own custom wrapper.
Origin
This project was originally created as a Minimum Viable Product (or MVP) for the @HackReactor Bootcamp. It was built with OpenAI response streaming and most of the UI completed in under 20 hours. If you're curious what it looked like 20 hours in, you can find the original MVP project here. This was created without using any boilerplates or templates, including create-react-app and other toolchains. The purpose of the exercise was to learn setting up a full stack project from scratch. Please feel free to give feedback, suggestions, or fork the project for your own use.
Updates
2023-02-15
Just got access to Bing AI so I'll be focusing on integrating that through waylaidwanderer's 'experimental' BingAIClient.2023-02-14
Official ChatGPT use is no longer possible though I recently used it with waylaidwanderer's reverse proxy method, and before that, through leaked models he also discovered.
Currently, this project is only functional with the text-davinci-003 model.
Roadmap
Warning
This is a work in progress. I'm building this in public. You can follow the progress here or on my Linkedin.
Here are my planned/recently finished features.
- Rename, delete conversations
- Persistent conversation
- UI Error handling
- AI Model Selection
- Bing AI integration (just got off the waitlist so this is up next!)
- Server convo pagination (limit fetch and load more with 'show more' button)
- Highlight.js for code blocks
- Prompt Templates
- Conversation/Prompt Search
- Config file for easy startup
- Mobile styling (half-finished)
- Semantic Search Option (requires more tokens)
Features
- Response streaming identical to ChatGPT
- UI from original ChatGPT, including Dark mode
- AI model selection
Technologies used
- Utilizes node-chatgpt-api
- Response streaming identical to ChatGPT through server-sent events
- Use of Tailwind CSS (like the official site) and shadcn/ui components
- useSWR, Redux Toolkit, Express, MongoDB, Keyv
Use Cases
- ChatGPT is down ( and don't want to pay for ChatGPT Plus).
- ChatGPT/Google Bard/Bing AI conversations are lost in space or cannot be searched past a certain timeframe.
How to Get Started
Warning
Working on easy startup/config code. Still in development.

