httprs
A fast simple command line http server tool.
Why httprs ?
If you're looking for a simple, fast, easy-to-use, generic-MIME-types-supporting and partial-content-supporting static file server like me, it might be an option.
Warning: It is currently an experimental project. Use it at your own risk!!!
Features
the main features are as followings, and certainly more will be added:
- performant and essy to use
- multi-platform support
- multiple MIME support
- colored logs
Installation
Download pre-built binaries from release page.
or install with cargo in terminal:
cargo install httprs
Roadmap
- Logging
- Request/Response Logging
- Silent Mode
- Logging Level
- Logging Output into File
- File Type Support
- Generic File Type Supporting: image/text/video/binary
- Content-Type Customization
- Multiplatform Support
- macOS
- Linux
- Windows
- HTTP Encryption
- Partial Request/Response Support
-
If-RangeREQUEST Header -
If-MatchREQUEST Header -
RangeREQUEST Header -
Accept-RangesRESPONSE Header -
Content-RangeRESPONSE Header - CODE
206- Partial Content - CODE
416- Range Not Satisfiable
-
- CORS Support
- Transmission Compression
- Authentication
- Simple Basic
- Token Based
- Graceful Shutdown
- Proxy
- Themes and Appearances Customization
How to contribute
Any advice is welcomed and feel free to make a fork and push your own code.
Licenses
MIT License