Crates.io | ou |
lib.rs | ou |
version | 0.1.6 |
source | src |
created_at | 2022-08-28 12:00:37.699062 |
updated_at | 2022-09-27 09:26:58.488419 |
description | Helps you serve a static site, single page application or just a static file |
homepage | |
repository | https://github.com/raphamorim/ou |
max_upload_size | |
id | 653840 |
size | 27,254 |
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
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: