gabrielcsapo / electron-mobile

📱a work in progress iOS/android compatible build target for electron
66 stars 1 forks source link

direction and ideas? #1

Open gabrielcsapo opened 7 years ago

gabrielcsapo commented 7 years ago

Setting this issue up as a talking point.

It is possible to run chromium on;

iOS https://blog.chromium.org/2017/01/open-sourcing-chrome-on-ios.html Android https://www.chromium.org/developers/how-tos/android-build-instructions

So porting the electron APIs to work with a mobile version of chromium should be straightforward.

Thoughts on initial beta or alpha versions of this?

Porting the Cocoa stuff should be an easy move to do first since Cocoa is the windows manager for iOS (plus Cocoa Touch)

@vasyl-shumskyi @zeke @shubham2892 @janeasystems @dmikey

adding you guys as I see you are watching this repo

gabrielcsapo commented 6 years ago

Something that has been gaining a lot of traction and will truly fill the gap between Desktop, Web and Mobile native platforms is https://github.com/dmikey/syr. I think @davidsharp is right, we shouldn't be working to rebuild or reinvent electron of mobile, but really this repo was to find the reason there wasn't something that electron had planned on.

SourceBoy commented 6 years ago

How does one integrate nodejs-mobile with Chromium? This seems like the closest solution to bring Node to mobile in a browser environment, similar to what Electron has done for desktop.

(I'm aware of what PWAs can do today, and there are frameworks such as Cordova to wrap web apps into mobile apps, but PWAs can't access to OS-level file systems or embed HTTP servers, and Cordova is just an overkill for my current project, not to mention the setup and build processes for both Android & iOS.)

A distributable bundle of Node-integrated browser for mobile would've made development as easy as developing desktop apps with Electron, which I believe is what made Electron so popular. A lot of code would also be reusable instead of writing completely different code for mobile.

I'm a web developer and don't have the expertise in building system/native applications, let alone integrating a complex browser with Node, so any pointers would be greatly appreciated. If you have the expertise and want to help creating such project, you're more than welcome to contribute.

chiddekel commented 6 years ago

In Electron mobile, is all about aproche. Firts, desktop code base (Mac, Linux, Windows)

  1. Angular + electron
  2. Typescript + electron
  3. ES5/ES6 + electron

Main benefit, is that the code for mobile will look like:

  1. Angular + nativescript
  2. Typescript + nativescript
  3. ES5/ES6 + nativescript

Desktop referency here: https://youtu.be/u_vMChpZMCk

galvesribeiro commented 5 years ago

Hey folks!

I see this as an old discussion but I was looking to bring support and submit a PR to VSCode (which is electron-based) repo so it can run on iOS devices. More specifically on iPad Pros.

VSCode now support remote extensions which means no code is generated on iPad (i.e. the compilation of projects doesn't happen at the iPad) so the "no JIT/code generation" rule from AppStore isn't broken.

That would open a whole new level of opportunities for VSCode users.

Can someone shed a light on it?

Thanks!

Minabsapi commented 5 years ago

Hello, I'm also bumping because this project looks extremely interesting. I just want to know if it's still active so I could eventually contribute, or dead now

josephcrowell commented 4 years ago

Looks pretty dead to me...

ericblade commented 4 years ago

FWIW, I do have a somewhat novel application of electron -- I use it to wrap an already existing web app, and give it a bunch of new features and bug fixes. I just was wondering if it would be possible to run it on my phone. Doesn't look like it.