{"id":15047299,"url":"https://github.com/42-ikole/plebserv","last_synced_at":"2026-03-01T02:02:05.484Z","repository":{"id":45282502,"uuid":"368162406","full_name":"42-Ikole/Plebserv","owner":"42-Ikole","description":"🖥 A http webserver","archived":false,"fork":false,"pushed_at":"2021-12-24T12:43:53.000Z","size":9078,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-30T17:49:15.449Z","etag":null,"topics":["cpp98","http1-1","webserver"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/42-Ikole.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-17T11:34:17.000Z","updated_at":"2025-10-26T17:59:50.000Z","dependencies_parsed_at":"2022-09-22T19:30:33.248Z","dependency_job_id":null,"html_url":"https://github.com/42-Ikole/Plebserv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/42-Ikole/Plebserv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42-Ikole%2FPlebserv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42-Ikole%2FPlebserv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42-Ikole%2FPlebserv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42-Ikole%2FPlebserv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/42-Ikole","download_url":"https://codeload.github.com/42-Ikole/Plebserv/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42-Ikole%2FPlebserv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29958394,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T01:47:18.291Z","status":"online","status_checked_at":"2026-03-01T02:00:07.437Z","response_time":124,"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":["cpp98","http1-1","webserver"],"created_at":"2024-09-24T20:56:14.189Z","updated_at":"2026-03-01T02:02:05.202Z","avatar_url":"https://github.com/42-Ikole.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"Real cool image\" src=\"https://github.com/K1ngmar/Plebserv/blob/main/plebserv.png\" /\u003e\n\u003c/p\u003e\n\n# Plebserv 🖥\nA shitty webserver written by plebians [no plagiarism, no pet @rpet91]\n\n## ABOUT 📝\nWe created a really cool HTTP 1.1 compliant webserver written in C++98\n\n## FEATURES ✨\n* [METHODS]\n  * `GET`\n  * `POST`\n  * `DELETE`\n  * `PUT`\n  * `OPTIONS`\n  * `HEAD`\n* [CGI]\n  * `Any cgi specified in the config file`\n* [PORTS]\n  * `listen on any port specified`\n* [ERROR PAGES]\n  * `setup custom default error pages`\n* [LIMIT CLIENT BODY SIZE]\n  * `upload limit for client`\n* [HTTP REDIRECTION]\n  * `custom http redirections`\n* [AUTO INDEX]\n  * `turn on directory listing`\n* [SESSIONS and COOKIES]\n  * `session management`\n\n## CONFIG OPTIONS 📌\n* [listen]\n  * `listen domain:port port;`\n* [server_name]\n  * `server_name www.domain.nl doamain.nl;`\n* [error_page]\n  * `error_page [error_code] [location];`\n* [location]\n  * [autoindex]\n    * `autoindex off;`\n  * [root]\n    * `root [location];`\n  * [limit_except]\n   * `limit_except [METHOD];`\n  * [index]\n    * `index [location1] [location2];`\n  * [cgi]\n    * `cgi [extension] [location];`\n  * [client_max_body_size]\n    * `client_max_body_size [uint][mod]`\n\n## CONFIG EXAMPLE 📜\n\n```c\nserver {\n  listen phantom.nl:8080 400 5000;\n\n  server_name www.phantom.nl phantom.nl;\n\t\n  error_page 404 /err/404.html;\n  error_page 500 /err/rip.html;\n\n  location / {\n    client_max_body_size 12k;\n    autoindex off;\n    index index.php index.html index.htm Welcome.html;\n  }\n\n  location /dev/ {\n    autoindex off;\n    root /www/;\n    limit_except GET;\n    index index.html;\n    cgi .php /usr/local/bin/php-cgi;\n  }\n\n  location /HOME {\n    autoindex on;\n    limit_except GET HEAD POST DELETE OPTIONS TRACE PATCH;\n    client_max_body_size 10m;\n    index plebserv.php;\n  }\n}\n```\n\n## COLLAB WITH 💞\n* [@Alpha_1337k](https://github.com/Alpha1337k)\n* [@VictorTennekes](https://github.com/VictorTennekes)\n\n### Special Shout Out 💯\n* [@rpet91](https://github.com/rpet91)\n* [@pde-bakk](https://github.com/pde-bakk)\n* [@pikachu](https://i.kym-cdn.com/entries/icons/original/000/027/475/Screen_Shot_2018-10-25_at_11.02.15_AM.png)\n  \n# Confusion Counter ⁉️\n  3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F42-ikole%2Fplebserv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F42-ikole%2Fplebserv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F42-ikole%2Fplebserv/lists"}