bandinopla / pc-remote

Python App that runs on the PC and serves a React App that you access from your phone to control the mouse and keyboard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PC-Remote

PC-Remote is a python desktop app that runs on the PC you want to control, it will open a console window showing a QR code and a url, you must access that url from your phone to start controlling the mouse and keyboard.

it takes a few seconds to load because it is compressed in a single .exe

| | |

How it's made

The server is written in Python and it uses pyautogui to control the mouse and keyboard. It creates a WebSocket server and a simple HTTPServer used to deliver the front end app which is done in React

Getting Started

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm run dev-server

Runs the python server on watch mode on your local machine to develop, so you can change the server code and it will auto-reload on changes.

npm start

Runs the react front-end app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.

npm run build

Builds the front-end app for production to the build folder.

npm run compile

You should run build BEFORE running compile
Compiles the proyect into a single .exe file in the folder dist
It will grab the code in the build forlder and pack it in the EXE.

Source files

React App files live inside the src folder
Python Server files live inside py-src folder

About

Python App that runs on the PC and serves a React App that you access from your phone to control the mouse and keyboard


Languages

Language:JavaScript 70.5%Language:Python 18.7%Language:CSS 6.2%Language:HTML 4.6%