sfs - Soft Serve
A very simple file server, named after my favorite kind of ice cream :icecream:
Features
- HTTP/1 and HTTP/2
- FTP
- TFTP
- As simple as it gets
Installation
With cargo-binstall
or cargo install
Usage
Serves the current directory over HTTP
Serves the dist directory over HTTP
Serves files over FTP
Serves files over TFTP
or
Options
--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.
As Library
= { = "0.0.9", = true, = ["http", "ftp"] }