Once I figured that out, I thought it would be neat to make it collaborative, like Coderpad — that part was a bit tougher, but it mostly works now, using WebRTC.
I'm not sure whether other people will think this is cool, but I had fun building it and learning more about wasm + WebRTC.