{"id":26212298,"url":"https://github.com/picocode1/tcp-server","last_synced_at":"2025-09-17T23:41:54.775Z","repository":{"id":134049083,"uuid":"486344683","full_name":"picocode1/TCP-SERVER","owner":"picocode1","description":"C++ HTTP Server","archived":false,"fork":false,"pushed_at":"2023-06-08T11:46:19.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-08T21:41:48.470Z","etag":null,"topics":["html","http","http-server","server","sockets","tcp","tcp-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/picocode1.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":"2022-04-27T20:42:04.000Z","updated_at":"2024-07-25T18:29:30.000Z","dependencies_parsed_at":"2023-09-28T10:04:24.426Z","dependency_job_id":null,"html_url":"https://github.com/picocode1/TCP-SERVER","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/picocode1/TCP-SERVER","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/picocode1%2FTCP-SERVER","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/picocode1%2FTCP-SERVER/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/picocode1%2FTCP-SERVER/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/picocode1%2FTCP-SERVER/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/picocode1","download_url":"https://codeload.github.com/picocode1/TCP-SERVER/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/picocode1%2FTCP-SERVER/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275685182,"owners_count":25509527,"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","status":"online","status_checked_at":"2025-09-17T02:00:09.119Z","response_time":84,"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":["html","http","http-server","server","sockets","tcp","tcp-server"],"created_at":"2025-03-12T08:29:40.692Z","updated_at":"2025-09-17T23:41:54.757Z","avatar_url":"https://github.com/picocode1.png","language":"C++","readme":"# Simple C++ HTTP Server\n\n### Feature list\n\n- [x] Multiple paths\n- [x] 404 page\n- [x] No extra HTTP libraries\n- [x] Multiple clients\n- [x] GET, POST, HEAD, DELETE, OPTIONS, PATCH, PUT\n- [x] Live memory view\n- [x] Request logging\n- [x] MD5 Hash generator\n- [ ] C++ Templating engine for HTML\n- [ ] HTTPs support\n- [ ] Rate limit system\n\n### How to compile\n```\ngcc server.cpp md5.cpp -o server.exe -lws2_32 -lstdc++ -Os\n```\n### Example route\n```cpp\n// Example route for /example with GET\nif (app.get(\"/example\", path, method)) {\n    html += \"\u003ch1\u003eC++ Server /example page\u003c/h1\u003e\";\n    html += \"\u003cp\u003eHello, world!\u003c/p\u003e\";\n    content_type = \"text/html\\r\\n\";\n}\n```\n### Example logs\n```console\n[SERVER] 127.0.0.1 GET /memory HTTP/1.1\n[SERVER] 127.0.0.1 GET / HTTP/1.1\n[SERVER] 127.0.0.1 POST /md5 HTTP/1.\n```\n\n## C++ - JS Express\n![Screenshot](https://pico.codes/pictures/s6q87ch8tegc8tr.png)\n\n## Contributing\n\nFound a bug or problem? File an issue or submit a pull request with the fix.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpicocode1%2Ftcp-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpicocode1%2Ftcp-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpicocode1%2Ftcp-server/lists"}