The other day I setup a version of this using Theia-IDE[0], which uses Monaco as the editor I believe. The project is open source (Apache-2.0) and has a strong community.
It would be a nice project to get a Docker service running where users could sign-up and get an instance with persistent storage for their projects.