2020-07-10 01:42:40 +00:00
|
|
|
# Remote-Mouse
|
2020-05-28 18:07:53 +00:00
|
|
|
Remote Mouse is a flask + pyautogui app to control a PC from your phone or any other device.
|
|
|
|
|
2020-07-10 01:39:01 +00:00
|
|
|
# Fixes
|
2020-07-28 19:10:17 +00:00
|
|
|
* Added delete button.
|
|
|
|
* Disabled touch zoom-in.
|
2020-07-10 01:39:01 +00:00
|
|
|
|
2020-05-28 18:07:53 +00:00
|
|
|
# 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
|
2020-07-10 01:39:01 +00:00
|
|
|
``` source bin/activate ```
|
2020-05-28 18:07:53 +00:00
|
|
|
|
|
|
|
Windows
|
2020-07-10 01:44:26 +00:00
|
|
|
``` source venv/bin/Scripts/activate ```
|
2020-05-28 18:07:53 +00:00
|
|
|
|
|
|
|
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 ```
|
|
|
|
|
2021-07-19 02:59:33 +00:00
|
|
|
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/;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
2020-05-28 18:07:53 +00:00
|
|
|
# Images
|
|
|
|
![1 Interface.... ](images/pic1.png)
|
|
|
|
|
|
|
|
# TODO
|