Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Serverside WebKit with node.js

Tags:

node.js

webkit

In my node.js app I need to render an HTML5 page on server side and make it's screenshot. Are there any libraries to do this?

like image 686
andr111 Avatar asked Aug 26 '12 14:08

andr111


People also ask

Can I use both PHP and NodeJS?

Yes, and yes. Node and Apache / PHP can co-exist on a single server. The only issue you are likely to run into is that they cannot both listen on the same port. HTTP, by default, runs on port 80 and only one process can "listen" on a single port at any one time.

Can NodeJS act as a web server?

Node. js is an open source server environment.

Is Netflix built on NodeJS?

After the migration to NodeJS, Netflix is able to use efficient CI (continuous integration) without waiting hours for the server to start. Programmers can run their tests locally without pushing every piece of code to a test environment which also saves a ton of time during the daily programming process.

Can you use NodeJS on a static website?

No. Node. js is server-side software: you can't embed it in static webpages.


1 Answers

Look at CasperJS which is based on PhantomJS.

like image 164
Peter Lyons Avatar answered Nov 02 '22 17:11

Peter Lyons