Crates.io | statix |
lib.rs | statix |
version | 4.8.3 |
source | src |
created_at | 2021-12-24 15:57:18.888524 |
updated_at | 2022-02-28 13:37:44.231131 |
description | A CLI http server for static file sharing |
homepage | |
repository | https://github.com/Octalbyte/statix |
max_upload_size | |
id | 502710 |
size | 48,247 |
Made with ❤ by @Octalbyte
Static file server (Rust).
cargo install statix
statix #On the folder you want to host
--host <String>
set host--port <i32>
set port--ssl <bool>
set if server should have ssl, then set file paths with --crt <String>
(default cert.pem) and --key <String>
(default key.pem)--threads<i32>
set number of threads to be spawned--cors <String>
set the value of header Access-Control-Allow-Origin
--blocktor
Block requests made through TOR--username <String>
Username for authentication (If None, there will be no authentication required)--pwd <String>
Password for authentication.--help
display more help