I think you're oversimplifying it. For example, in node-webkit if you can 
drag and drop a file into the client area, you get the full path. You're 
basically running a server in node and running chrome with some permissive 
flags set.

On Monday, February 4, 2013 6:14:43 PM UTC-8, hij1nx wrote:
>
> The difference is several thousand lines of code -- in fact its about 
> 30 lines of code, there's no special APIs, no configuration files, builds 
> or hacks.
>
> On Monday, February 4, 2013, mgutz wrote:
>
>> How does this compare to node-webkit or appjs?
>>
>> On Monday, February 4, 2013 1:04:26 PM UTC-8, hij1nx wrote:
>>>
>>> *node-chrome(3)*
>>> A tiny module for building desktop apps. It's really simple and uses the 
>>> chrome runtime.
>>>
>>> *Here's the module.*
>>> https://github.com/hij1nx/**node-chrome/<https://github.com/hij1nx/node-chrome/>
>>>
>>> *Here's an example.*
>>> #!/usr/bin/env node
>>>
>>> var cn = require('../lib');
>>>
>>> var opts = {
>>>   runtime: "/Applications/Google\ Chrome.app/Contents/MacOS/**Google\ 
>>> Chrome",
>>>   files: "./ui",
>>>   port: 8080,
>>>   index: "/index.html",
>>>   width: 1024,
>>>   height: 760
>>> };
>>>
>>> cn(opts, function(websocket, chrome) {
>>>
>>>   websocket.on('message', function(message) {
>>>     console.log(message);
>>>   });
>>>
>>>   chrome.stdout.on('data', function (data) {
>>>
>>>   });
>>>
>>>   chrome.stderr.on('data', function (data) {
>>>
>>>   });
>>>
>>>   chrome.on('exit', function (code) {
>>>     process.exit(0);
>>>   });
>>> });
>>>
>>  -- 
>> -- 
>> Job Board: http://jobs.nodejs.org/
>> Posting guidelines: 
>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
>> You received this message because you are subscribed to the Google
>> Groups "nodejs" group.
>> To post to this group, send email to nodejs@googlegroups.com
>> To unsubscribe from this group, send email to
>> nodejs+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/nodejs?hl=en?hl=en
>>  
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "nodejs" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to nodejs+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>
> -- 
> --
> Paolo Fragomeni
> Founder, @Oqulr
> github.com/hij1nx
> twitter.com/hij1nx
>
>
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to