Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed .DS_Store
Binary file not shown.
75 changes: 0 additions & 75 deletions .github/workflows/docker.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ __pycache__/beep.cpython-311.pyc
hivemq.py
__pycache__/hivemq.cpython-311.pyc
__pycache__/config.cpython-311.pyc
.DS_Store
10 changes: 0 additions & 10 deletions Dockerfile

This file was deleted.

24 changes: 0 additions & 24 deletions LICENSE

This file was deleted.

28 changes: 2 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,2 @@
# m32_chat_server

Simple chat server for [Morserino-32](https://github.com/oe1wkl/Morserino-32)

This server script listens for UDP messages and rebroadcasts them to all other clients.

To "connect" or "make yourself known" to the server, send "hi" message from your Morserino with 20 WPM. Server will respond with ":hi" with number of clients connected (1 means you're alone). After that, server will resend all messages from you to all other known clients (you excluded).

If client is inactive (not transmitting) for too long, it will be dropped from the list. This is indicated by ":bye" message sent from the server. To reconnect, send "hi" again.

You can also force disconnection by sending ":bye".

Additional features:
* empty keepalive UDP packets sent each 10 seconds to avoid NAT timeouts
* number of clients is restricted (to avoid abuse)
* small delay is introduced (to avoid abuse)

**Caution: UDP keepalive messages, while invisible, prevent your Morserino-32 from auto-shutdown!**

# Running the application
docker build . -t m32_chat_server
docker run --rm -it -p 7373:7373/udp m32_chat_server

# Scrapboook
mosquitto_sub -h broker.hivemq.com -p 1883 -t m32_test

Moved and merged in this repo:
https://github.com/Morse-Code-over-IP/chatserver-mopp-udp
2 changes: 0 additions & 2 deletions TODO

This file was deleted.

Binary file removed __pycache__/config.cpython-312.pyc
Binary file not shown.
Binary file removed __pycache__/mopp.cpython-312.pyc
Binary file not shown.
44 changes: 0 additions & 44 deletions beep.py

This file was deleted.

13 changes: 0 additions & 13 deletions config.py

This file was deleted.

7 changes: 0 additions & 7 deletions m32-chat-server.code-workspace

This file was deleted.

125 changes: 0 additions & 125 deletions mopp.py

This file was deleted.

46 changes: 0 additions & 46 deletions mqtt_client_receiver.py

This file was deleted.

Loading