Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zpg6/netupload
Simple upload server for local network file transfers.
https://github.com/zpg6/netupload
Last synced: about 1 month ago
JSON representation
Simple upload server for local network file transfers.
- Host: GitHub
- URL: https://github.com/zpg6/netupload
- Owner: zpg6
- Created: 2024-07-04T20:41:03.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-04T23:18:54.000Z (5 months ago)
- Last Synced: 2024-10-09T11:41:21.016Z (about 1 month ago)
- Language: Python
- Homepage:
- Size: 203 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# netupload
Simple file upload server for when you need to send files around on your local network.
Sometimes you don't want to login to your email and don't have a USB so this can be a quick way to transfer files.![How it works](https://github.com/zpg6/netupload/raw/main/docs/how_it_works.png)
## Usage
Install the package:
```
pip install netupload
```Start the server with the default options:
```
netupload
```## Options
```
netupload --host=0.0.0.0 --port=4000 --save-dir=./uploads
```| Option | Description | Default |
| ---------- | -------------------------------- | --------- |
| --host | Host to run the server on | 0.0.0.0 |
| --port | Port to run the server on | 4000 |
| --save-dir | Directory to save uploaded files | ./uploads |## Webpage
The server runs a webpage that you can access from any device on the same network.
You will see the```
> netupload --host=0.0.0.0 --port=4000 --save-dir=./uploads* Serving Flask app 'src.app'
* Debug mode: off
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:4000
* Running on http://192.168.1.123:4000 <--------- THIS ADDRESS WITH YOUR COMPUTER'S LOCAL IP
```Navigate to the address shown in the terminal to access the webpage:
![Webpage Screenshot](https://github.com/zpg6/netupload/raw/main/docs/cli_to_webpage.png)