https://github.com/thislight/haiya
Experimental HTTP server with Config-as-code and low-cost scripting.
https://github.com/thislight/haiya
http http-server library zig
Last synced: 5 months ago
JSON representation
Experimental HTTP server with Config-as-code and low-cost scripting.
- Host: GitHub
- URL: https://github.com/thislight/haiya
- Owner: thislight
- Created: 2024-09-09T10:45:56.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-10-04T17:13:32.000Z (over 1 year ago)
- Last Synced: 2025-04-06T14:23:22.407Z (about 1 year ago)
- Topics: http, http-server, library, zig
- Language: Zig
- Homepage:
- Size: 120 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Haiya - Extendable HTTP Server
Haiya is a extendable HTTP server inspired by Web frameworks - with full-speed running and development.
- Improve you application as you needed. No need to be "correct" at the first try.
- Simple execution model and guided APIs. Use the default as you pleased, and drive at you own when you needed.
- Designed as a library.
## What we have done?
- A usable HTTP/1.x server.
- Router with comptime-resolved dependency injection.
## Usage
See [this "Hello World" example](./src/examples/hello.zig) and [the build script](./build.zig).
You can build the API reference with `zig build`. Note that the reference must be served
at a HTTP server. You could do that with tools like `python -mhttp.server -d zig-out/docs`.
## License
The Apache License, version 2.