Metadata-Version: 2.4
Name: dumb-file-drop
Version: 0.1.1
Summary: A simple webserver-based drop box which allows file uploads. Good for sending files to another device on your local network.
Keywords: dropbox
Author: Fastily
Author-email: Fastily <fastily@users.noreply.github.com>
License-Expression: GPL-3.0-or-later
License-File: LICENSE.md
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Requires-Dist: aiofiles
Requires-Dist: fastapi[all]
Requires-Dist: gunicorn
Requires-Dist: rich
Requires-Python: >=3.9
Project-URL: Bug Tracker, https://github.com/fastily/dumb-file-drop/issues
Project-URL: Homepage, https://github.com/fastily/dumb-file-drop
Description-Content-Type: text/markdown

# 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 `/tmp/uploads`

## Usage
```bash
# install dependencies
uv sync --no-install-project

# run in debug mode
uv run python -m dumb_file_drop

# prod
uv run gunicorn -w 4 -k uvicorn.workers.UvicornWorker -b "0.0.0.0" 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!