meskarune / notify-push

Push notifications out from a server to multiple clients using libnotify
GNU General Public License v3.0
0 stars 0 forks source link

notify-push

Push notifications out from a server to multiple clients using libnotify

Requirements

Server

Run the server with "python3 notify-push-server.py"

Currently its hardcoded to localhost:8888

Client

Run the client with "python notify-push-client.py"

Currently hardcoded to connect to localhost:8888

Testing

Use netcat to send messages to the serve and all connected clients:

nc localhost 8888

Type "quit" to disconect or hit ctrl c

Create key/certificate for SSL

Make sure to set FQDN to 127.0.0.1 or whatever host you are using.

openssl req -nodes -newkey rsa:2048 -keyout selfsigned.key -x509 -out selfsigned.cert

Todo