PC_Control is a project aimed at controlling your PC remotely using your smartphone. It involves setting up a server on your PC written in C++, where you can connect via your phone to send and execute scripts. The supported script types include JavaScript (js), Python (py), Bash (bash), and Shell (sh) scripts. After executing the script, the server returns the status to the user indicating whether the script was executed successfully or not.
- Remote control of your PC using a smartphone.
- Supports execution of JavaScript, Python, Bash, and Shell scripts.
- Provides status feedback after script execution.
- Scripts must be located in a folder named
.scriptsin the user's home directory. - the port used by the server is
8070
-
Clone the repository to your local machine:
git clone https://github.com/Abdelrahmanosama372/PC_Control.git
-
Navigate to the project directory:
cd PC_Control -
Create and navigate to the build directory:
mkdir build cd build -
Generate the build files using CMake:
cmake ..
-
Build the server:
make
-
Start the server:
./PC_control
-
Connect to the server using a TCP client.
-
Select the script you want to execute and send it to the server.
-
The server will execute the script and return the status of the execution to the client.
You can use the TCP/UDP Server & Client app available on Google Play Store to connect to the server from your smartphone: Download TCP/UDP Server & Client App
Contributions are welcome! If you have any ideas for improvement or bug fixes, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.