Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've actually been looking at this too.

I posted more detail on another comment, but it should be possible to write a nodejs server app inside the package that will serve up the electron HTML to the web app (i.e. with command flags like [--server --port $port]). You'd probably have to implement the keystroke handler and a renderer for the menus, but otherwise it _should_ work.

Of course, I have no idea how much work would really be involved (although I imagine quite a bit), and you'd end up with something that resembles Cloud 9 or Mozilla Che, albeit with VS Code's extension library.

It just feels like something that would be better built directly into Electron though, so it could work for e.g. Atom as well.



Some computers are too old and slow to run the JS in the client as the IDE. Either the browser is old and incompatible, or it would just waste precious internet cafe/library computer time for each action.

Either the JS needs to be fast and compliant with much older browsers, or you just do a webform with old HTML tables as structure and so everything server-side.

Then you have the opposite problem in that those with newer computers wouldn't want to use it. So you might have to provide multiple levels of support, similar to how Gmail and OWA have a light client and a heavy client.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: