Re:A JavaScript implementation of Git
by austincheney on Thursday November 19, 2020 @12:16PM
(#25151696)
It says Android and iOS are supported environments. How would you execute a Node app on a phone?
[ Parent
| on HN ]
Re:A JavaScript implementation of Git
by crooked-v on Thursday November 19, 2020 @12:18PM
(#25151722)
If it works in a browser, you can run it in a Webkit wrapper.
Re:A JavaScript implementation of Git
by pantulis on Thursday November 19, 2020 @12:31PM
(#25151908)
Or in Electron. Ok, not the coolest solution but options are always good.
Re:A JavaScript implementation of Git
by balls187 on Thursday November 19, 2020 @01:15PM
(#25152447)
Standard caveats apply (i.e. WebRTC is unsupported outside safari)
Re:A JavaScript implementation of Git
by da_big_ghey on Thursday November 19, 2020 @12:18PM
(#25151717)
At least on Android, Termux is pretty great: https://termux.com/
Re:A JavaScript implementation of Git
by clashmeifyoucan on Thursday November 19, 2020 @01:51PM
(#25152944)
I think you can additionally use it with React Native. I saw a cross-platform android/ios GitHub client using it.¹
Re:A JavaScript implementation of Git
by ogre_codes on Thursday November 19, 2020 @12:57PM
(#25152214)
You can include JS in iOS apps. You basically embed Javascript and call it directly from Swift/ ObjectiveC and it runs on the same Javascript engine that runs in Safari.
Re:A JavaScript implementation of Git
by austincheney on Thursday November 19, 2020 @01:20PM
(#25152525)
Can you run Node on iOS or Android?
Re:A JavaScript implementation of Git
by ogre_codes on Thursday November 19, 2020 @01:35PM
(#25152722)
I don't think you need to. Node is essentially a way to run Javascript from the command line. iOS provides a different way to run javascript. I think you just build the app similar to the way you bundle something for the web.