7 releases
0.1.6 | Sep 27, 2022 |
---|---|
0.1.5 | Sep 10, 2022 |
0.1.2 | Aug 28, 2022 |
#1659 in Development tools
25 downloads per month
9KB
68 lines
ou
ou
helps you serve a static site, single page application or just a static file (no matter if on your device or on the local network). It also provides a neat interface for listing the directory's contents.
Pre-built binaries are available on the Github Releases tab.
You can use cargo to install:
$ cargo install ou
With cargo-binstall:
$ cargo binstall ou
Quick example
Once ou
is installed, you can run this command inside your project's directory. It will create by default in 8000
port:
$ ou
You can also specify the port by using --port
$ ou --port 3000
You can also specify the path
$ ou ../path-to-site --port 8123
Result:
Dependencies
~9–23MB
~271K SLoC