NW.js (formerly node-webkit) binary compiled for the ARMv6 used by Raspberry Pi. It also runs on Raspberry Pi 2 and Raspberry Pi 3 since they are backward compatible with ARMv6. Other compatible hardware should also be able to run this binary.
You need a package.nw which is just a .zip file with .nw extension that contains your project (at least, it needs an index.html and a package.json inside). The included package.nw is just an example using the Yasminoku game. Since this is only a port, if you need it you can go to the official web site of NW.js and read the documentation to know more about package.nw, package.json, etc.
Optional: merge nw and package.nw into a single file with the following command:
cat nw package.nw > Your_new_binary_file
Edit fix_libudev.so.0 and fix_libudev.so.1 and replace Your_new_binary_file found in their code by the real name of your binary file (if you did not merge nw and package.nw together, then replace it by just nw).
If you need it, give executable permissions (and other desired permissions) to Your_new_binary_file (or nw) using the chmod command (as root).
Try to run the binary:
If you did not merge the nw and package.nw files in one single file (as explained in step 2), you should run this command instead:
In the case the system complains about libudev.so.0 when you try to run the binary, just type the following command:
Likewise, if needed, do the same for libudev.so.1 running this:
Note: these two commands above will only work if you have followed the step 3 properly before. Each of them only needs to be executed once and never again.
If all works well, you can distribute your project. You will need these files at least (in the same folder): libffmpegsumo.so, nw.pak and Your_new_binary_file (or nw and package.nw instead). I would recommend including fix_libudev.so.0 and fix_libudev.so.1 optionally (modified as explained in step 3) if you think others might need them.
node-webkit (now called NW.js) version: v.0.7.0-pre
Node.js version: v0.10.12
This repository was created by Juan Alba Maldonado