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

Packaging node-webkit application as ".appx" (for Windows 8 Store)

I want to know how I'd be able to package a node-webkit application as an .appx for the Windows 8 Store? I've been able to create an .exe of my application that works as long as it's in the same directory as its .dll's. Here's how my directory…
theabraham
  • 15,840
  • 9
  • 42
  • 41
9
votes
2 answers

How to extract symbol files for nw (node-webkit)?

As docs are saying The symbol files (.sym) can be extracted from the downloaded packages. As far as I understand from one of this http://nwjs.io/downloads/ or from one provided by the nw-builder. Both have the same structure without any *.sym…
sdespolit
  • 893
  • 8
  • 20
9
votes
1 answer

Minimize Node js application .js files?

We have developed a desktop application using node webkit and it works fine. My only doubt is that, do we need to perform minification on the .js files written as part of node js server component. We usually perform minification on the javascript…
user3220129
  • 503
  • 9
  • 24
9
votes
2 answers

How to retain cookies in node-webkit

I wish to create an application using node-webkit which does the simple job to open a remote web application. The web application has some cookie based authentication. Considering that the user has signed-in successfully, how can the required…
Dimitris Zorbas
  • 5,187
  • 3
  • 27
  • 33
8
votes
1 answer

How to add text to ubuntu app indicator with with NW.js (or electron)?

I know that it is possible to create a tray icon for a node-webkit application like so: var tray = new gui.Tray({ title: 'Tray', icon: 'img/icon.png' }); but on Ubuntu the title won't be displayed. Is there anyway to achieve this? I would like to…
hugo der hungrige
  • 12,382
  • 9
  • 57
  • 84
8
votes
1 answer

Can't Require Node Modules In WebWorker (NWJS)

I'm trying to do something I thought would be simple. I'm using nwjs (Formerly called Node-Webkit) which if you don't know basically means I'm developing a desktop app using Chromium & Node where the DOM is in the same scope as Node. I want to…
xendi
  • 2,332
  • 5
  • 40
  • 64
8
votes
2 answers

Node JS - read file properties

I'm developing a Desktop Application with NWJS and I need to get the file properties of an .exe File. I've tried using the npm properties module https://github.com/gagle/node-properties, but I get an empty…
Gabriel Matusevich
  • 3,835
  • 10
  • 39
  • 58
8
votes
2 answers

Node.js npm dependencies in subfolder

I have a project in which I use node-webkit. node-webkit allows npm packages to be used for developing desktop applications. I make use of grunt to build my application. My folder structure looks like this at the moment: project root …
Michahell
  • 4,905
  • 5
  • 29
  • 45
8
votes
1 answer

Node-Webkit (nwjs) How to align window to the right?

Is there any simple way to align window of Node-Webkit application? As far as I can see in documentation there is such metod as Window.moveTo(), as well as property "position", which nevertheless could have only 3 values: "center", "mouse" and…
SLoN1ck
  • 271
  • 3
  • 6
8
votes
1 answer

Node-Webkit: How to create a file in the local file system?

With using Node-Webkit, I'm trying to create and write to a text file in a user defined local folder from within a web worker js file. I tried using requestFileSystemSync(), .root.getFile(), .createWriter(), etc. but I'm not sure where this file is…
cohoman
  • 329
  • 1
  • 5
  • 18
8
votes
3 answers

tag for CSS url()

I'm looking for a way to reference with / a "custom" url. I'm using something like a local browser and the / path references to / unix path (yea, o.s. root path!), which is definitely not the same place where my files are placed. While I can solve…
Francesco Belladonna
  • 11,361
  • 12
  • 77
  • 147
8
votes
6 answers

Get the path to the current application in node-webkit

In node-webkit, is there any way to find the path to the current application? In node.js, you can use __dirname to find the path to the current application, but in node-webkit, the variable __dirname appears to be undefined. The following node.js…
Anderson Green
  • 30,230
  • 67
  • 195
  • 328
7
votes
3 answers

Node.js - read and download all files in directory from server and save locally

I have a Node Webkit Desktop App and need to download files from the server and save locally for when users are offline. I can download and save a file when I know what the file name is, but how do I read the contents of a directory on the server…
LeeTee
  • 6,401
  • 16
  • 79
  • 139
7
votes
1 answer

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
  • 10,957
  • 15
  • 54
  • 106
7
votes
3 answers

How to package a NW.js application on Windows

I am reading the instructions for how to package a NW.js app and the wording is a confusing mess and makes no sense. I highlighted the contradictory word-salad parts. Create a zip file (this is built into XP, Vista and 7) Copy all of your files…
William
  • 4,422
  • 17
  • 55
  • 108
1 2
3
80 81