use chrome to make desktop apps in node.js
Make desktop apps with Node.js and Chrome
This module demonstrates how well Node.js and Google Chrome (as two autonomous binaries) can cooperate wihtout much programatic interfacing. Node-chrome is the absolute least amount of glue needed to create a desktop experience with Node.js. The module will run on platforms that Chrome and Node.js run on.
runtime can point to an existing Chrome binary. You could also bundle a copy
of it with your project. Bundling it means you can change the icon and other such.
#!/usr/bin/env nodevar nc = ;var opts =runtime: "/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome"files: "./ui"port: 8080index: "/index.html"width: 1024height: 760;;