linux - Is it possible to run the node-webkit from the console without having GUi -
i want take lightweight linux (10 mb) , add nw.js (20 mb) raise raspberry pi , run index.html application. can without gui (gnome, kde)? if can, how? else gui minimum weight should use?
you cannot run node-webkit (or nw.js called now) without gui desktop environment.
- if want build cli application that, try using regular node without nw.js
- if want execute dom operations within application, check out phantomjs
- if want create graphical user interface in cli environment, there blessed haven't worked myself yet seems pretty powerful.
if not answer question, please try rephrasing question , perhaps adding more explanation of want achieve.
edit in response clarification of question
currently not possible, because showing index.html require webbrowser, requires gui desktop. best solution find lightweight linux distro simple desktop gui, install nw.js app on system, , set system automatically launch app on boot. can disable desktop toolbars , remove icons desktop make there no desktop @ all, right there still has desktop gui running in background, support webbrowser application.
there project called node-os seems promise need. myself have been following while, since i've had same idea you, not ready yet , seems stay way while. interesting project follow if you're going in direction.
Comments
Post a Comment