Skip to content

About

Collaborative code editor where users can share webcam video and audio, via sockets and WebRTC to create a code editor for writing code together with syntax highlighting and support for multiple languages.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

Repository files navigation

Collaborative-Code-Editor

This app is a collaborative code editor, allowing users to establish a connection, share webcam video and audio, and utilizes sockets to maintain a code editor for the users to write code together with syntax highlighting and support for multiple languages.

Technologies Used

  • Node.js
  • WebRTC
  • PeerJS
  • Express.js
  • Socket.io (Higher level implementation of WebSocket)
  • CodeMirror
  • EJS

To install dependencies

In the root directory, run:

npm install

This will install the core dependencies, afterwards run:

npm install -g peer

This will install the peerjs server used for WebRTC signaling. Now you're done with the installs!

To run the code

Run:

npm start

Troubleshooting

You must give the browser permission to use the webcam and microphone for the program to work. If you did and there is still no webcam video, please check your OS' privacy settings. Also, note that port 3000 and 3001 must be free. If you encounter any errors, please feel free to contact me.

About

Collaborative code editor where users can share webcam video and audio, via sockets and WebRTC to create a code editor for writing code together with syntax highlighting and support for multiple languages.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages