localserve

Crates.iolocalserve
lib.rslocalserve
version0.2.0
created_at2025-07-15 15:46:29.735147+00
updated_at2025-08-21 04:31:41.319136+00
descriptionA simple static folder web server with start/stop support.
homepage
repository
max_upload_size
id1753511
size43,161
(unsecretised)

documentation

README

localserve

A simple CLI tool to serve a static folder as a website on localhost:{port} — with support for daemon mode (start/stop style control).

Features

  • Serve any folder as a static website
  • Launch as a background daemon
  • Stop the server via command
  • Cross-platform support (Unix + Windows)

Installation

To install from source:

cargo install --git https://github.com/TeenCoder159/localserve

Or build from source:

git clone https://github.com/TeenCoder159/localserve
cd localserve
cargo build --release

Usage:

localserve start webproject 3000

Serves the directory webproject at localhost:3000

localserve stop 

Stops the server

Contributing:

All pull requests are welcome!

License:

See license for more info

Commit count: 0

cargo fmt