{"id":21499223,"url":"https://github.com/himcc/cchttpd","last_synced_at":"2025-03-17T12:45:48.018Z","repository":{"id":13054357,"uuid":"15734527","full_name":"himcc/cchttpd","owner":"himcc","description":"This is a tiny httpd.","archived":false,"fork":false,"pushed_at":"2014-05-27T09:04:37.000Z","size":590,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T22:34:15.964Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/himcc.png","metadata":{"files":{"readme":"README","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}},"created_at":"2014-01-08T12:16:07.000Z","updated_at":"2014-05-27T09:04:35.000Z","dependencies_parsed_at":"2022-09-23T10:53:43.129Z","dependency_job_id":null,"html_url":"https://github.com/himcc/cchttpd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himcc%2Fcchttpd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himcc%2Fcchttpd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himcc%2Fcchttpd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himcc%2Fcchttpd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/himcc","download_url":"https://codeload.github.com/himcc/cchttpd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244038324,"owners_count":20387826,"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":[],"created_at":"2024-11-23T17:14:59.500Z","updated_at":"2025-03-17T12:45:47.989Z","avatar_url":"https://github.com/himcc.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"这是一个小的httpd\n\nLinux下C++写的。\n\n    用法：\n    app port [workingDir] [router]\n    port是必须的参数\n    workingDIR是工作目录，可选，默认是当前路径\n    router是调度器，可选。若设置router，则workingDIR必须设置，此时，所有目录、可执行文件、不存在的文件和目录 都转由router处理。若未设置router，则router默认为app，此时，所有不存在的文件或目录返回error，静态文件返回自身，可执行文件返回标准输出，目录则显示目录下的文件和子目录。\n\n可执行文件可以通过环境变量获得GET参数、POST参数（若是上传文件，则通过标准输入获取请求体）和请求头信息（包括cookie，已解析），请求方法、路径、工作目录可以通过环境变量method、path和pwdpwd获得。支持keepalive。\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimcc%2Fcchttpd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhimcc%2Fcchttpd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimcc%2Fcchttpd/lists"}