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
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
5
votes
1 answer

javascript - Capturing console with line number

How do I capture the line number of logs when capturing the console? (Chrome only - other browsers not relevant for me) I have the below to capture all logs; consoleLogs: [], init: function(){ app.captureConsole(); }, captureConsole:…
Abdul Sadik Yalcin
  • 1,420
  • 2
  • 17
  • 38
5
votes
0 answers

How can I run a Chrome extension in NW.js?

This question is pretty short and self explanatory. I'm wondering how I can run my Chrome extension in NW.js. I know you can run an app in NW.js and I think you can run extensions as well? I can't find much on the topic. Back in 2013 the way to do…
Slbox
  • 5,695
  • 6
  • 30
  • 70
5
votes
3 answers

Webpack's alternative for bulk-require implementation issue

I'm building nw.js app with Webpack and Angular. I would like to achieve something what I've seen and used in my other plane angular app from this boilerplate https://github.com/jakemmarsh/angularjs-gulp-browserify-boilerplate. The following code…
Nemanja Milosavljevic
  • 1,056
  • 12
  • 31
5
votes
1 answer

nedb method update and delete creates a new entry instead updating existing one

I'm using nedb and I'm trying to update an existing record by matching it's ID, and changing a title property. What happens is that a new record gets created, and the old one is still there. I've tried several combinations, and tried googling for…
Nemanja Milosavljevic
  • 1,056
  • 12
  • 31
5
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,261
  • 7
  • 37
  • 57
5
votes
1 answer

Which Licenses to ship within an NW.js - application?

I've just read the section about distributing at the wiki of nw.js And since the binary is based on Chromium, multiple open source license > notices are needed including the MIT License, the LGPL, the BSD, the Ms-PL and an MPL/GPL/LGPL tri-license.…
Devcon
  • 65
  • 3
5
votes
2 answers

Run python script on node-webkit startup (nw.js)

I have a Python-based app that controls LEDs. It uses Flask to create a webserver so I can work with a nice UI using HTML, CSS, and JS. My current process: python home.py navigate to localhost:5000 in browser profit! I'd like to take it a step…
ryantuck
  • 4,636
  • 6
  • 45
  • 64
4
votes
1 answer

Rich HTML tray menu in a desktop web application

I want to create a tray menu app with custom buttons, sliders, maybe some nice transition effect, a header and footer like this: The application needs to work on Linux, Windows and Mac. I guessed it should be possible with a desktop web app + some…
Janek Olszak
  • 3,275
  • 1
  • 23
  • 21
4
votes
1 answer

Debugging nwjs app in VSCode

I am using VSCode as my primary JS ide and currently working on a NWJS(node-webkit) app. I want use the debugger available in VSCode. Can anyone guide me through how the launchjs should look like.
Ananthu R V
  • 348
  • 2
  • 14
4
votes
3 answers

Can I load a website with nw.js

I know nw.js is generally meant to load html on the client, but can it also point to a website and show that? When I set the "main" value in package.json to something like google.com it doesn't work. I'm looking at making a game launcher app that…
user441521
  • 6,174
  • 18
  • 77
  • 143
4
votes
1 answer

How to get started with angular2 in nw.js

How can I get a working 'hello world' for angular 2 under nw.js? I successfully got a working angular 2 app using this guide: https://angular.io/docs/js/latest/quickstart.html and a working nw.js app using this…
Croad Langshan
  • 2,239
  • 2
  • 19
  • 32
4
votes
2 answers

Setting Javascript Context to iFrame in an iFrame

I have a page with an