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.
|
||||
|
||||

|
||||

|
||||
|
||||
## Features
|
||||
|
||||
- Serve static files
|
||||
- Download folder as zip file
|
||||
- Search files
|
||||
- Upload files and folders
|
||||
- Upload files and folders (Drag & Drop)
|
||||
- Delete files
|
||||
- Basic authentication
|
||||
- Upload zip file then unzip
|
||||
@@ -44,22 +44,31 @@ duf
|
||||
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
|
||||
|
||||
```
|
||||
```sh
|
||||
duf --allow-all
|
||||
# or
|
||||
duf -A
|
||||
```
|
||||
|
||||
Only allow upload operations
|
||||
|
||||
Only allow upload operation
|
||||
|
||||
```
|
||||
duf --allow-upload
|
||||
```
|
||||
|
||||
Use http authentication
|
||||
Serve a single page application (SPA)
|
||||
|
||||
```
|
||||
duf --auth user:pass
|
||||
duf --render-spa
|
||||
```
|
||||
|
||||
### Api
|
||||
|
||||
Reference in New Issue
Block a user