I built a simple zero-configuration FTP server that runs in a browser some time ago ( http://ezyftpserver.com/ ). Been wondering if I should do the same with a HTTP server?
Http-server, a simple zero-configuration command line http server
21–29 of 29 posts
Re: Http-server, a simple zero-configuration command line http server
#22Not another "Download this shell script over insecure HTTP and pipe it to sh" gimmick. Really? While http://news.ycombinator.com/item?id=2661209 is directly above this item on the front page?
Have we learned nothing?
Re: Http-server, a simple zero-configuration command line http server
#23sigh Not another "Download this shell script over insecure HTTP and pipe it to sh" gimmick. Really? While http://news.ycombinator.com/item?id=2661209 is directly above this item on the front page? Have we learned nothing?
git clone git://github.com/nodejitsu/http-server.git
cd http-server
node bin/http-server
The curl installation is for npm, the node package manager, which is actually optional to use http-serverRe: Http-server, a simple zero-configuration command line http server
#24Earlier quoted context omitted.
You are both these id? http://news.ycombinator.com/user?id=bitcoin http://news.ycombinator.com/user?id=bitcoins
it's marak squires, he has lots of sock puppet accounts.
Re: Http-server, a simple zero-configuration command line http server
#25Re: Http-server, a simple zero-configuration command line http server
#26Re: Http-server, a simple zero-configuration command line http server
#27Earlier quoted context omitted.
I can think of use cases for wanting a quick simple, easy to configure http server. I can think of use cases for wanting to be able to serve >1,000 requests a second. I can't think of any that fall into both categories ... am I just lacking imagination?
once i wanted to serve a quick and dirty page of 200 thumbnails but python's HTTP server choked after a few people tried it concurrently. it's single threaded and just wouldn't hack it. luckily if you have twisted installed, you can run "twistd web -n -p PORT --path ." it's just as easy as the basic HTTP server but way faster.
Re: Http-server, a simple zero-configuration command line http server
#28Re: Http-server, a simple zero-configuration command line http server
#29python -m SimpleHTTPServer