herb/README.md

19 lines
1.1 KiB
Markdown
Raw Normal View History

2024-01-14 19:56:13 +00:00
# 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.
2021-12-27 14:37:52 +00:00
2024-01-14 19:56:13 +00:00
herb is able to send all types of data to clients, including text, video, audio, and images. It also supports dynamic webpages through CGI.
2021-12-27 14:37:52 +00:00
2024-01-14 19:56:13 +00:00
## Features
* Dynamic websites through CGI
* Only two external dependencies ([packeteer](https://git.colean.cc/threeoh6000/packeteer), [frostwalker](https://git.colean.cc/threeoh6000/frostwalker))
2024-01-14 19:56:13 +00:00
* Directory index generation
* Primitive media type detection
* Supports text and raw data, including PNGs and MP3s
* Installable with curze
2021-12-27 14:37:52 +00:00
## Can herb run established CGI applications?
2024-01-15 16:39:35 +00:00
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)
2024-01-14 19:56:13 +00:00
## Licensing
herb is licensed under [GNU General Public License version 3.](https://git.colean.cc/threeoh6000/herb/src/branch/master/LICENSE)