- Clone repo:
git clone https://github.com/IvanIsak2000/cosmoterm.git
- Change folder:
cd src
- Activate poetry :
poetry shell
- Install dependencies:
poetry install
Action | Description | Short command | Full command |
---|---|---|---|
Read message | Run server to get messages on your PC | python3 server.py |
python3 server.py -p/ --port <custom port, default 5000> |
Send message | Connect to other PC and send message | python3 main.py <host> <port> <password> |
python3 main.py -a/ --action <host> <port> <password> -m/ --message Hello!! |
To receive a message, you need to enable the server part of the program:
The QR code is created from your "host", "port" and the "password" automatically created for the current session, and then all this is recorded in the QR code
Let's say we want to send a message to a friend, for this open the terminal and write:
python3 main.py <host> <port> <password>
The server is waiting for the connection
server.py
main.py
server.py
main.py
#history.toml
[friend host]
"2023-05-23 09:15:58" = "Hi!"
#server.log
023-05-23 09:21:53,459 INFO __main__ ('192.168.0.139', 24043): Hi! True
#client.log
2023-05-23 09:31:39,234 INFO __main__ 192.168.0.139: Hi
It's possible to submit a bug report or a feature request via GitHub issues
Checkout contributing guidelines