Questions tagged [node-webkit]

NW.js (formerly node-webkit) is an app runtime based on Chromium and Node.js. You can write native apps in HTML and JavaScript with node-webkit. It also lets you call Node.js modules directly from the DOM and enables a new way of writing native applications with all Web technologies.

NW.js (formerly Node-Webkit) is an app runtime based on and . You can write native apps in HTML and JavaScript with node-webkit. It also lets you call Node.js modules directly from the DOM and enables a new way of writing native applications with all Web technologies. It is developed by Intel at the Intel Open Source Technology Center.

was renamed in January, 2015 because Chromium's switch from Webkit to Blink combined with a switch from Node.js to IO.js meant that the runtime was no longer based on either "Node" or "Webkit".

Resources

1214 questions
6
votes
4 answers

How to check when the computer is idle in NodeJS?

I want to run a process in the background in NodeJS, that wait until the computer not in use for 10 minutes. I mean the user do not touch the keyboard or the mouse. In other words: I want to listen to keyboard and mouse events in any window, and…
Aminadav Glickshtein
  • 23,232
  • 12
  • 77
  • 117
6
votes
1 answer

Node Webkit- opening and sending emails via outlook

I have a cordova app that I want to run on desktops using Node Webkit. I need to replace cordova.plugins.email() function with a Node Webkit equivelant but am struggling to find the info I need. Can anyone help? //email…
LeeTee
  • 6,401
  • 16
  • 79
  • 139
6
votes
1 answer

Loading Bootstrap in NW.js (node-webkit) app with pure npm build

I'm trying to build a simple desktop app with NW.js. Inspired by some posts including this one, I wanted to try a pure npm approach without any bower, grunt, or gulp. So I go ahead and use jquery and bootstrap libraries installed as npm modules.…
nolexa
  • 2,392
  • 2
  • 19
  • 19
6
votes
1 answer

Can I use gamepads with Node-Webkit (NW.js)?

I am building a NW.js (Node-Webkit) dashboard app which I want to be able to control with a game controller (for example: XBox 360 controller or Logitech controller). I'm calling the following onready but when I debug its not recognizing any…
6
votes
3 answers

console.log() does not appear in my terminal (nwjs)

In my nwjs app, I load a _launch.js file from an HTML file: And in my _launch.js file, I fire up the the Node processes I need for an express server and…
arthurakay
  • 5,631
  • 8
  • 37
  • 62
6
votes
1 answer

How to bundle node modules with native addons using webpack in node-webkit?

I'm trying to build pty.js for use in node-webkit (i.e. nw.js) v0.8.6: mkdir testapp && cd testapp nvm use 0.10.36 npm install -g nw-gyp npm install pty.js cd node_modules/pty.js # Build the native addon for node-webkit v0.8.6: nw-gyp configure…
Spencer
  • 1,161
  • 12
  • 19
6
votes
2 answers

node-webkit (nw.js) Ubuntu 12.04 LTS SUID sandbox error

I am creating nodewebkit and webrtc based desktop application for video streaming. While creating, I am trying to use getusermedia API but getting the below error on my Linux box. [15464:0224/125017:ERROR: browser_main_loop.cc(162)] Running…
saurav
  • 131
  • 1
  • 9
6
votes
1 answer

Is it possible to build console application with nw.js?

Is there any way to have console-only, GUIless, windowless application with nw.js? We have some internal utility originally made with App.js and recently converted to nw.js (formerly node-webkit). This tool consists of GUI app and console-only…
k12th
  • 101
  • 6
6
votes
0 answers

Can node-webkit C++ addon write to ImageData object created in JavaScript context?

I'm writing a node-webkit addon in C++ that decodes image data and returns an array of pixel data to the caller. The following code (abridged for brevity) works just fine: caller.js var image_data = canvas_context.createImageData(w, h); var addon =…
6
votes
1 answer

Print without "print dialogue" in node-webkit

While building an app using node-webkit for windows, I need to print without the dialogue box. Is this possible? Similar to: http://drziegler.net/kiosksilent-printing-in-google-chrome/ Any help is appreciated.
6
votes
1 answer

Set loading background color of node-webkit window

In node-webkit, how can I set the background color of the window while the page is loading? It seems to always be white, but I would either like it to be transparent, or (in my case) a shade of green. I've tried setting transparent: true in the…
Michal Charemza
  • 25,940
  • 14
  • 98
  • 165
6
votes
1 answer

Node-webkit and google drive api

Trying to get Google Drive API to work in node-webkit. When the auth message is sent, it is sent with an Origin of File:// which is rejected. https://accounts.google.com/o/oauth2/auth ?client_id=
ed4becky
  • 1,488
  • 1
  • 17
  • 54
6
votes
1 answer

Using Jam.js, require.js and node-webkit without conflicts

I'm currently writing a web app that I later intend to deploy using node-webkit. I want to use as little node.js as possible so that I have the option to easily deploy to the web without having to rewrite large portions of the code. I'm using Jam.js…
Macks
  • 1,696
  • 5
  • 23
  • 38
6
votes
1 answer

Is there a way to package chrome apps using nodejs-webkit

Lets say i have an app and i want it to be executable standalone. I've found that you can do that with normal webpages, webapps, using https://github.com/rogerwang/node-webkit. But if its chrome packaged app how do you do that. I know it's…
Techsin
  • 514
  • 3
  • 18
6
votes
2 answers

Is it possible to load chrome extension in node-webkit window

I am trying to make a node.js app using node-webkit . Is it possible to load a chrome extension in node-webkit window and make it appear as it appear in chrome browser I have gone through this but I am only able to understand that it can load NPAPI…
Jagdeep
  • 312
  • 2
  • 8