kzahel / web-server-chrome

An HTTP Web Server for Chrome (chrome.sockets API)
https://chrome.google.com/webstore/detail/web-server-for-chrome/ofhbbkphhbklhfoeikjpcbhemlocgigb
Other
1.24k stars 275 forks source link

Standalone App without Chrome. #116

Open maxwowpow opened 6 years ago

maxwowpow commented 6 years ago

Chrome is retiring apps from Chrome, so it would be nice to have releases for a standalone compiled version of the WebServer here on github. Postman for example supports a standalone App.

kzahel commented 6 years ago

Ah yes I see. It looks to me like postman is using Electron ... a 70MB download.

Google is not retiring apps from Chrome, rather they are retiring them from Windows/Linux/OS X. They will still continue to function on ChromeOS.

I think it might be nice to provide the app for Windows/OS X/Linux, but honestly aren't there better solutions for these platforms?

I will consider it, but honestly HATE electron apps ... :-)

maxwowpow commented 6 years ago

I know, it bugs me every time I see a 10kb JS file packed into 140MB JS Interpreter.

But with time I found many apps which are awesome (using one of many packing tools) like Spotify, WebTorrent, VS Code, Atom and so on. I strongly believe that many people who started with Postman will be loving to continue working with it on Windows/MacOS/Linux after the day X. Personally I used node webkit https://github.com/nwjs/nw.js/ for my apps. Maybe you/we could provide at least the compiled payload for nwjs or electrone, so people can seamlessly start it with they own nwjs (drag&drop main.js to exe) at a first step.

And thank you for considering!

kzahel commented 6 years ago

That's a great idea, being able to support a drag into existing nwjs/electron runtime. I will probably try that route first, and then maybe look into packaging a nwjs/electron binary later.

You are probably correct that plenty of users are multi-platform (e.g. found this app on chromebook but like to use it on windows etc) so it would be kind of stupid to just leave them hanging.