Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fastily/dumb-file-drop

🤡 Simple webserver which allows files to be uploaded to it
https://github.com/fastily/dumb-file-drop

fastapi file-sharing python3

Last synced: about 1 month ago
JSON representation

🤡 Simple webserver which allows files to be uploaded to it

Awesome Lists containing this project

README

        

# dumb-file-drop
[![Python 3.9+](https://upload.wikimedia.org/wikipedia/commons/4/4f/Blue_Python_3.9%2B_Shield_Badge.svg)](https://www.python.org)
[![License: GPL v3](https://upload.wikimedia.org/wikipedia/commons/8/86/GPL_v3_Blue_Badge.svg)](https://www.gnu.org/licenses/gpl-3.0.en.html)

Simple webserver which allows files to be uploaded to it. Good for quickly sharing files on your local network.

Files will be uploaded to `./uploads`

## Install
```bash
pip install dumb-file-drop
```

## Run
```bash
# invoking this module directly, runs in debug mode
python -m dumb_file_drop

# prod
gunicorn -b "0.0.0.0" -w 4 -k uvicorn.workers.UvicornWorker dumb_file_drop.__main__:app
```

Endpoint: [localhost:8000](http://localhost:8000)

⚠️ Do not use this on public/untrusted networks! There's no built-in authentication, so anybody could upload files to your computer!