Crab HTTP is an open-source HTTP server built in Rust. Blazing fast, and designed for embedded and cloud-native systems.
Memory safety guaranteed by Rust. Includes basic protection against common attacks.
Lightweight enough to run on edge devices or single-board computers with limited resources.
Licensed under MIT. Actively maintained and open to community contributions.
-d
- Specify the directory to serve files from.-p
- Specify the port to listen on.--allow-write
- Allow write permission via POST request.-t
- Set timeout duration (in seconds).--help
- Display help information.curl --http1.1 https://httpserver.arjav.hackclub.app/echo/hello-world -H "Connection: close"
- Use the /echo route that returns the string specified in the route