apple_pie
Basic HTTP server implementation in Zig (by Luukdegram)
lighttpd1.4
lighttpd1.4 on github for easier collaboration - main repo still on lighttpd.net (by lighttpd)
apple_pie | lighttpd1.4 | |
---|---|---|
1 | 2 | |
161 | 580 | |
- | 2.6% | |
1.9 | 9.6 | |
11 months ago | 5 days ago | |
Zig | C | |
MIT License | BSD 3-clause "New" or "Revised" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
apple_pie
Posts with mentions or reviews of apple_pie.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-03.
lighttpd1.4
Posts with mentions or reviews of lighttpd1.4.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-03.
-
combining here-docs with process substitution
/u/ghiste your best chance IMHO is to use the more robust approach of stdin config parsing (which may not be supported in distro-packaged lighttpd versions, but sure is when you compile from source). At that point you can rewrite your code like this:
-
I want to run simple http server that I also know how it works
If you are looking for a complete and relative unrestrictive solution, which is also used in embedded, try lighttpd https://github.com/lighttpd/lighttpd1.4
What are some alternatives?
When comparing apple_pie and lighttpd1.4 you can also consider the following projects:
routez - Http server for Zig
khadem - Async webserver implemented in both Zig and Rust
h11 - I/O agnostic HTTP/1.1 implementation for Zig 🦎
zigbyexample