{"id":21977255,"url":"https://github.com/amstonn/simple-http-server","last_synced_at":"2025-06-12T16:08:58.812Z","repository":{"id":262461704,"uuid":"887109892","full_name":"Amstonn/simple-http-server","owner":"Amstonn","description":"Simple HTTP server 简易HTTP服务器","archived":false,"fork":false,"pushed_at":"2024-11-13T06:43:54.000Z","size":3818,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T00:26:14.458Z","etag":null,"topics":["cpp","http","http-server"],"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/Amstonn.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":"2024-11-12T07:22:38.000Z","updated_at":"2024-11-13T06:43:57.000Z","dependencies_parsed_at":"2024-11-12T15:32:30.368Z","dependency_job_id":"316543ad-f5fc-42b5-b9d3-863a97b51026","html_url":"https://github.com/Amstonn/simple-http-server","commit_stats":null,"previous_names":["amstonn/simple-http-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Amstonn/simple-http-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amstonn%2Fsimple-http-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amstonn%2Fsimple-http-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amstonn%2Fsimple-http-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amstonn%2Fsimple-http-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Amstonn","download_url":"https://codeload.github.com/Amstonn/simple-http-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amstonn%2Fsimple-http-server/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259500221,"owners_count":22867337,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["cpp","http","http-server"],"created_at":"2024-11-29T16:14:07.732Z","updated_at":"2025-06-12T16:08:58.790Z","avatar_url":"https://github.com/Amstonn.png","language":"C++","readme":"# Simple HTTP server 简易HTTP服务器\n## 运行方式\n- 到build目录执行 make\n- 然后启动bin目录下的可执行文件即可\n\n*注意：在HttpServer.cpp的accept_reques函数实现中可能需要修改htdocs所在的路径*\n## 核心框架\n![](./img/Frame.jpg)\n## 访问\n- 通过访问http://localhost:8888/index.html可以访问静态文件资源\n![alt text](./img/image0.png)\n- 通过访问http://localhost:8888/firstcgi可以访问htdocs中的cgi程序 子进程运行程序并将输出结果返回给客户端\n![alt text](./img/image.png)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famstonn%2Fsimple-http-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famstonn%2Fsimple-http-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famstonn%2Fsimple-http-server/lists"}