Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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