Start a HTTP server with a password (To log in, leave the username blank and enter the password in the password field)

updog

  • A replacement for Python's SimpleHTTPServer.
    It allows uploading and downloading via HTTP/S, can set ad hoc SSL certificates and use HTTP basic auth.
    More information: <https://github.com/sc0tfree/updog>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

updog --password {{password}}

click the source code to copy