lll is a simple local http server for serving files quickly.
Checkout the releases page for pre-built binaries.
Usage: lll [options]
Options:
-d, --dir PATH Directory to serve (default: current)
-p, --port PORT_NUM Port to bind (default: 2058)
-t, --expire-cache SECS Set cache expiration time in seconds [default: 86400 (1 day)]
-h, --help Display help and exit
Make sure you installed and setup the rust toolchain first.
- Clone this repo
git clone http://github.com/PrajwalCH/lll
. - Jump to
lll
dir. - Run
cargo build --release
to build it. - Then run
cargo run -- [options]
or./target/release/lll [options]
to start it. - To install run
cargo install --path .
or you can use pre-built binary.