Myself and some friends built a very similar tool during the LAUNCH hackathon. It's a shared code editor with some github integration for saving your work, and webrtc handling the video chat. Check it out, we'd love some feedback.
https://seshcode.com