Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/fastily/dumb-file-drop
- Owner: fastily
- License: gpl-3.0
- Created: 2020-03-18T06:48:05.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-17T02:34:06.000Z (8 months ago)
- Last Synced: 2024-05-01T15:22:11.995Z (8 months ago)
- Topics: fastapi, file-sharing, python3
- Language: HTML
- Homepage:
- Size: 34.2 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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!