Simple multiplayer remote pairing web app built with RobotJS for controlling mouse/keyboard and Socket.io for sharing mouse/keyboard events and signaling to start a simple-peer connection via WebRTC to stream the host screen (needs VPN or LAN to work).
🏠 Homepage
git clone https://github.com/jean-m-ribeiro/simple-remote-pair.git
cd simple-remote-pair
npm install
npm run start
If you are the host access http://localhost:3000/#host
in your browser, if not, just access by using the host IP in VPN or LAN, it will looks like http://192.168.15.60:3000
Please ensure you have the required dependencies before installing:
- Windows
- windows-build-tools npm package (
npm install --global --production windows-build-tools
from an elevated PowerShell or CMD.exe)
- windows-build-tools npm package (
- Mac
- Xcode Command Line Tools.
- Linux
- Python (v2.7 recommended, v3.x.x is not supported).
- make.
- A C/C++ compiler like GCC.
- libxtst-dev and libpng++-dev (
sudo apt-get install libxtst-dev libpng++-dev
).
Install node-gyp using npm:
npm install -g node-gyp
Then build:
node-gyp rebuild
See the node-gyp readme for more details.
- npx
- Electron app with easy usability
👤 Jean Ribeiro
- Website: https://jeanribeiro.dev
- Twitter: @jeeanribeiro
- Github: @jeeanribeiro
- LinkedIn: @jeeanribeiro
Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.
Give a ⭐️ if this project helped you!
Copyright © 2020 Jean Ribeiro.
This project is MIT licensed.
This README was generated with ❤️ by readme-md-generator