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...
Usage : 
$ python -m SimpleHTTPServer [port]

And I have to work under Micro$oft Windows sometimes...

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...
Simple http server

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

No comments:

Post a Comment