Minimal and blazing-fast file server. For real, this time.
To install zy
, you need Rust 1.59.0
or higher. You can then use cargo
to build everything:
console
cargo install zy
You can also install the latest version (or a specific commit) of zy
directly from GitHub.
console
git clone https://github.com/miraclx/zy.git
cargo install --path zy
console
zy
This will start serving your current directory on http://localhost:3000 by default.
...you can also specify a different port or base directory:
console
zy /path/to/serve
...or perhaps different addresses:
console
zy -l 5000 -l 127.0.0.1:8080 -l 192.168.1.25
You can run zy --help
to see all available options.
```console $ zy --help Zy 0.1.1 Minimal and blazing-fast file server.
USAGE: zy [OPTIONS] [DIR]
ARGS:
OPTIONS:
-l, --listen 3000
, 127.0.0.1
, 127.0.0.1:3000
[default: 127.0.0.1:3000]
-s, --spa Run as a Single Page Application
-i, --index
Zy was originally inspired by sfz, serve and http-server. It is written in Rust and uses actix as the web framework.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as below, without any additional terms or conditions.
Licensed under either of
at your option.