Remotely connect and control a client, using Node.js and Socket.IO
Demo http://remote-commander.nodejitsu.com
Modules:
- Clone the repository with
git clone git://github.com/Fabryz/remote-commander.git
- Install dependencies with
npm install
- Start the server with
node server.js
- Point your Remote browser to
YOUR_SERVER_IP:8080
, use your smartphone on the QRCode or just open the link in a new tab to control the Remote - Write something on the Commander's input and click the button to send it away, you will see it on the console.log in the Remote
You can see a list of all the connected clients on YOUR_SERVER_IP:8080/rc/
I have used html2jade
module do quickly convert html to jade templates:
- Install it with
[sudo] npm install -g html2jade
- Use
html2jade views/*.html
to convert stuff
Copyright (C) 2012 Fabrizio Codello
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.