- Send messages to any connected client.
- Messages appear as popup windows on the client's screen.
- Run
server.py
in your home server (e.g. Raspberry pi) - Find
client.exe
in Releases and run on any Windows PC - Enter your server IP address in client end (only required by first time).
You can set up server.py to run as a systemd service. This will ensure that the server restarts automatically in case of an accidental close or machine restart.
- Create the systemd Service File: Define the service configuration.
- Enable and Start the Service: Enable the service to start at boot and start it immediately.
Create a new service file for your server. You can do this by creating a file in the /etc/systemd/system/
directory. For example, create a file named messagehub.service
:
sudo nano /etc/systemd/system/messagehub.service
Add the following content to the file:
[Unit]
Description=MessageHub Server
After=network.target
[Service]
ExecStart=/usr/bin/python3 /path/to/your/server.py
WorkingDirectory=/path/to/your/working/directory
Restart=always
RestartSec=5
User=yourusername
StandardOutput=append:/var/log/homechat.log
StandardError=append:/var/log/homechat.log
[Install]
WantedBy=multi-user.target
Replace /path/to/your/server.py
with the actual path to your server.py actual path. For me this is: /home/specdy/HomeMalwarePopups/server.py
.
Replace /path/to/your/working/directory
with the directory where your server should run. For me this is: /home/specdy/HomeMalwarePopups
.
Replace yourusername
with actual username.
Reload the systemd manager configuration to recognize the new service:
sudo systemctl daemon-reload
sudo systemctl enable messagehub.service
sudo systemctl start messagehub.service
sudo systemctl status messagehub.service
You should see output indicating that the service is active and running.
- You can change the host ip address in
ip_address.txt
after first use. - Right click icon in system tray after minimized.
ip_address.txt
is located inC:\Users\<Username>\AppData\Roaming\annoybox\
- When clients receive message, it will be automatically copied to clipboard.