xtekky/chatgpt-clone
xtekky/chatgpt-clone has 3,488 GitHub stars and 986 forks. GitHot measured -1 stars in 24 hours and +1 in 7 days. Last checked 2026-11-12 11:38 UTC. Last push 2024-05-22.
Comment ces chiffres sont mesurés
ChatGPT interface with better UI
Progression mesurée des étoiles
- in 24h
- -1
- in 7 days
- +1
- in 15 days
- Mise à jour retardée
- in 1 month
- Mise à jour retardée
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalDevelopment 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
- Double confirm when deleting conversation
- remember user preferences
- 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:
- Navigate to the root directory of your project.
cd chatgpt-clone
- Run the following command to create a new virtual environment:
python -m venv venv
- 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
- 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 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
Explorer des projets similaires
codecrafters-io/build-your-own-x
Maîtrisez la programmation en recréant de zéro vos technologies préférées.
562,145 étoilespublic-apis/public-apis
Une liste collective d'API gratuites
498,539 étoilesmorluto/rea
Rétro-ingénierie de n'importe quoi avec des agents, du comportement des applications jusqu'aux binaires natifs.
455,312 étoilesopenclaw/openclaw
L'IA qui fait vraiment les choses. Tout système d'exploitation, toute plateforme. À la manière du homard. 🦞
394,411 étoiles