Saturday, September 22, 2012

Simple one-step web(http) Server


We all know Mac OS has a powerful sharing feature called AirDrop, but it too simple to share to multiple users. Sometimes we really need a simple web server for sharing our static resource, For instance,  HTML file, simple folder,  or some multimedia files.

 
We can use Python on Ubuntu...
Python
Usage : 
$ python -m SimpleHTTPServer [port]

And I have to work under Micro$oft Windows sometimes...
F5 
http://www.getf5.com/

Install : 
Download the F5 application
Usage : 
Simply drag your folder or file into the application, it will shows the browsable URL.


But i prefer nodejs based...
NodeJS 
Simple http server

Install : 
$ npm install simple-http-server -g
Usage : 
$ nserver


No comments:

Post a Comment