A very simple file server, named after my favorite kind of ice cream 🍦
- HTTP/1 and HTTP/2
- FTP
- TFTP
- As simple as it gets
With cargo-binstall
cargo binstall soft-serveor cargo install
cargo install soft-serve --lockedServes the current directory over HTTP
sfsServes the dist directory over HTTP
sfs distServes files over FTP
sfs ftp filesServes files over TFTP
sfs ftp files --trivialor
sfs ftp files -tSet the port the server lsitens on. Defaults to 5001 for HTTP and 5002 for FTP and TFTP.
Set the IP address of the server. Defaults to 127.0.0.1
Turns off the convenience functionality of / being treated as /index.html.
Serve files over TFTP instead of FTP.
soft-serve = { version = "0.0.9", no-default-features = true, features = ["http", "ftp"] }