08/08/2017 (Tue) 19:32:14
I just doing something like "cd /path/to/dir && python -m http.server 9090" (where 9090 is port). It is for python 3, for 2 it would be -m SimpleHTTPServer, and other is same. Don't know about non-linuxes, I have none.
There is some list: https://gist.github.com/willurd/5720255
If you want something more serious and static, nginx is pretty simple. Maybe some hipster thing like caddy, but I never used it by myself.