scalafiddle / scalafiddle-core

Source code for the scalafiddle.io compilation service
https://scalafiddle.io
Apache License 2.0
101 stars 37 forks source link

Implement collaborative session sharing #17

Closed schrepfler closed 7 years ago

schrepfler commented 7 years ago

While I really enjoy testing out code snippets on scalafiddle, I often wish I would be able to use it to interactively perform some quick pair programming session/interview similar to kobra.io. I think it would be quite possible to extend the scalafiddle client to integrate with some push provider (ex. Firebase) and have a:

  1. Ability to create a programming session which once registered with the push provider gives us a unique coding session URL.
  2. Protocol to sync up the client state between the two clients. This includes i) code written by two parties ii) ability to write using two/more cursors at the same time on the code iii) show the popups when a client invokes the popup iv) sync up the execution stdout to all connected clients.
ochrons commented 7 years ago

This goes outside the scope of Scalafiddle, would probably fit better in the new Scastie.