python -m SimpleHTTPServer $PORT python3 -m http.server will start http server on localhost:8000 or localhost:$PORT with the contents of $PWD.