How could NodeWebkit and Awesomium work together?

2 views
Skip to first unread message

philip andrew

unread,
Jul 20, 2013, 10:22:48 PM7/20/13
to node-...@googlegroups.com
Hi,

I currently use Awesomium and OpenGL to show browser windows but then I wanted to add more functions to the browser windows, give them more control.

So then considered NodeWebkit as it can call NodeJS functions from the browser window. So in the ideal world, my Awesomium window could become a NodeWebkit window, but ... I don't know if thats possible or if its ever been done.
Alternatively, I guess I can just use a mix of both, some windows are NodeWebkit and some are Awesomium for the display in OpenGL.

Thanks, Philip

Vibeke

unread,
Jul 22, 2013, 6:57:52 AM7/22/13
to node-...@googlegroups.com
Hi Philip,
What is it that Awesomium provides that you can't get from node webkit?
Both Awesomium and Node-webkit provides an embedded fully functional Chromium browser.
I suppose Awesomium is designed for integrating a browser in a c++/java/.Net etc.application while node-webkit is for developing a stand-alone application using (mainly) web technologies. The node.js integration then provides (amongst other things) a way to integrate native code modules if needed.

Best regards 
-Vibeke

philip andrew

unread,
Jul 22, 2013, 11:39:46 AM7/22/13
to node-...@googlegroups.com
Hi Vibeke,

I have a C++ program which draws graphics in OpenGL, I used Awesomium by getting the image data from Awesomium to display web browsers in this OpenGL display. This is basically the core of my application, it needs to be able to display the webpages in OpenGL.

How I do this is by using LibCinder with Cinder-Awesomium to draw the web browsers. Links for your info:

Now, I have some javascript calling my C++ from the web browser in Awesomium, then I came across this and thought, wouldn't it be nice if Awesomium had this NodeJS working in the browser, I could do a lot more from the web browser javascript. In fact, it would make a lot of things MUCH easier for development.

So what I want is either an Awesomium which can do what this does OR use NodeWebkit as a component like Awesomium and access its image data to display in OpenGL OR just compromise and use NodeWebkit browser instance in cooperation with Awesomium, so the NodeWebkit has the NodeJS functionality and Awesomium just displays the HTML to OpenGL.

Its for a project I'm working on for https://perceptualchallenge.intel.com/ 

Thanks!
Phil

philip andrew

unread,
Jul 23, 2013, 2:50:20 AM7/23/13
to node-...@googlegroups.com
Hi Vibeke,

You could also think about it from the point of view of a game developer who wants to use multiple web browsers, which is basically what Awesomium lets you do. The game developer would want to be able to use Awesomium, but they would say, ok it would be great to be able to use NodeJS in the browser.

Phil

On Monday, July 22, 2013 6:57:52 PM UTC+8, Vibeke wrote:
Reply all
Reply to author
Forward
0 new messages