simple-http-server is a simple static file server written in Rust. It can quickly serve files from a directory over HTTP and provides a built-in directory listing with breadcrumb navigation.
The server supports file uploads, HTTP Basic Authentication, range requests, compression, cache control, CORS, SPA fallback, and optional HTTPS support.
This is free and open source software.
Key Features
- Serve static files over HTTP.
- Directory listing with breadcrumb navigation.
- Optionally render index.html and index.htm files automatically.
- Upload files with CSRF protection.
- HTTP Basic Authentication.
- HTTP cache control with Last-Modified and ETag support.
- Single-range partial content requests.
- gzip and deflate compression.
- CORS, COOP, and COEP header support.
- SPA fallback using a specified file for missing paths.
- Optional PKCS#12 HTTPS support.
- Configurable bind address, port, worker threads, and upload size limit.
Website: github.com/TheWaWaR/simple-http-server
Support:
Developer: TheWaWaR
License: MIT License
simple-http-server is written in Rust. Learn Rust with our recommended free books and free tutorials.
Related Software
| Static Web Servers | |
|---|---|
| binserve | Fast production-ready static web server |
| darkhttpd | A simple web server written in C; only serves static content |
| miniserve | CLI tool to serve files and dirs over HTTP |
| quark | Small and simple HTTP GET/HEAD-only web server for static content |
| serve | Static file serving and directory listing |
| Static Web Server | High-performance and asynchronous web server |
| webfs | Simple http server for mostly static content. |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

