{"id":27291403,"url":"https://github.com/ychaaibi/webserv","last_synced_at":"2026-07-04T08:31:30.951Z","repository":{"id":234731214,"uuid":"789371129","full_name":"ychaaibi/webserv","owner":"ychaaibi","description":"webserv is a lightweight HTTP server built from scratch in C++98. It prioritizes efficiency and clean code.","archived":false,"fork":false,"pushed_at":"2024-04-24T15:29:55.000Z","size":14434,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-29T16:06:33.698Z","etag":null,"topics":["c-programming-language","cplusplus","http-client","http-requests","http-server","http1-1","sockets","webserver"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ychaaibi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-04-20T11:04:52.000Z","updated_at":"2024-04-24T15:29:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"2e2ab3a9-25b1-40de-b3f1-51727f774760","html_url":"https://github.com/ychaaibi/webserv","commit_stats":null,"previous_names":["ychaaibi/webserv"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ychaaibi/webserv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ychaaibi%2Fwebserv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ychaaibi%2Fwebserv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ychaaibi%2Fwebserv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ychaaibi%2Fwebserv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ychaaibi","download_url":"https://codeload.github.com/ychaaibi/webserv/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ychaaibi%2Fwebserv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35115741,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-04T02:00:05.987Z","response_time":113,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c-programming-language","cplusplus","http-client","http-requests","http-server","http1-1","sockets","webserver"],"created_at":"2025-04-11T21:57:06.134Z","updated_at":"2026-07-04T08:31:30.939Z","avatar_url":"https://github.com/ychaaibi.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Non-Blocking HTTP Server in C++98 🌐\n\n```[ Project Completion Date : 2022 - 02 - 10 ]```\n\n## Project Overview 📋\n\nwebserv is a lightweight HTTP server built from scratch in C++98. It prioritizes efficiency and clean code, adhering to the SOLID principles for ultimate maintainability.\n\n## Key Features 🔧\n\n- **Non-Blocking I/O (⚡):** Handles multiple client connections concurrently using `select()` (or equivalent) for maximum server throughput. This means your server can handle a ton of requests at once, keeping things blazing fast!\n- **Proxy Design Pattern (🔄):** Encapsulates network communication logic promoting code reusability and making testing a breeze. Think of it as modular magic, making your code easy to understand and maintain. ✨\n- **Configuration Parsing (⚙️):** Reads server configuration from external files, allowing for flexible management with minimal effort. No more hardcoding configurations, just pure flexibility!\n- **Static File Serving (📁):** Efficiently delivers static content (HTML, CSS, images) based on client requests. This means lightning-fast delivery of those essential website elements.\n- **Dynamic Request Handling (🔄):** Supports common HTTP methods (GET, POST, DELETE) for handling dynamic interactions. This makes your server truly versatile, able to handle a wide range of requests.\n- **Error Handling (❌):** Provides user-friendly error messages for invalid requests or server issues. No more cryptic errors, just clear and informative messages for easy troubleshooting.\n- **SOLID Principles (🔨):** Adheres to Single Responsibility, Open-Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion principles for a well-structured and maintainable codebase. Think of it as the foundation for a code fortress, built to be strong and reliable.\n- **CGI Integration (🔌):** Enables execution of external CGI scripts for server-side processing.\n\n## Project Conclusion 🎓\n\nBuilding webserv has been a rewarding experience, deepening my understanding of:\n\n- Low-level network programming \n- System resource management\n- Adherence to HTTP protocols\n- Applying design patterns and SOLID principles for clean, maintainable code\n\nThis project demonstrates my ability to code efficiently while keeping maintainability as a top priority. I believe in building code that not only works well but is also easy to understand and improve upon in the future.\n\n## Contributers 🔨\n* * Youness Chaaibi      -- \u003ca href=\"https://github.com/ychaaibi\"\u003eychaaibi\u003c/a\u003e\n* * Youssef Alaoui Sossi -- \u003ca href=\"https://github.com/yoalaoui\"\u003eyoaloui \u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fychaaibi%2Fwebserv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fychaaibi%2Fwebserv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fychaaibi%2Fwebserv/lists"}