🚀 Socket Launch Week 🚀 Day 5: Introducing Socket Fix.Learn More
Socket
Sign inDemoInstall
Socket

updog2

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

updog2

Updog is 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. The last version allows to generate a QR code to share the link and also allows to display just image files in a more friendly way.

2.2.0
PyPI
Maintainers
1

Version 2.2.0 Python 3.10 MIT License

updog

Updog is 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.
The last version allows to generate a QR code to share the link and also allows to display just image files in a more friendly way.

Updog screenshot

Updog screenshot 2

Installation

Install using pip:

pip3 install updog2

Usage

updog [-d DIRECTORY] [-p PORT] [-qr] [-q] [-i] [--password PASSWORD] [--ssl] [--version] [DIRECTORY]

ArgumentDescription
-d DIRECTORY, --directory DIRECTORYRoot directory [Default=.]
-p PORT, --port PORTPort to serve [Default=9090]
-qr, --qrShow QR code to access the page
-q, --quietDo not display the QR code in the webpage
-i, --imagesShow the images in the directory
--password PASSWORDUse a password to access the page. (No username)
--sslEnable transport encryption via SSL
--versionShow version
-h, --helpShow help

Examples

Serve from your current directory:

updog2

Serve from another directory:

updog2 -d /another/directory

Serve from port 1234:

updog2 -p 1234

Password protect the page:

updog2 --password examplePassword123!

Please note: updog uses HTTP basic authentication. To login, you should leave the username blank and just enter the password in the password field.

Use an SSL connection:

updog2 --ssl

Show a QR code to access the page:

updog2 -qr

Show the images in the directory:

updog2 -i

More examples:

updog2 /tmp/mydog -iqp 1234 --password examplePassword123! --ssl -qr

Notes

This project is a fork of updog by sc0tfree. The original project is no longer maintained, so I decided to fork it and keep it up to date.
The principal changes I made can be found in the CHANGELOG.

Keywords

HTTP server SimpleHTTPServer directory

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts