43 lines
1.6 KiB
Markdown
43 lines
1.6 KiB
Markdown
# RUpload
|
|
|
|
Easiest file manager for your server made for public use.
|
|
|
|
It doesn't have captcha or whatsoever. It's designed for public use, as long the domain isn't listed in a search engine. It has a limitation for file size, that's it's only security. Rate limiting is in consideration. The default file size is 50Mb. The default storage quota for whole directory is 10Gb. Default config will prevent your server for heavy abuse.
|
|
|
|
## Installation
|
|
1. `make ensure_venv`
|
|
2. `make install`
|
|
3. `source ./.venv/bin.activate`
|
|
4. `rupload.serve` (See parameters below. Running with default config using no parameters works too.)
|
|
|
|
## 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).
|
|
```
|