https://github.com/corentinth/pc-remote-control
Shutdown, put in sleep mode or lock your computer remotely using your phone.
https://github.com/corentinth/pc-remote-control
Last synced: 9 months ago
JSON representation
Shutdown, put in sleep mode or lock your computer remotely using your phone.
- Host: GitHub
- URL: https://github.com/corentinth/pc-remote-control
- Owner: CorentinTh
- License: mit
- Created: 2018-04-27T11:42:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-28T09:45:13.000Z (over 7 years ago)
- Last Synced: 2025-02-13T11:35:19.783Z (11 months ago)
- Language: HTML
- Homepage:
- Size: 616 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/CorentinTh/pc-remote-control/blob/master/LICENSE)
# pc-remote-control
Small app allowing you to shutdown, put in sleep mode or lock your computer remotely using your phone.
## How to use it?
### Installation
To install this app, just `git clone` and `npm install` this repository:
``` bash
git clone https://github.com/CorentinTh/pc-remote-control.git
cd pc-remote-control
npm install
```
### Usage
To launch the app run:
``` bash
npm start
```
Then, on your phone or tablet browse for `http://your-local-ip:3000`. You should have the following page:

Just press a button and you will be asked for a password. By default the password is `azerty`, you can change it by modifying the first line of the `index.js` ([here](https://github.com/CorentinTh/pc-remote-control/blob/master/index.js#L4)).
``` javascript
// index.js
// ...
// Change the password here:
const password = 'azerty';
// ...
```

You may have the following user feedback:

## Compatibility
Since I created this application for my windows laptop, I did not test every platform. Feel free to contribute! Just complete the command lines [here](https://github.com/CorentinTh/pc-remote-control/blob/master/pc-controls.js#L10).
| | **Windows** | **Linux** | **OSx** |
|:------------:|:----------------------:|:------------------------------:|:------------------------------:|
| **Shutdown** | Implemented and tested | Implemented but **not** tested | Implemented but **not** tested |
| **Sleep** | Implemented and tested | Implemented but **not** tested | Implemented but **not** tested |
| **Lock** | Implemented and tested | *Not implemented* | *Not implemented* |
| **Logout** | Implemented and tested | *Not implemented* | *Not implemented* |