Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xtekky/chatgpt-clone
ChatGPT interface with better UI
https://github.com/xtekky/chatgpt-clone
chatgpt chatgpt-api chatgpt-app chatgpt-clone gpt-4 gpt-4-api gpt-interface gpt3 gpt4 gpt4-api gpt4all interface language language-model site ui
Last synced: 2 days ago
JSON representation
ChatGPT interface with better UI
- Host: GitHub
- URL: https://github.com/xtekky/chatgpt-clone
- Owner: xtekky
- License: gpl-3.0
- Created: 2023-04-18T11:13:00.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-22T17:08:45.000Z (8 months ago)
- Last Synced: 2025-01-09T23:00:58.399Z (2 days ago)
- Topics: chatgpt, chatgpt-api, chatgpt-app, chatgpt-clone, gpt-4, gpt-4-api, gpt-interface, gpt3, gpt4, gpt4-api, gpt4all, interface, language, language-model, site, ui
- Language: Python
- Homepage: https://g4f.ai
- Size: 170 KB
- Stars: 3,494
- Watchers: 50
- Forks: 1,035
- Open Issues: 58
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- starred - xtekky/chatgpt-clone - ChatGPT interface with better UI (Python)
- awesome-ChatGPT-repositories - chatgpt-clone - ChatGPT interface with better UI (NLP)
- StarryDivineSky - xtekky/chatgpt-clone
- awesome-chatgpt - xtekky/chatgpt-clone - ChatGPT interface with better UI (UIs / Web applications)
- AiTreasureBox - xtekky/chatgpt-clone - 01-07_3492_0](https://img.shields.io/github/stars/xtekky/chatgpt-clone.svg) |ChatGPT interface with better UI| (Repos)
README
Development of this repository is currently in a halt, due to lack of time. Updates are comming end of June.
working again ; )
I am very busy at the moment so I would be very thankful for contributions and PR's## To do
- [x] Double confirm when deleting conversation
- [x] remember user preferences
- [x] theme changer
- [ ] loading / exporting a conversation
- [ ] speech output and input (elevenlabs; ex: https://github.com/cogentapps/chat-with-gpt)
- [ ] load files, ex: https://github.com/mayooear/gpt4-pdf-chatbot-langchain
- [ ] better documentation
- [ ] use react / faster backend language ? (newbies may be more confused and discouraged to use it)
# ChatGPT Clone
feel free to improve the code / suggest improvements## Getting Started
To get started with this project, you'll need to clone the repository and set up a virtual environment. This will allow you to install the required dependencies without affecting your system-wide Python installation.### Prequisites
Before you can set up a virtual environment, you'll need to have Python installed on your system. You can download Python from the official website: https://www.python.org/downloads/### Cloning the Repository
Run the following command to clone the repository:
```
git clone https://github.com/xtekky/chatgpt-clone.git
```### Setting up a Virtual Environment
To set up a virtual environment, follow these steps:1. Navigate to the root directory of your project.
```
cd chatgpt-clone
```
2. Run the following command to create a new virtual environment:
```
python -m venv venv
```
3. Activate the virtual environment by running the following command:
```
source venv/bin/activate
```
If you are using fish shell, the command will be slightly different:
```
source venv/bin/activate.fish
```
If you're on Windows, the command will be slightly different:
```
venv\Scripts\activate
```
4. Install the required dependencies by running the following command:
```
pip install -r requirements.txt
```### Configure the Application
To configure the application, there are a few properties that can be set either via the environment or via config.json. The environment variable takes priority.| Field | Env Variable | config.json | examples |
|---------------------|-----------------|-----------------|----------------------------------------------------|
| The OpenAI Api Key | OPENAI_API_KEY | openai_key | sk-...
| The OpenAI Base URL | OPENAI_API_BASE | openai_api_base | https://api.openai.com
http://my-reverse-proxy/Use the Base URL if you need to run your queries through a reverse proxy (like [this one](https://github.com/stulzq/azure-openai-proxy) which will run your queries through Azure's OpenAI endpoints )
### Running the Application
To run the application, make sure the virtual environment is active and run the following command:
```
python run.py
```### Docker
The easiest way to run ChatGPT Clone is by using docker
```
docker-compose up
```