6 ms·
Simpler: python -m SimpleHTTPServer
by jfr 15y ago
Simpler:
python -m SimpleHTTPServer
- terhechte 15y agoAw, I was just about to write just that comment. :)
- mattew 15y agoMe too. I don't use python for development on a day to day basis but use the python SimpleHTTPServer all the time.
- remi 15y agoFunny thing is, one of the reason I wrote annyong was because I was getting tired of the boring SimpleHTTPServer listing style and found no simple alternatives :)
- wildmXranat 15y agoIndeed. I use this method way too much. In fact, when I baked my own static page compiler script, this was the 'built-in' server.
- tdavis 15y agoAlmost as simple, but production-ready (fast, daemonize-able, ssl, etc.): twistd -n web --port=8080 --path=.
- xutopia 15y agoThis isn't the same thing. Annyong shows you a list of files rather than serving straight up. If there is an index.html file it's just listed like all the other files. See the readme for more info.
- known 15y agohttps://addons.mozilla.org/en-US/firefox/addon/browser-server/ https://addons.mozilla.org/en-US/firefox/addon/browser-serve...
- drx 15y agoOr in python3: python -m http.server
- pclouds 15y agobusybox httpd