An open API service indexing awesome lists of open source software.

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.

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