Crates.io | soft-serve |
lib.rs | soft-serve |
version | 0.0.8 |
source | src |
created_at | 2024-04-26 04:48:26.49872 |
updated_at | 2024-04-26 08:20:16.435767 |
description | Easily serve your filesystem. |
homepage | |
repository | https://github.com/tsar-boomba/soft-serve |
max_upload_size | |
id | 1220981 |
size | 82,688 |
A very simple file server, named after my favorite kind of ice cream :icecream:
With cargo-binstall
cargo binstall soft-serve
or cargo install
cargo install soft-serve --locked
Serves the current directory over HTTP
sfs
Serves the dist
directory over HTTP
sfs dist
Serves files
over FTP
sfs ftp files
Serves files
over TFTP
sfs ftp files --trivial
or
sfs ftp files -t
--port
or -p
Set the port the server lsitens on. Defaults to 5001
for HTTP and 5002
for FTP and TFTP.
--ip
or -i
Set the IP address of the server. Defaults to 127.0.0.1
--no-index-convenience
(HTTP only)Turns off the convenience functionality of /
being treated as /index.html
.
--trivial
or -t
(FTP only)Serve files over TFTP instead of FTP.
soft-serve = { version = "0.0.8", no-default-features = true, features = ["http", "ftp"] }