Skip to content

Commit 68a8d29

Browse files
authored
Merge pull request #109 from p4sh4bsc/local_chat
Local chat app
2 parents be1668f + c353132 commit 68a8d29

File tree

6 files changed

+436
-0
lines changed

6 files changed

+436
-0
lines changed

Local-Chat/README.md

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Local Chat
2+
3+
This program allows you to create a channel in the local network for communication between users through the use of a secret key that is generated when a server is created at the host.
4+
5+
# Usage
6+
7+
1. Install the required libraries listed in `requirements.txt` file using `pip`:
8+
9+
```
10+
pip3 install -r requirements.txt
11+
```
12+
13+
2. Run `main.py` to create server.
14+
15+
```
16+
python3 main.py
17+
```
18+
after running the script print S parameter(to create server)
19+
20+
!!! be sure to save the key that the program will give you !!!
21+
22+
23+
<img src="https://github.com/p4sh4bsc/Python-Projects/blob/local_chat/Local-Chat/src/Server.gif" width="500" height="300" />
24+
25+
26+
27+
3. Also run `main.py`, but now we gonna connetct to the server as client.
28+
```
29+
python3 main.py
30+
```
31+
after running the script print C parameter(for connection to the server)
32+
33+
34+
35+
<img src="https://github.com/p4sh4bsc/Python-Projects/blob/local_chat/Local-Chat/src/Client.gif" width="500" height="300" />
36+
37+
38+
39+
4. Start chatting with your friends!
40+
<img src="https://github.com/p4sh4bsc/Python-Projects/blob/local_chat/Local-Chat/src/GUI.png" width="500" height="300" />
41+
42+
43+
44+
# TODO list
45+
1. check users by ip
46+
2. create ports for chat by some hash func
47+
3. create secure connection between users(for sure every non chat user can listening chat by Wireshark)

0 commit comments

Comments
 (0)