{"repo":"TheWaWaR/simple-http-server","free":true,"listed":false,"github":"https://github.com/TheWaWaR/simple-http-server","clone":"git clone https://github.com/TheWaWaR/simple-http-server.git","description":"Simple http server in Rust (Windows/Mac/Linux)","language":"Rust","stars":3455,"topics":["static","file","server","simplehttpserver","http","rust"],"license":"MIT","category":"networking-infra","readme_excerpt":"Simple HTTP Server Simple static file server with directory listing, upload, basic auth, range requests, compression, CORS, SPA fallback, and optional PKCS#12 HTTPS support. The current implementation is based on axum / tokio . TLS support is behind the tls feature and is disabled by default so the default binary stays smaller. Screenshot Installation Default build: With PKCS#12 HTTPS support: Usage Examples Serve a folder: Enable upload and raise the upload limit: Serve an SPA fallback file: Run behind a reverse proxy that strips /static/ before forwarding: HTTPS Example --cert expects a PKCS#12 file such as .p12 or .pfx . PEM files are not accepted directly. 1. Generate a local certificate and .p12 2. Start the server 3. Verify it Strict verification: Quick local smoke test: Features - Directory listing with breadcrumb navigation - Optional index.html / index.htm rendering - File upload with CSRF protection - HTTP Basic Auth - HTTP cache control with Last-Modified and ETag - Single-range partial content support - gzip / deflate compression - CORS plus COOP / COEP headers - SPA fallback via --try-file - Optional PKCS#12 HTTPS via the tls feature","default_branch":null,"files":null,"tree":[],"storefront":"/r/TheWaWaR","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/TheWaWaR/simple-http-server/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}