youtube server in node.js

This is my first attempt at a project with node.  Am trying to build a youtube server that will perform downloads of flv files from youtube as well as provide a web interface for viewing your downloads.

Usage is pretty straightforward, just require yuserv.js and set values for ip, port, files directory and a unique url to pass to youtube when downloading as follows:

the yuserv.get lines just set up the server to handle specific requests. it could be easily extended to add lots more functionality.

 

Filed under  //   code   event-driven   javascript   node   server