Chrome as a dekstop application container

I would like to develop a desktop application, but I want to use web technologies for presentation layer. I do not want to use Adobe AIR for some reason. So, I thought, why not enable chrome with my web application installed. The final package will include a launcher that will launch the dock's built-in server and open the included chrome browser with the application directly. Do you think this is feasible? I'm not a fan of Firefox, but maybe this is the best alternative to chrome?

+5
source share
2 answers

I think this is very doable ... I would start with Electron - this is an environment for creating your own applications with web technologies such as JavaScript, HTML and CSS. It takes care of the hard parts so you can focus on the core of your application. Nowadays, it also looks like a "standard." All this uses it as desktop applications:

  • Slack
  • Atom (GitHub editor)
  • Wordpress app
  • Visual Studio Code (the powerful editor I use these days)
  • WhatsApp (their desktop application uses React and wrap with Electorn).

Last but not least, take a look at: http://www.youtube.com/watch?v=j8oFAr1YR-0 It contains all the information you need to launch and create your application.

+1
source

Electron - JavaScript, HTML CSS. Node.js Chromium Atom .

docs:

Electron JavaScript, ( ) API. Node.js runtime, -.

, JavaScript (GUI). Electron - , Chromium, JavaScript.

:

npm install electron --save-dev
0

All Articles