{"id":15047242,"url":"https://github.com/nicolasgasco/42_webserv","last_synced_at":"2026-02-25T12:02:53.469Z","repository":{"id":65638224,"uuid":"594786324","full_name":"nicolasgasco/42_webserv","owner":"nicolasgasco","description":"An HTTP server coded in C++. It supports configuration files and GET, HEAD, POST, and DELETE requests. Serves a fully static website","archived":false,"fork":false,"pushed_at":"2023-06-11T17:47:09.000Z","size":24394,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-29T15:39:07.041Z","etag":null,"topics":["cgi-script","cpp98","http","http-server","socket-programming"],"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/nicolasgasco.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}},"created_at":"2023-01-29T16:35:34.000Z","updated_at":"2025-10-03T22:16:08.000Z","dependencies_parsed_at":"2024-09-28T23:40:29.704Z","dependency_job_id":"f72975f3-9bfc-4a74-8ece-42fdde58e08f","html_url":"https://github.com/nicolasgasco/42_webserv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nicolasgasco/42_webserv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolasgasco%2F42_webserv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolasgasco%2F42_webserv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolasgasco%2F42_webserv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolasgasco%2F42_webserv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicolasgasco","download_url":"https://codeload.github.com/nicolasgasco/42_webserv/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolasgasco%2F42_webserv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29819956,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T11:54:16.236Z","status":"ssl_error","status_checked_at":"2026-02-25T11:54:15.198Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cgi-script","cpp98","http","http-server","socket-programming"],"created_at":"2024-09-24T20:55:41.136Z","updated_at":"2026-02-25T12:02:53.426Z","avatar_url":"https://github.com/nicolasgasco.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Webserv\n\n## Overview\nThe project was coded by [dgerwig](https://github.com/diegogerwig) and [ngasco](https://github.com/nicolasgasco) in C++ (98 standard).\n\nQuoting from the project's subject:\n\n\u003e This project is about writing your ow HTTP server. You will be able to test it with an actual browser. HTTP is one of the most used protocols on the internet. Knowing its arcane will be useful, even if you won’t be working on a website.\n\nThe server is able to render a static website where users can upload, see, and delete pictures:\n\n[uploading a picture on our server](https://github.com/nicolasgasco/42_webserv/assets/73175085/a28730fa-f8bc-495e-9342-f1f4cb0e59b5)\n\n## Features\n- Supports GET, HEAD, POST, and DELETE requests\n- Accepts a configuration file (loosely inspired by [nginx](https://www.nginx.com/)) to customize:\n    - ports\n    - server name\n    - 404 error template\n    - autoindex on (index template is shown for each route) or off (content of each route is shown instead)\n    - maximum body size on POST request\n    - accepted methods for each route, e.g. to protect a route from deletion\n    - index template for each route\n    - alternative name for routes\n    - redirection to another template\n - Supports Python and Shell scripts for custom actions like:\n    - rendering a Gallery page that adapts to the pictures stored on the server\n    - uploading pictures using Python's CGI API\n    - rendering a template with the content of a specific route\n - Supports both regular and chunked requests\n\n## Run\nYou can run the server with the default configuration file, by simply running:\n```\nmake run\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicolasgasco%2F42_webserv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicolasgasco%2F42_webserv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicolasgasco%2F42_webserv/lists"}