Remote-Mouse/README.md

72 lines
1.4 KiB
Markdown

# Remote-Mouse
Remote Mouse is a flask + pyautogui app to control a PC from your phone or any other device.
# Fixes
* Added delete button.
* Disabled touch zoom-in.
# Notes
* Need python 2+
* Make sure to change the port in the start script as needed. Have fun!
* For Linux you will need to do sudo -i before running the script.
# Setup
*** Change directory to Remote-Mouse/ or rename the folder before doing so.
``` python3 -m venv venv/ ```
Linux/Mac
``` source bin/activate ```
Windows
``` source venv/bin/Scripts/activate ```
Linux/Mac
``` pip install -r linux-requirements.txt ```
Windows
``` pip install -r windows-requirements.txt ```
``` cd src/ ```
Linux/Mac
``` ./linux-start.sh ```
Windows
``` ./windows-start.sh ```
Nginx Setup Example
```
server {
listen 80 ;
# Use your hosts file or router DNSmasq to redirect www.remoteconn.com to your local server.
server_name www.remoteconn.com remoteconn.com;
error_log /tmp/remoteconn-nginx-error.log error;
location /socket.io {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_redirect off;
#proxy_buffering off;
proxy_pass http://127.0.0.1:8088/socket.io;
}
location / {
proxy_pass http://127.0.0.1:8088/;
}
}
```
# Images
![1 Interface.... ](images/pic1.png)
# TODO