- Send messages to any connected client.
- Messages appear as popup windows on the client's screen.
- Auto setup server.py on your home server with a single command:
curl -fsSL https://raw.githubusercontent.com/Spec-DY/popup-window/main/server/setup.sh | bash - Download
clientin Release for Windows, Ubuntu or Android - Enter your server IP address in client end (only required by first time).
Update server:
curl -fsSL https://raw.githubusercontent.com/Spec-DY/popup-window/main/server/update.sh | bashYou 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 popup.service:
sudo nano /etc/systemd/system/popup.serviceAdd the following content to the file:
[Unit]
Description=Popup 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/popup.log
StandardError=append:/var/log/popup.log
[Install]
WantedBy=multi-user.targetReplace /path/to/your/server.py with the actual path to your server.py actual path. For me this is: /home/specdy/popup-window/server.py.
Replace /path/to/your/working/directory with the directory where your server should run. For me this is: /home/specdy/popup-window.
Replace yourusername with actual username.
Reload the systemd manager configuration to recognize the new service:
sudo systemctl daemon-reload
sudo systemctl enable popup.service
sudo systemctl start popup.service
sudo systemctl status popup.serviceYou should see output indicating that the service is active and running.
- You can change the host ip address in
ip_address.txtafter first use. - Right click icon in system tray after minimized.
ip_address.txtis located inC:\Users\<Username>\AppData\Roaming\annoybox\- When clients receive message, it will be automatically copied to clipboard.