Rename project to peercalls
This commit is contained in:
parent
af2875eafd
commit
c166006100
37
README.md
37
README.md
@ -1,31 +1,18 @@
|
|||||||
# Remote Control Server
|
# peer-calls
|
||||||
|
|
||||||
[](https://travis-ci.org/jeremija/remote-control-server)
|
[](https://travis-ci.org/jeremija/peer-calls)
|
||||||
|
|
||||||
Remote control your PC from your web browser on your other PC or mobile device.
|
WebRTC peer to peer calls for anybody.
|
||||||
|
|
||||||
Supports mouse movements, scrolling, clicking and keyboard input.
|
|
||||||
|
|
||||||
Work in progress.
|
Work in progress.
|
||||||
|
|
||||||
<img src="http://i.imgur.com/38MzUIg.png" width="400px">
|
|
||||||
<img src="http://i.imgur.com/cn1IUK8.png" width="400px">
|
|
||||||
<img src="http://i.imgur.com/xtpgXoG.png" width="400px">
|
|
||||||
|
|
||||||
# Install & Run
|
# Install & Run
|
||||||
|
|
||||||
Install from npm:
|
From git source:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm install -g remote-control-server
|
git clone https://github.com/jeremija/peer-calls.git
|
||||||
remote-control-server
|
cd peer-calls
|
||||||
```
|
|
||||||
|
|
||||||
or use from git source:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
git clone https://github.com/jeremija/remote-control-server.git
|
|
||||||
cd node-mobile-remote
|
|
||||||
npm install
|
npm install
|
||||||
npm start
|
npm start
|
||||||
```
|
```
|
||||||
@ -36,13 +23,15 @@ On your other machine or mobile device open the url:
|
|||||||
http://192.168.0.10:3000
|
http://192.168.0.10:3000
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Running the tests
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npm install
|
||||||
|
make test
|
||||||
|
```
|
||||||
|
|
||||||
Replace `192.168.0.10` with the LAN IP address of your server.
|
Replace `192.168.0.10` with the LAN IP address of your server.
|
||||||
|
|
||||||
# Note
|
|
||||||
|
|
||||||
This package requires [robotjs](https://www.npmjs.com/package/robotjs) so make
|
|
||||||
sure you have the required prerequisites installed for compiling that package.
|
|
||||||
|
|
||||||
# license
|
# license
|
||||||
|
|
||||||
MIT
|
MIT
|
||||||
|
|||||||
@ -1,12 +1,9 @@
|
|||||||
{
|
{
|
||||||
"name": "remote-control-server",
|
"name": "peercalls",
|
||||||
"version": "1.3.2",
|
"version": "1.3.2",
|
||||||
"description": "Remote control your PC from your web browser on your other PC or mobile device",
|
"description": "Group peer to peer video calls for anybody.",
|
||||||
"repository": "https://github.com/jeremija/remote-control-server",
|
"repository": "https://github.com/jeremija/peer-calls",
|
||||||
"main": "src/index.js",
|
"main": "src/index.js",
|
||||||
"bin": {
|
|
||||||
"remote-control-server": "./dist/index.js"
|
|
||||||
},
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node src/index.js",
|
"start": "node src/index.js",
|
||||||
"test": "jest --coverage",
|
"test": "jest --coverage",
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env node
|
#!/usr/bin/env node
|
||||||
'use strict';
|
'use strict';
|
||||||
if (!process.env.DEBUG) {
|
if (!process.env.DEBUG) {
|
||||||
process.env.DEBUG = 'video-server:*';
|
process.env.DEBUG = 'peercalls:*';
|
||||||
}
|
}
|
||||||
|
|
||||||
const express = require('express');
|
const express = require('express');
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
if (window.localStorage && !window.localStorage.debug) {
|
if (window.localStorage && !window.localStorage.debug) {
|
||||||
window.localStorage.debug = 'video-client:*';
|
window.localStorage.debug = 'peercalls:*';
|
||||||
}
|
}
|
||||||
|
|
||||||
const App = require('./components/app.js');
|
const App = require('./components/app.js');
|
||||||
const React = require('react');
|
const React = require('react');
|
||||||
const ReactDom = require('react-dom');
|
const ReactDom = require('react-dom');
|
||||||
const activeStore = require('./store/activeStore.js');
|
const activeStore = require('./store/activeStore.js');
|
||||||
const debug = require('debug')('video-client:index');
|
const debug = require('debug')('peercalls:index');
|
||||||
const dispatcher = require('./dispatcher/dispatcher.js');
|
const dispatcher = require('./dispatcher/dispatcher.js');
|
||||||
const getUserMedia = require('./browser/getUserMedia.js');
|
const getUserMedia = require('./browser/getUserMedia.js');
|
||||||
const handshake = require('./peer/handshake.js');
|
const handshake = require('./peer/handshake.js');
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
const Peer = require('./Peer.js');
|
const Peer = require('./Peer.js');
|
||||||
const debug = require('debug')('video-client:peer');
|
const debug = require('debug')('peercalls:peer');
|
||||||
const dispatcher = require('../dispatcher/dispatcher.js');
|
const dispatcher = require('../dispatcher/dispatcher.js');
|
||||||
const _ = require('underscore');
|
const _ = require('underscore');
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
const EventEmitter = require('events');
|
const EventEmitter = require('events');
|
||||||
const debug = require('debug')('video-client:activeStore');
|
const debug = require('debug')('peercalls:activeStore');
|
||||||
const dispatcher = require('../dispatcher/dispatcher.js');
|
const dispatcher = require('../dispatcher/dispatcher.js');
|
||||||
|
|
||||||
const emitter = new EventEmitter();
|
const emitter = new EventEmitter();
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
const EventEmitter = require('events');
|
const EventEmitter = require('events');
|
||||||
const debug = require('debug')('video-client:streamStore');
|
const debug = require('debug')('peercalls:streamStore');
|
||||||
const dispatcher = require('../dispatcher/dispatcher.js');
|
const dispatcher = require('../dispatcher/dispatcher.js');
|
||||||
|
|
||||||
const emitter = new EventEmitter();
|
const emitter = new EventEmitter();
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
const debug = require('debug')('video-server:socket');
|
const debug = require('debug')('peercalls:socket');
|
||||||
const _ = require('underscore');
|
const _ = require('underscore');
|
||||||
|
|
||||||
module.exports = function(socket, io) {
|
module.exports = function(socket, io) {
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
doctype html
|
doctype html
|
||||||
html
|
html
|
||||||
head
|
head
|
||||||
title Remote Control
|
title Peer Call
|
||||||
meta(name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no")
|
meta(name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no")
|
||||||
meta(name="mobile-web-app-capable" content="yes")
|
meta(name="mobile-web-app-capable" content="yes")
|
||||||
meta(name="apple-mobile-web-app-capable" content="yes")
|
meta(name="apple-mobile-web-app-capable" content="yes")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user