deanmao / node-chimera

A new kind of headless webkit integration for nodejs; a great alternative to phantomjs.
http://www.deanmao.com/2012/08/13/enter-chimera/
MIT License
847 stars 45 forks source link

use node-forge instead of openssl #39

Open heapwolf opened 11 years ago

heapwolf commented 11 years ago

its pure js.

deanmao commented 11 years ago

I don't understand... what does https://github.com/rjz/node-forge have to do with openssl?

Also, the openssl included is mostly for Qt because the openssl on the OS may sometimes conflict with the openssl included with node and cause segfaults. So openssl is not actually being used in any js code.

dhendo commented 11 years ago

I'm guessing this is the one: https://github.com/digitalbazaar/forge

heapwolf commented 11 years ago

Is this project still active?

dhendo commented 11 years ago

I'm hoping so - I have a project that has been getting closer for a while that could really do with being able to render a snippet of html, on the fly without resorting to writing to the filesystem and interacting with a separate python process (e.g. Phantom). Being able to return an image as a Buffer is again a massive bonus for the same reasons.

I've battled with the build process on and off over the last few months as a side activity, on the basis that this is

a) nice technology b) something I'm likely to need in the near future

My main problems seem to have been around the build process (and potentially also around instantiating multiple instances of Chimera to use in a pool).

I am, however, willing to help push this forwards, and have PR'd some changes to add to the API and improve image capturing / return: https://github.com/deanmao/node-chimera/pull/37

I'm not sure what situation @deanmao is in - I'm guessing he's got something that works for him (and building on OSX?) - however I'm grateful for the work that he has put in so far.

deanmao commented 11 years ago

I'm still using this, yes. We still use it in production at work where we mainly use this to take screenshots of webpages.