Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 988 Bytes

File metadata and controls

46 lines (29 loc) · 988 Bytes

Koala 🐨

Stupidly simple static web app server, written in Rust.

Installation 🦫

On Debian/Ubuntu 🌻

sudo curl --proto '=https' --tlsv1.2 -sSfL -o /usr/local/bin/koala https://github.com/Eraz1997/koala/releases/download/<latest-version>/koala-amd64 # or koala-arm64
sudo chmod +x /usr/local/bin/koala

On Any Platform 🧑‍🚀

  1. Install Rust

  2. Install with Cargo

    cargo install --git https://github.com/Eraz1997/koala

Usage 🚀

Just run koala --static-files-path <your-file-path>, it will work. See koala --help to see available settings.

Contributing 🤝

Setup 🪛

  1. Install Rust

Run Locally 🧸

cargo run --static-files-path <example-file-path>

The backend service is available at http://localhost:5000/<path>.

Lint and Format 🧽

cargo fmt
cargo clippy -- --deny warnings