Rename project to peercalls

This commit is contained in:
Jerko Steiner 2016-03-31 18:16:52 -04:00
parent af2875eafd
commit c166006100
9 changed files with 24 additions and 38 deletions

View File

@ -1,31 +1,18 @@
# Remote Control Server
# peer-calls
[![Build Status](https://travis-ci.org/jeremija/remote-control-server.svg?branch=master)](https://travis-ci.org/jeremija/remote-control-server)
[![Build Status](https://travis-ci.org/jeremija/peer-calls.svg?branch=master)](https://travis-ci.org/jeremija/peer-calls)
Remote control your PC from your web browser on your other PC or mobile device.
Supports mouse movements, scrolling, clicking and keyboard input.
WebRTC peer to peer calls for anybody.
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 from npm:
From git source:
```bash
npm install -g remote-control-server
remote-control-server
```
or use from git source:
```bash
git clone https://github.com/jeremija/remote-control-server.git
cd node-mobile-remote
git clone https://github.com/jeremija/peer-calls.git
cd peer-calls
npm install
npm start
```
@ -36,13 +23,15 @@ On your other machine or mobile device open the url:
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.
# 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
MIT

View File

@ -1,12 +1,9 @@
{
"name": "remote-control-server",
"name": "peercalls",
"version": "1.3.2",
"description": "Remote control your PC from your web browser on your other PC or mobile device",
"repository": "https://github.com/jeremija/remote-control-server",
"description": "Group peer to peer video calls for anybody.",
"repository": "https://github.com/jeremija/peer-calls",
"main": "src/index.js",
"bin": {
"remote-control-server": "./dist/index.js"
},
"scripts": {
"start": "node src/index.js",
"test": "jest --coverage",

View File

@ -1,7 +1,7 @@
#!/usr/bin/env node
'use strict';
if (!process.env.DEBUG) {
process.env.DEBUG = 'video-server:*';
process.env.DEBUG = 'peercalls:*';
}
const express = require('express');

View File

@ -1,13 +1,13 @@
'use strict';
if (window.localStorage && !window.localStorage.debug) {
window.localStorage.debug = 'video-client:*';
window.localStorage.debug = 'peercalls:*';
}
const App = require('./components/app.js');
const React = require('react');
const ReactDom = require('react-dom');
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 getUserMedia = require('./browser/getUserMedia.js');
const handshake = require('./peer/handshake.js');

View File

@ -1,6 +1,6 @@
'use strict';
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 _ = require('underscore');

View File

@ -1,6 +1,6 @@
'use strict';
const EventEmitter = require('events');
const debug = require('debug')('video-client:activeStore');
const debug = require('debug')('peercalls:activeStore');
const dispatcher = require('../dispatcher/dispatcher.js');
const emitter = new EventEmitter();

View File

@ -1,6 +1,6 @@
'use strict';
const EventEmitter = require('events');
const debug = require('debug')('video-client:streamStore');
const debug = require('debug')('peercalls:streamStore');
const dispatcher = require('../dispatcher/dispatcher.js');
const emitter = new EventEmitter();

View File

@ -1,5 +1,5 @@
'use strict';
const debug = require('debug')('video-server:socket');
const debug = require('debug')('peercalls:socket');
const _ = require('underscore');
module.exports = function(socket, io) {

View File

@ -1,7 +1,7 @@
doctype html
html
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="mobile-web-app-capable" content="yes")
meta(name="apple-mobile-web-app-capable" content="yes")