Skip to content

Simple server for local usage, serving specified directory

License

Notifications You must be signed in to change notification settings

arthrp/localserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

localserver

Crates.io

Simple server to serve specified folder locally

Motivation

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.

Implementation

It leverages the power of warp, so all the complexity is handled there.

Usage

localserver [/path/to/folder] [port] (optional)

About

Simple server for local usage, serving specified directory

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages