44 lines
1.3 KiB
Markdown
44 lines
1.3 KiB
Markdown
# RUpload
|
|
|
|
## About
|
|
Easiest way to upload files to a server.
|
|
|
|
Since it doesn't have captcha or whatsoever, it's only usable with people you trust on a not listed domain. It's destined for public use, as long the domain isn't listed in a search engine. It has a limitation for file size, so it would never go terribly wrong.
|
|
|
|
## Installation
|
|
```
|
|
python3 -m venv .venv
|
|
./venv/bin/python -m pip install .
|
|
```
|
|
|
|
## Usage
|
|
```bash
|
|
rupload.serve [-h]
|
|
[--hostname HOSTNAME]
|
|
[--port PORT]
|
|
[--upload_folder UPLOAD_FOLDER]
|
|
[--upload_url UPLOAD_URL]
|
|
[--max_file_size MAX_FILE_SIZE]
|
|
|
|
Start the file upload server.
|
|
|
|
options:
|
|
-h, --help show this help message
|
|
and exit
|
|
--hostname HOSTNAME The hostname for the
|
|
server.
|
|
--port PORT The port to bind the
|
|
server to.
|
|
--upload_folder UPLOAD_FOLDER
|
|
Directory to store
|
|
uploaded files.
|
|
--upload_url UPLOAD_URL
|
|
HTTP(S) URL where the
|
|
server will serve the
|
|
uploaded files.
|
|
--max_file_size MAX_FILE_SIZE
|
|
Maximum file size in
|
|
bytes (default is
|
|
50MB).
|
|
```
|