A simple Python script to share files over your local network.
Share a file:
python main.py some-fileOutput:
============================================================
File sharing server started!
============================================================
Serving: some-file
Here's your link:
http://192.168.1.17:8000/some-file
Press Ctrl+C to stop the server
============================================================
Open the link on any device connected to the same network to download the file.
usage: main.py [-h] [--port PORT] [--qr] file
positional arguments:
file The file to share
options:
-h, --help show this help message and exit
--port PORT Port to run the server on (default: 8000)
--qr Generate a QR code for the file URL