https://github.com/seanpray/shttpd
Simple HTTP webserver built in Rust using tokio, serde, and more
https://github.com/seanpray/shttpd
rust web webserver
Last synced: about 1 year ago
JSON representation
Simple HTTP webserver built in Rust using tokio, serde, and more
- Host: GitHub
- URL: https://github.com/seanpray/shttpd
- Owner: seanpray
- License: gpl-3.0
- Created: 2021-11-16T03:57:27.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-16T18:57:26.000Z (over 4 years ago)
- Last Synced: 2025-03-29T02:52:20.632Z (over 1 year ago)
- Topics: rust, web, webserver
- Language: Rust
- Homepage:
- Size: 922 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## shttpd
Please note: This is very incomplete and messy
shttpd is a extremely simple webserver that I've made in Rust.
Unfortunately, I'm quite new to Rust so my code is not very good.
Any suggestions for improvements or features would be appreciated.
The goal of this project for me is to learn more about Rust and systems level programming while also building a functional webserver. The webserver is intended to be small and fast and not be used for a 'general purpose' website.
### current features:
* file caching in memory for fast response
* optimized response to GET request to increase performance
* default 404 page for bad request
### planned features
* reloading file cache of fs update
* logging options
* more file caching options
* assume file extension when visiting urls
* possible dash board
There are many better projects that do this as well, but writing my own code is fun