18 lines
1.1 KiB
Markdown
18 lines
1.1 KiB
Markdown
# herb
|
|
herb is a web server written in Rust which focuses on using minimal dependencies and ease of use. It began as a hobby project to create a basic web server and has since been expanded.
|
|
|
|
herb is able to send all types of data to clients, including text, video, audio, and images. It also supports dynamic webpages through CGI.
|
|
|
|
## Features
|
|
* Dynamic websites through CGI
|
|
* Only two external dependencies ([packeteer](https://git.colean.cc/threeoh6000/packeteer), [frostwalker](https://git.colean.cc/threeoh6000/frostwalker))
|
|
* Directory index generation
|
|
* Primitive media type detection
|
|
* Supports text and raw data, including PNGs and MP3s
|
|
* Installable with curze
|
|
|
|
## Can herb run established CGI applications?
|
|
As of 0.7.2, herb's CGI implementation is fairly compliant and works with query strings _and_ paths. [Here's a screenshot of Cgit running under herb 0.7.2 displaying its own source code!](https://git.colean.cc/threeoh6000/herb/raw/branch/master/cgit.png)
|
|
|
|
## Licensing
|
|
herb is licensed under [GNU General Public License version 3.](https://git.colean.cc/threeoh6000/herb/src/branch/master/LICENSE)
|