Does anyone know if it is possible (and if so, how) to distribute a cocoa application with meteor.js and rendering it through a webview?
What I mean is that I want to launch a meteor server (or node.js) insied of my cocoa application and then with a cocoa webView show the content of what the meteor server is generating.
So the question is how to get meteor/node to be distributed together with the cocoa application so that the user doesn't have to manually install it.
You could embed a compressed archive of the server inside the application package (using copy files build phase of Xcode), and during app startup, unarchive/install/start it possibly using a combination of NSBundle/NSFileManager/NSTask apis. Your app can then view the served pages in a web view using something like http:127.0.0.1:YOUR_PORT/YOUR_APP_DIR.
I am assuming you are not providing your users with a installer (.pkg) since in that case, your installer script would be the take care of the installation part.
It's pretty ambitious, but you could try
Check out Could Node.js run client side in Chrome with its native client (to be released soon) for some of the commentary. Meteor is built on top of node. Mongo I think would be the sticking point.