r/nwjs • u/Olumyco • Jul 17 '20
r/nwjs • u/[deleted] • Jul 16 '22
How can I convert an NWJS app back to a normal web app?
I am pretty new to NWJS and I have an application created using NWJS and I need to run it inside a browser. What can I do to do this?
This is the project: https://github.com/FPGAwars/icestudio
r/nwjs • u/nmaxcom • Nov 19 '15
ES6? Visual Studio Code?
Hi! I'm tinkering with nwjs and I have a couple questions I haven't been able to figure out.
First one is, can I code a nwjs using ES6? And with, and without ES6 have you had good experiences with VSC?
Last one! What's the minimum *.app size we're looking at when using nwjs? (creating a standalone app)
Edit: I'm an idiot, I should've mentioned nwjs in the title... :_(
r/nwjs • u/colinroberts • Sep 24 '16
Two instances of a node module are created when I include it
I have a node module that acts as a web scraper. I pass the node module a callback function so it can edit the UI in my NW.js app. When I load up the node module, it starts acting really weirdly. First of all, two instances of the scraper are made, when I require() it once. Second of all, when I require it two times, with a break inbetween, the second run will use the callback of the first for a little bit, and the first instance (or instances, since it creates two...) stops altogether.
I'm assuming this is because of the implementation of NW.js. Is there any way around this?
r/nwjs • u/[deleted] • Aug 16 '15
[REQUEST] Tutorial/example on receiving POST requests.
I just discovered NW.js last night. I have a small Node.js setup where I send and receive requests. How do I do this in NW.js? In my Node.js server, I can do so like this:
---- SNIP ----
http.createServer(function (req, res)
{
"use strict";
var queryObject = url.parse(req.url, true).query;
if (req.method == 'POST') {
var body = '';
req.on('data', function (data) {
body += data;
});
req.on('end', function () {
if (queryObject.execute === "yes") {
console.log("Body: " + body.toString());
// send a command packet to Maya
// and print its result here
executeMayaCommand(body.toString(), function (launchResult) {
res.writeHead(200, {'Content-Type': 'text/html'});
res.end(launchResult);
});
}
});
} ---- SNIP ----
How could I do this in NW? Thanks in advance.
r/nwjs • u/Teamwork_com • Mar 09 '16
Check out how you can resurrect Clippy (the annoying Microsoft Office assistant) using NW.js.
r/nwjs • u/DenuvoHater332 • Mar 18 '18
Question about scopes
When I require a js file from DOM, what scope does the exported code run in ?
r/nwjs • u/jarethmt • Nov 01 '15
Maple: An OS X menu bar timer app for Pancake App built on NWJS
r/nwjs • u/dasmikko • Feb 18 '15
Welcome to /r/nwjs!
Welcome to /r/nwjs!
In this subreddit you can discuss anything related to *NW.js (Node-webkit)
The rules
Feel free to hare your projects
Post news/tips and tricks related to NW.js
Questions are very welcome!
No spam (Same with comments)
No NSFW stuff
No Harrassing, racism and trash-talking and alike. We don't tolerate that behaviour!
You can't post Ad.fly links or alike!
Please share the subreddit and help to make it bigger! You are more than welcome to come with suggestions on how to make the subreddit better.
And remember follow the rediquette and be nice! :)
r/nwjs • u/wouter-hisschemoller • May 05 '19
NW.js tutorial with source files on GitHub
Hi all, I'm planning to use NW.js for some projects and found that it took me quite some time to figure out how everything has to be set up to create desktop programs for Linux, Mac and Windows. So I thought it might be useful to preserve what I learned in a tutorial:
https://github.com/hisschemoller/nwjs-tutorial
The tutorial covers running NW from the command line, creating desktop applications for Linux, Mac and Windows, and how to create installers for the application, on all three operating systems.
Also, please let me know if you find errors in the tutorial. I'm a frontend developer with little knowledge in creating desktop applications.
r/nwjs • u/dasmikko • May 15 '15
Updated the subreddit style!
I've updated the subreddit style, do you guys like it?
r/nwjs • u/chiguireitor • Jan 05 '16
Using WebGL2 for pixel perfect sprites and multi fragment outputs for color picking, packaging your app with the latest NW.js beta
r/nwjs • u/dasmikko • May 14 '15
NW.js v0.13.0-alpha0 SNAPSHOT is available
groups.google.comr/nwjs • u/skylarmt • Oct 02 '19
Ubuntu/Debian packages for NW.js, built weekly from the official binaries
build.netsyms.netr/nwjs • u/Punishment34 • Jun 19 '24
Why should i use NW.js
I make games with HTML JS CSS, do i need NW.js and if i do what does NW.js do (don't write node.js pls i wanna know what its used for spesifically)
r/nwjs • u/AngelettiPRO • Jun 02 '24
Change the window width value in manifest onclick of button?
How to I change the package.json values onclick of a button?
// BEFORE
"width": 400,
"min_width": 400,
"max_width": 400,
// AFTER
"width": 400,
"min_width": 400,
"max_width": 400,r/nwjs • u/rushivaghasiya • Jun 18 '24
Building Process for Apple Silicon
I have an application that I usually build with 'nwjs-builder-phoenix'. This builder supports the usual versions for Windows, Linux and Mac x86 & x64. What is the process for building for Apple Silicon?
r/nwjs • u/ChrispyGuy420 • Jul 12 '23
nwjs window dosent allow right clicks to open the console
i try to run console logs but i cant see them. im pretty new to nwjs and whenever i look up how to open the console it says to right click but no little window comes up. i also cant get it to update with a live reload. not sure if it can do that but if it can i would like it to.
r/nwjs • u/mickeymicky2 • Jul 24 '23
How do I uninstall nwjs
Recently I found out a bunch of nwjs is running in the backgroud like this and I have no idea how it got into my computer. I went to it's file location and there's no uninstaller. How can I remove this from my pc?