Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any standlone gui module for node application [closed]

I want to build a code editor in nodejs. There is option like using an express server to show editor and to execute code in backend. But that would require a browser. So I am looking for node modules that can provide standalone gui for windows platform.

like image 528
lnman Avatar asked Sep 17 '14 18:09

lnman


People also ask

For which applications NodeJS is not well suited for?

Not Suitable for Heavy-Computing Apps Node. js doesn't support multi-threaded programming yet. It is able to serve way more complicated applications than Ruby, but it's not suitable for performing long-running calculations. Heavy computations block the incoming requests, which can lead to decrease of performance .

Is there an alternative to node?

AngularJS, PHP, Python, JavaScript, and React are the most popular alternatives and competitors to Node.

Which module is used to run a node application on a web browser?

Browserify is a command line NodeJS module that allows users to write and use already existing NodeJS modules that run on the browser.


1 Answers

There are a couple of different options, depending on how you want to proceed.

Option 1:

Use something like QT or GTK bindings to make a more traditional GUI application. These options generally are just Node bindings to the C/C++ API that GTK and QT expose. See node-qt and yue. Although these seem to not be actively developed.

Update:

You can take a look at NodeGUI: https://github.com/nodegui/nodegui

NodeGUI is a javascript library for building cross-platform native desktop applications with JavaScript and CSS like styling. It uses Qt under the hood and works on Mac, Linux and Windows.

It also has a react based renderer called React NodeGUI which is like React Native but for desktop: https://github.com/nodegui/react-nodegui

Option 2:

Use a framework that takes HTML, CSS, and Javascript and bundles it into a standalone HTML5 app. There are a bunch of frame works out there that do this. Examples include node-webkit and AppJS among many others.

like image 171
Jessie A. Morris Avatar answered Oct 18 '22 14:10

Jessie A. Morris