Files
2025-11-03 14:23:10 +05:30

22 lines
515 B
Bash
Executable File

# 1) OS deps for PyAutoGUI (Linux)
sudo apt update && sudo apt install -y python3-tk python3-dev scrot
# 2) Python deps (run inside your httprd folder)
pip install -r requirements.txt
# 4) From viewer machine, open in browser:
# http://<SERVER-IP>:7417
hostname -I | awk '{print $1}' # (shows server IP)
sudo ufw allow 7417/tcp # open firewall if needed
python httprd.py
# 3) Run the server (set your passwords)
python3 httprd.py --port 7417 --password 'CONTROL123' --view_password 'VIEW123'