mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-09 09:09:03 +03:00
docs: improve readme
This commit is contained in:
21
README.md
21
README.md
@@ -5,14 +5,14 @@
|
|||||||
|
|
||||||
Duf is a fully functional file server.
|
Duf is a fully functional file server.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
- Serve static files
|
- Serve static files
|
||||||
- Download folder as zip file
|
- Download folder as zip file
|
||||||
- Search files
|
- Search files
|
||||||
- Upload files and folders
|
- Upload files and folders (Drag & Drop)
|
||||||
- Delete files
|
- Delete files
|
||||||
- Basic authentication
|
- Basic authentication
|
||||||
- Upload zip file then unzip
|
- Upload zip file then unzip
|
||||||
@@ -44,22 +44,31 @@ duf
|
|||||||
duf folder_name
|
duf folder_name
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Listen on all Interfaces and port 3000
|
||||||
|
|
||||||
|
```
|
||||||
|
duf -b 0.0.0.0 -p 3000
|
||||||
|
```
|
||||||
|
|
||||||
Allow all operations such as upload, delete
|
Allow all operations such as upload, delete
|
||||||
|
|
||||||
```
|
```sh
|
||||||
duf --allow-all
|
duf --allow-all
|
||||||
|
# or
|
||||||
|
duf -A
|
||||||
```
|
```
|
||||||
|
|
||||||
Only allow upload operations
|
|
||||||
|
Only allow upload operation
|
||||||
|
|
||||||
```
|
```
|
||||||
duf --allow-upload
|
duf --allow-upload
|
||||||
```
|
```
|
||||||
|
|
||||||
Use http authentication
|
Serve a single page application (SPA)
|
||||||
|
|
||||||
```
|
```
|
||||||
duf --auth user:pass
|
duf --render-spa
|
||||||
```
|
```
|
||||||
|
|
||||||
### Api
|
### Api
|
||||||
|
|||||||
Reference in New Issue
Block a user