News for hackers. Stuff that matters.
Re:Ask HN: Do you think Electron is good for building Deskto... by pavlov on Tuesday May 02, 2017 @11:08AM (#14246947)
Well, why wait. I made a repo for "Electrino":

https://github.com/pojala/electrino

Sorry, it's totally empty! But I'm hoping to get around to making a Cocoa+WebKit proof-of-concept this week. I guess the starting point would be to implement just enough APIs to be able to run the main.js example from this Electron tutorial:

https://github.com/electron/electron/blob/master/docs/tutori...

Re:Ask HN: Do you think Electron is good for building Deskto... by WorldMaker on Tuesday May 02, 2017 @12:33PM (#14247868)
Another direction might be to extend Cordova to support macOS and Linux. Cordova already supports building UWP for Windows Desktop/Xbox/HoloLens using the native HTML+JS stack. Seems to me like a lot of existing Cordova plugins just need subtle nudges to support macOS in addition to iOS. Then you just need a good Linux solution and you cover all the desktop environments.

Then narrow the few missing desktop-focused APIs that Electron has but Cordova doesn't have good plugins for. (It would also be nice to support more Node-like background processes in Cordova and more Node-native libraries, but you would need to find a good balance that plays well with mobile.)

Re:Ask HN: Do you think Electron is good for building Deskto... by roboguy12 on Tuesday May 02, 2017 @12:42PM (#14247970)
There's also React Native, which can work on macOS (https://github.com/ptmt/react-native-macos). I'm not sure about other operating systems, though.
Re:Ask HN: Do you think Electron is good for building Deskto... by giaour on Tuesday May 02, 2017 @10:55PM (#14252676)
Microsoft has put out an implementation for Windows, too: https://github.com/Microsoft/react-native-windows
Re:Ask HN: Do you think Electron is good for building Deskto... by pavlov on Wednesday May 03, 2017 @03:40PM (#14259292)
Update on Electrino: implemented minimal APIs to load Electron's "Hello World" example. Code is in the repo.