Skip to content

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

Notifications You must be signed in to change notification settings

bandinopla/pc-remote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published