There have been a couple of times when I wanted to just quickly pull up a directory as a web site and check that I had the files laid out correctly before pushing them to the main server.
However, this doesn’t usually work well for anyone trying to help me on a project temporarily.
I recently learned about the Python Flask module that can act as a droplet server with little to no configuration.
Shout out to Adam Sommer for the initial proof of concept - what I have presented below is a slightly improved version from his post.
pip install flask
python3 quick_flask.py(may also work with Python2 still, but untested)
Open browser to http://localhost:5000 (or whatever the address the output gives you)
(Download: Click Here)