https://github.com/redthing1/soop3
the based http fileserver
https://github.com/redthing1/soop3
Last synced: 8 months ago
JSON representation
the based http fileserver
- Host: GitHub
- URL: https://github.com/redthing1/soop3
- Owner: redthing1
- Created: 2025-06-09T07:18:34.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-27T10:11:26.000Z (11 months ago)
- Last Synced: 2025-07-27T12:11:54.565Z (11 months ago)
- Language: Rust
- Size: 92.8 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# soop3
the based http fileserver
## usage
```bash
soop3 # serve current directory
soop3 --enable-upload # allow uploads
soop3 --host 0.0.0.0 --port 80 # listen on all interfaces
soop3 --config server.toml # use config file
soop3 /path/to/files # serve directory
```
## config
```toml
[server]
host = "0.0.0.0"
port = 8000
enable_upload = true
public_dir = "./files"
[security]
username = "admin"
password = "pass"
policy = "authenticate_upload"
[upload]
prepend_timestamp = true
prevent_overwrite = true
max_request_size = 1073741824
[listing]
ignore_file = ".gitignore"
```
policies: `authenticate_none`, `authenticate_upload`, `authenticate_download`, `authenticate_all`
## build
```bash
cargo build --release # production binary
cargo test --features test-helpers # run tests
```
## license
mit