Description
Updog is a small command-line web server for a folder, written in Python as a replacement for Python's built-in SimpleHTTPServer. Run it in a directory and it serves those files over HTTP or HTTPS, and it also lets people upload files to the server, so it works for sharing and receiving files. You can protect the page with a password, which uses HTTP basic authentication with a blank username. A single flag creates an ad hoc SSL certificate, or you can supply your own certificate and key. Other options choose the directory, the bind address and the port, enable CORS headers for testing web applications, and hide the full directory path from the listing. It installs with pip or pipx. The project is open source on GitHub, and the README includes an options table and usage examples.…
Highlights
- Serve and upload files over HTTP or HTTPS
- Password protection with HTTP basic auth
- Ad hoc or custom SSL certificates
- CORS headers for testing web apps
- Installs with pip or pipx
Ratings & Reviews
No ratings yet
Be the first to rate Updog.
People also visit
Updog FAQ
What is updog?
A command-line web server for a folder. It serves files over HTTP or HTTPS and lets people upload files, and it replaces Python's SimpleHTTPServer.
Is it free?
Yes. The project is open source and hosted on GitHub.
How do I install it?
Run pip install updog, or use pipx, which the README recommends for command-line tools.
How do I start it?
Run updog in the folder you want to share. Use -d to pick another directory and -p to pick a port. The default port is 9090.
How do I password-protect it?
Start it with the --password option. Updog uses HTTP basic authentication, so leave the username blank and enter the password in the browser prompt.
Can it use HTTPS?
Yes. The --ssl option creates an ad hoc certificate, and --ssl-cert and --ssl-key load your own certificate and private key.
Can I choose which address it listens on?
Yes. The -b option binds the server to a specific address. The default is 0.0.0.0, which listens on all addresses.
Can it hide the full folder path?
Yes. The --hide-base-path option shows relative paths instead of the full directory path.
What are the best Updog alternatives?
Popular alternatives to Updog include miniserve, Dufs and Go Http File Server. See all Updog alternatives


