← Back to Projects
πŸ¦€ rust-cli 2024

HTTP Server

A simple HTTP server written from scratch in Rust without external libraries. Serves static files from a directory.

Preview

portfolio β€” bash

$ http-server ./public --port 8080

πŸš€ HTTP server running on http://localhost:8080 Serving files from: ./public

$ curl http://localhost:8080/index.html

HTTP/1.1 200 OK Content-Type: text/html Content-Length: 1424 <!DOCTYPE html>...

Tech Stack

  • Rust

Description

A simple HTTP server written from scratch in Rust without external libraries. Serves static files from a directory.