smallserve

Crates.iosmallserve
lib.rssmallserve
version0.1.1
created_at2025-06-30 22:56:39.005912+00
updated_at2025-06-30 23:02:21.674693+00
descriptionA minimal static file server written in Rust.
homepage
repositoryhttps://github.com/tim-hub/smallserve
max_upload_size
id1732528
size29,874
Tim (tim-hub)

documentation

README

smallserve

This is inspired by Python SimpleHTTPServer, but written in Rust. It is a simple HTTP server that serves files from a directory.

What is this for?

Sometimes you may want to quickly test some static files locally, or share files at your local network.

In Python, you have SimpleHTTPServer, which is a simple HTTP server that serves files from a directory. In Rust, you have smallserve, which is a simple HTTP server that serves files from a directory.

smallserve is a rust implementation of a simple HTTP server that serves files from a directory. It is designed to be fast, lightweight, and easy to use.

How to use

  • cargo install smallserve
  • smallserve -d <static files directory>
    • If it's not found, make sure $HOME/.cargo/bin is in your system PATH.

Development

  • clone this repository
  • cargo run -- --port 7777 -d ./
Commit count: 0

cargo fmt