ou

Crates.ioou
lib.rsou
version0.1.6
sourcesrc
created_at2022-08-28 12:00:37.699062
updated_at2022-09-27 09:26:58.488419
descriptionHelps you serve a static site, single page application or just a static file
homepage
repositoryhttps://github.com/raphamorim/ou
max_upload_size
id653840
size27,254
Raphael Amorim (raphamorim)

documentation

https://github.com/raphamorim/ou#readme

README

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

Tree

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:

Result ou

Commit count: 37

cargo fmt