/async-desktop-chat

Async GUI with PySimpleGUI

Primary LanguagePython

★★★ async-desktop-chat ★★★

An advanced topic - async GUI with PySimpleGUI.

If you want "websockets" + "async" + "GUI", then you are in the right place.

gif

Usage

#      _                 _      
#     (_)               | |     
#  ___ _ _ __ ___  _ __ | | ___ 
# / __| | '_ ` _ \| '_ \| |/ _ \
# \__ \ | | | | | | |_) | |  __/
# |___/_|_| |_| |_| .__/|_|\___|
#                 | |           
#                 |_|           

# Starts your client app
python3 client.py

# Starts your server app
python3 server.py

Architecture:


Couple of diagrams for websocket understading

Languages\Языки: Русские + English

English

Main connection diagram

en.diagram-start

How to change your name

en.diagram2_1

How to send message to public board (public message)

en.diagram2_2

How to send message to a user (private message)

en.diagram2_3


Русские

Основная

ru.diagram-start

Как сменить имя

ru.diagram2_1

Как послать сообщение всем

ru.diagram2_2

Как послать сообщение одногому юзеру (приватное сообщение)

ru.diagram2_3