Code Monkey home page Code Monkey logo

pairjam's Introduction

Real-time web-based collaborative coding
http://pairjam.com

** Detailed documentation and instructions coming soon! **

Features

  • Syntax highlighting code editor (using Ace)
  • Live edit merging via operational transforms
  • Load files from GitHub repositories
  • Audio and video through WebRTC

Design overview

Pairjam has two separate components: the client and server.

The client consists solely of static files, which means it can be served quickly and cheaply on a CDN (pairjam.com assets are hosted on GitHub pages).

The server is a Node.js WebSocket server that can run on one or more separate machines.

Client

The stack:

  • WebSocket (for communication)
  • WebRTC (for peer-to-peer audio/video)
  • Browserify (for node-style requires)
  • React (UI framework)
  • Gulp (task runner)

Server

The stack:

  • Node.js with following modules:
  • ws (for WebSocket)
  • winston (for logging)
  • node-github (for GitHub integration)

GitHub integration

In order to integrate the server with GitHub, a GitHub API public key and secret are needed. These should be placed in a file called github_api_secret in the /server directory, with the following form:

module.exports = {
	'client_id' : 'YOUR CLIENT ID',
	'client_secret' : 'YOUR CLIENT SECRET'
};

If the server does not find this file upon loading, rate requests will be limited to GitHub's unauthenticated limit.

pairjam's People

Contributors

neerajwahi avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.