Crates.io | localserver |
lib.rs | localserver |
version | 0.1.1 |
source | src |
created_at | 2020-09-22 19:48:39.092583 |
updated_at | 2020-12-25 23:48:23.243587 |
description | Local server serving specified folder |
homepage | https://github.com/arthrp/localserver |
repository | https://github.com/arthrp/localserver |
max_upload_size | |
id | 291823 |
size | 72,931 |
Simple server to serve specified folder locally
Sometimes you just need a simple server that would serve a certain directory. For example, when you're compiling your code to Web Assembly, browser won't let you access those files via file URI scheme (file:\\
), you'll need to serve them via http.
It leverages the power of warp, so all the complexity is handled there.
localserver [/path/to/folder] [port] (optional)