Questions tagged [nw.js]

NW.js lets you call Node.js modules directly from DOM. It was previously known as "node-webkit" project.

NW.js (previously known as "node-webkit" project) is an app runtime based on Chromium and Node.js.

It lets you call Node.js modules directly from DOM and enables a new way of writing applications with all Web technologies.

308 questions
3
votes
0 answers

nw.js, how to detect code changes and refresh the page

nw.js has SDK version, the version can be reload window and open devtool (console.log) through right mouse button + R and F12. the reload is poor performance and inconvenient, it will close the window and reopen the window, is there any way to…
Finn
  • 849
  • 1
  • 12
  • 33
3
votes
1 answer

How do you link the STDOUT of node.js and STDIN of python in NW.js

I have been trying to code a python child process in NW.js, I used the code from https://www.sohamkamani.com/blog/2015/08/21/python-nodejs-comm/ It works in vanilla node, but not in NW.js, is this possible, or just in vanilla?
3
votes
2 answers

How to distribute an update for an nw.js app

With the forthcoming demise of Chrome Web Store Apps, I have successfully transitioned my app to nw.js I was amazed at how easy it was and how it ran first time. About the only tricky thing I encountered was how to get my app icon showing on…
Steve Brooker
  • 812
  • 5
  • 21
3
votes
1 answer

PythonShell in node (nwjs)

I am trying to create a nw.js application that communicates with Python using the node module PythonShell. The issue I am having is that nothing is written to the console unless I close stdin. However I would like to keep the stream open so that I…
Jeff
  • 11,233
  • 10
  • 44
  • 85
3
votes
1 answer

How do I get the coordinates of an application window running in foreground on Mac using Node.js?

I am writing a node.js script that will run on a Mac computer. I'd like to get the coordinates of the application running in the foreground and process details. For example, if I run the script and the only program I have open is Google Chrome then…
A Negi
  • 33
  • 3
3
votes
1 answer

nw-builder - usage instructions

I am using Node Webkit to create desktop app. I now need to create a single executable file so have installed the following: https://github.com/nwjs/nw-builder I am struggling understanding the instructions, especially the command line stuff. The…
LeeTee
  • 5,745
  • 14
  • 70
  • 132
3
votes
0 answers

nw.js + angular2: System is not defined

After updating my app from nw.js 0.13.0 and angular2 2.0.0-beta.9 to nw.js 0.15.0-rc1 and angular2 2.0.0-rc.1 I get the following error while loading: index.html:1 Error:…
thegnuu
  • 399
  • 3
  • 8
3
votes
1 answer

Is it possible to write automation tests for nwjs app?

I am currently working on node-webkit based desktop app. I was searching for a way to do automation testing for this . But most of the automation tools required a server to start up but in my case i have on but it runs in the chromium that comes by…
Ananthu R V
  • 348
  • 2
  • 14
3
votes
1 answer

NodeJS: scanning a directory tree is slow as hell

I have a NW.js app that simply (recursively) scans a directory tree and get the stats for each file/directory. It also performs a MD5 for files. I have 29k files, 850 folders, all for 120GB data. After almost 7 minutes, my code only scanned 4080…
Lideln Kyoku
  • 561
  • 4
  • 18
3
votes
1 answer

Integration of Ionic framework and nw.js

I am going to build a nw.js (node webkit) app for portability (Mac and Windows). As I'd like the app to run on mobile devices (iOS and Android) later, I use Ionic framework. As suggested by Ionic folks, it's better to keep two sets of views, one for…
ohho
  • 47,708
  • 70
  • 236
  • 372
3
votes
1 answer

Should I use Angular for a local only NW.js project?

I want to build a mid-size application using NodeJS and NW.js (formerly known as node-webkit). The application will grab some data from the internet but isn't talking with one special service which is under my control. Is it a good idea to use…
netblognet
  • 1,864
  • 1
  • 19
  • 42
3
votes
0 answers

pdf.js memory leak when generating thumbnails

I'm in the process of creating an nw.js application that needs to show loads of PDF's. The PDF's are initially downloaded the first time you start the application. In the initialization phase I also need to create a thumbnail for each PDF to be…
galaxyAbstractor
  • 497
  • 4
  • 12
3
votes
0 answers

Flash in iframe got 403 forbidden with NW.js

I have an nw.js app in which I use an iframe tag to load an external page with a flash object. All traffic for the app is going through a TCP proxy I wrote. I didn't change any of the data, just doing some monitoring. var gui = require('nw.gui') //…
Eddie Huang
  • 125
  • 1
  • 9
3
votes
1 answer

NodeWebkit (nw.js) allow self signed SSL certificate inside iframe

I have a nw.js app with this package.json: { "main": "index.html", "name": "test_app", "window": { "toolbar": false, "position": "center", "min_width": 800, "min_height": 500, "as_desktop": true, "resizable": true, …
r1si
  • 1,039
  • 1
  • 18
  • 28
3
votes
5 answers

Where to find ffmpegsumo libraries for nw.js 0.12.0? (Play audio files in Nodewebkit)

Hello I am working in an application using NW.js 0.12.0 (nodewebkit) and I need to find the ffmpegsumo.dll file of Google Chrome 41.0.2272.76 in order to be able to play audio files. See: NW.js Docs About it Also I found this Answer and the 32 bit…
1 2
3
20 21