wisp is a simple, lightweight and fast Rust-based HTTP file server. It is intended as a minimal replacement for Python's http.server.
- Serve static files from the current directory
- Default port 8000, configurable with
-pflag - Basic logging of HTTP requests
- Supports
GETrequests for file downloads - Supports
POSTrequest to root/to list files (files only) - Minimal dependencies, single binary
-
Clone the repo:
git clone https://github.com/stigsec/wisp.git cd wisp -
Build with Cargo:
cargo build --release
Start serving files from the current directory on default port 8000:
wispServe files on a custom port, e.g., 9000:
wisp -p 9000Display help menu:
wisp -hDownload a file using GET:
curl http://localhost:8000/example.txtList files with POST:
curl -X POST http://localhost:8000/This project is licensed under the GNU General Public License v3.0. See the LICENSE file for more details.
Developed by stigsec.