Introducing NW.js on IssueHunt

IssueHunt
IssueHunt
Published in
4 min readSep 25, 2018

What is Nw.js?

NW.js is an app runtime based on Chromium and node.js. It is framework for building desktop applications with HTML, CSS, and JavaScript.

NW.js, formerly node-webkit

It was created by Roger Wang at Intel’s Open source Technology Center in China, and worked by combining the Node.js programming framework with Chromium’s (then) browser engine Webkit.

The application in the picture is created using nwjs! and it is too easy if you know html/css and bootstrap. Node.js with Chrome combination, Roger found how to make applications that would not local load an web site within an application window, however additionally might move with the software system via a JavaScript API.

This JavaScript API might management visual aspects like window dimensions, toolbar and menu things, yet as give access to native files on the desktop. These square measure things that can’t be through with a hosted computing device, or perhaps a domestically hosted computing device.

The index.html web content is like most alternative webpage that you’ve seen — there’s some markup language code that is HTML for the page’s content, a link tag for the CSS stylesheet, and a script tag for the JavaScript. At this stage it’s a similar to web site, and if you were to open it during a application program it’d work an equivalent because it would in NW.js.

There’s conjointly a CSS stylesheet for styling the contents of the index.html file, and an app.js file for run JavaScript, during this case calling a simple dialog box with the text “from NW.js” inside it.

The NW.js application is ready to load an application with a given path of the folder wherever the files live. it’s for the package.json file, that points to the index.html file to load, associate degreed therefore hundreds the online page into what appears like an internet browser embedded inside an application window. Anyone who knows JS can apply that knowledge to build powerful apps. Node.js empowers everyone from hobbyists to the largest enterprise teams to bring their dreams to life faster than ever before. Nw.js developer tell the world about their creations.

For Examples includeenterprise conversations, case studies and the Node.js Collection. The Nw.js application show variety of projects and products built with Nw.js.

The stats around Node.js are pretty staggering. There have been twenty five million download of Node.js in 2017, with over one million of them happening on a per day. And these stats are simply the users. On the community side, the numbers are equally exceptional.

According to the data gathered by builtinnode, the demand for Node.js developers has already surpassed as compare to java developers. Since Nw.js already adopted and is being advocated by the greatest tech companies on Earth, there’s no doubt that it will remain a leading technology for many years.

Latest Features

NW.js most features in the Chromium browser, including Chrome Apps support, chrome. For example platform APIs, NaCl and Pepper plugin, built-ins PDF viewer, printing preview, rich notifications and so on.

  • Apps written in trendy HTML5, CSS3, JS and WebGL.
  • Complete support for Node.js API.
  • Sensible performance: Node and WebKit run within the same thread.
  • Straightforward; objects are within the same heap and may simply reference every other
  • Simple to package and distribute apps.
  • Easy available on windows, OS, linux

With features like this, NW.js is a sophisticated tool for creating desktop applications, and knowing how it works under the hood helps you to understand what kind of applications you can build with it.

Users

It is widely used in GitHub repository , includes:

  • 34,000+ stargazers
  • 1,800+ watchers
  • 3,700+ forks
  • nearly 2,000 commits
  • 55 unique contributors

There are 100+ apps and companies using NW.js.

Advantages

  • Node.js integration
  • writing board access
  • access to the file system
  • hardware access (e.g. all list of printers)
  • tray icons
  • custom file chooser dialogs
  • shell integration (open files or URLs in default file mortal or browser)
  • the choice to customize the whole window (close buttons, menu bar) and context menus
    the flexibility set and obtain zoom level.

Featured funded issues

Why don’t we make fund and support NW.js developer community? 🌈

--

--

IssueHunt
IssueHunt

The funding/sourcing platform for Open Source projects 🦉 | Slack http://bit.ly/IssueHunt