SIMPLESOFTWAREBASEDTCPIPSTACK
A software TCP/IP stack built entirely in C — Ethernet framing, ARP resolution, IP routing, and TCP state machine via Linux TAP devices. Validates by fetching real HTTP content over the custom stack.
Things I built to understand something deeply. Most are low-level, all are from scratch.
FEATURED
A software TCP/IP stack built entirely in C — Ethernet framing, ARP resolution, IP routing, and TCP state machine via Linux TAP devices. Validates by fetching real HTTP content over the custom stack.
A high-performance thread-safe logging library for C. Per-thread SPSC ring buffers drained by a background logger thread — zero mutex contention on the write path. 15× throughput improvement over naive mutex approach.
A minimalistic 16-bit real mode bootloader in x86 Assembly. Demonstrates BIOS interrupt interface, segment:offset addressing, disk sector loading via INT 0x13, and protected mode transition.
REPOSITORY
ESP32-based Wake-on-LAN trigger over MQTT. Sits on the LAN, subscribes to MQTT topics, and broadcasts WoL magic packets — built on ESP-IDF with FreeRTOS, lwIP, QoS 1, and hardware watchdog.
A drop-in CLI parser library for C projects. Built-in commands (show, config, debug, clear) plus a registration API for custom commands. Supports tab completion and history via readline integration.
An educational multithreaded OS in C demonstrating cooperative and preemptive scheduling, buddy allocator memory management, and message-queue IPC — built to expose the mechanics production kernels abstract away.
A unified proxy for OpenAI, Anthropic, Google Gemini, and Perplexity APIs. Single endpoint routes to the correct provider based on model name — swap providers without changing client code.
A memory-efficient intrusive doubly linked list library for C. Embedded directly in user-defined data structures — no separate allocation per node, O(1) insert/delete, and type-safe macros.