Open dsych opened 6 years ago
This is very similar to what I was discussing previously with WebRTC data channels. The problem we'll have is that we can't shared data cross-origin (i.e., from gh-pages on github to localhost) with a web server and normal WS or HTTP. We might be able to establish a p2p connection with WebRTC (browser to node locally) and do it, though. I'm researching it with someone who has done this stuff before.
It would be very useful to be able to open local files in the online editor instead of the emulated ones. I believe this could be achieve through the following steps;
/local_fs/readfile
,/local_fs/readdir?recursive=true
, similar things for writing to file and dir.