News for hackers. Stuff that matters.
Re:PhantomJS is a minimalistic, headless, WebKit-based, Java... by helper on Wednesday January 26, 2011 @11:07AM (#2143670)
I'm sorry but I don't consider an application that must be run under a windowing environment to be "headless".

While this cool, its really not that different from projects like http://code.google.com/p/wkhtmltopdf/.

If you really want a headless webkit browser you would need to write a new webkit port to a graphics library that doesn't require a windowing system (maybe cairo).

Re:PhantomJS is a minimalistic, headless, WebKit-based, Java... by andrewf on Thursday January 27, 2011 @03:26AM (#2147115)
Strictly speaking all this needs is a working QtGui component in the Qt library.

There are a couple of ways to compile Qt to operate against an in-memory framebuffer rather than a "real" windowing environment, although neither is a well supported part of modern Qt:

http://qt.gitorious.org/qt/pages/GettingStartedWithLighthous...

http://doc.qt.nokia.com/qtextended4.4/qvfb.html

Re:PhantomJS is a minimalistic, headless, WebKit-based, Java... by epochwolf on Wednesday January 26, 2011 @11:21AM (#2143733)
What's the cost of running an Xserver in the background? 20~30mb?
Re:PhantomJS is a minimalistic, headless, WebKit-based, Java... by blago on Wednesday January 26, 2011 @01:24PM (#2144305)
What happens when Xserver is not installed and you don't have the permissions or don't want to install it?