https://github.com/doctorpok42/chatroom
Small online chat application that lets you chat with several people at the same time.
https://github.com/doctorpok42/chatroom
chatroom python
Last synced: 3 months ago
JSON representation
Small online chat application that lets you chat with several people at the same time.
- Host: GitHub
- URL: https://github.com/doctorpok42/chatroom
- Owner: DoctorPok42
- License: mit
- Created: 2023-12-05T09:11:47.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-09T09:13:02.000Z (over 1 year ago)
- Last Synced: 2025-01-10T09:20:28.653Z (4 months ago)
- Topics: chatroom, python
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ChatRoom
## Description
Petite application de chat en ligne, permettant de discuter avec plusieurs personnes en même temps.
## Installation
1. Cloner le projet
2. Installer les dépendances avec la commande```bash
pip install -r requirements.txt
```## Utilisation
1. Crée un fichier .env à la racine du projet
2. Ajouter les variables d'environnement suivantes```bash
SERVER_HOST= # Adresse IP du serveur
SERVER_PORT= # Port du serveur
```3. Lancer le serveur avec la commande
```bash
python .\server\server.py
```4. Lancer le client avec la commande
```bash
python .\src\main.py
```## Commandes
- `/exit` : Quitter le chat
- `/p ` : Envoyer un message privé à un utilisateur
- `@` : Mentionner un utilisateur
- `@everyone` : Mentionner tout le monde## License
MIT