Run a simple HTTP server

Run this Python command to serve the contents of the current working directory over HTTP:

python3 -m http.server 8080

You can view the output at http://localhost:8080.

If you don't specify a port number, the default is 8000. To see all the available options run:

python3 -m http.server -h