Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/halilfocic/onixhttp
My attemt to making full fledged HTTP server in zig
https://github.com/halilfocic/onixhttp
http parser tcp zig
Last synced: 20 days ago
JSON representation
My attemt to making full fledged HTTP server in zig
- Host: GitHub
- URL: https://github.com/halilfocic/onixhttp
- Owner: HalilFocic
- License: mit
- Created: 2024-12-30T09:05:55.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2025-01-21T15:44:40.000Z (20 days ago)
- Last Synced: 2025-01-21T16:36:22.047Z (20 days ago)
- Topics: http, parser, tcp, zig
- Language: Zig
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🚀 ZigHTTP: Building a HTTP Server in Zig
A learning project to build a HTTP server in Zig, focusing on understanding networking fundamentals and systems programming.
## 🎯 Learning Goals
- Understand TCP/IP networking fundamentals
- Learn about HTTP protocol implementation
- Gain experience with async I/O and concurrency
- Build practical systems programming skills## Core Features
### TCP Server
- [ ] Implement basic TCP listener
- [ ] Add connection handling
- [ ] Implement connection pooling
- [ ] Add graceful shutdown
- [ ] Implement basic error handling### HTTP Protocol
- [ ] Implement request line parser
- [ ] Add headers parser
- [ ] Add body parser
- [ ] Implement response writer
- [ ] Add basic validation### Request Handler
- [ ] Implement basic router
- [ ] Add request context
- [ ] Implement middleware system
- [ ] Add static file serving