Answer the question
In order to leave comments, you need to log in
What are the GUI options for Node.js (iojs)?
Actually, what are the options for creating a gui for a node.js (iojs) application?
Of course, the first thing that comes to mind is node-webkit (now nw.js), but I think this is overkill, because:
- nwjs really weighs a lot; if I were going to write millions of lines in js and use 50 libraries, then maybe this is not scary. But for a utility that performs 1 action, this is overkill;
- nwjs is too powerful (in a certain area): I just don't need all that it can give;
- performance, memory consumption
Also came across during the search for:
- node-qt: on windows (I don't know about linix; if I'm wrong - please correct me) you also need to drag libraries that weigh quite a lot; By the way, if someone wrote something on a bunch of node + node-qt, please leave a review.
- node-gui: same as node-qt but with GTK instead of Qt.
I would like to get a lightweight, unpretentious library for node.js for the GUI;
One of the good (as far as I can see) options I see is a library that would create a window and render SVG there (which is also probably overkill) with all its goodies, and the interface elements themselves could be drawn manually.
Or - a similar option only HTML5-canvas instead of SVG. Of course, this refers to the implementation of canvas-like behavior, and not specifically HTML5.
If you have any advice, I'd love to hear it :)
Answer the question
In order to leave comments, you need to log in
Write a utility in pure Node.js and run a regular "page" (localhost) in the default browser ("batch file").
You will only have to pull Node.js.
Are you sure you want the "libraries size" criterion?
Even if libraries weigh gigabytes, is it so important?
I recommend staying with nw.js. existing solutions are very limited and the only viable alternative is atom-shell, which is about the same and weighs about the same.
Alas, webkit is not easy.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question