Skip to content

A collaborative, real-time, online coding environment for developers.

Notifications You must be signed in to change notification settings

Swanand01/CollabCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CollabCode

A collaborative, real-time, online coding environment for developers.

Features

  • Feature rich code editor
    • The CollabCode code editor supports 7+ different languages, and comes with syntax highlighting and auto-complete.
  • In browser compiler
    • Compile or run your code in the browser using the high performance CollabCode compiler.
  • Video and audio chat
    • Chat with your fellow collaborators using the inbuilt video and audio chat.

Try it!

Try out CollabCode here.

Glimpse

Tech

Server: NodeJS, ExpressJS, SocketIO.

Client: HTML, CSS, JS, ejs.

CollabCode Editor: Codemirror and Firepad.

CollabCode Compiler: Piston API.

Video and audio chat: Agora.

Run locally

  1. Clone the repository

    https://github.com/Swanand01/CollabCode.git

  2. Install dependencies

    npm install

  3. Create a Agora project. Agora Docs.

  4. Create a .env file in the root directory, and set the following constants:

    NODE_ENV = development

    APP_ID = "YOUR_AGORA_APP_ID"

    APP_CERTIFICATE = "YOUR_AGORA_APP_CERTIFICATE"

  5. Create a Firebase project.

  6. Create a Realtime database. Please make sure to select the location as US-Central.

  7. In room.js , set the following constants:

    const FIREBASE_KEY = 'YOUR_FIREBASE_KEY';

    const DB_URL = 'YOUR_FIREBASE_DB_URL';

    const AGORA_APP_ID = "YOUR_AGORA_APP_ID";

  8. Run npm run devStart .

About

A collaborative, real-time, online coding environment for developers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published