{"id":23148263,"url":"https://github.com/drkwitht/h2plus-http2-server","last_synced_at":"2025-07-22T10:06:47.410Z","repository":{"id":208944781,"uuid":"722462394","full_name":"DrkWithT/H2Plus-HTTP2-Server","owner":"DrkWithT","description":"Attempt at creating an HTTP/2 server. WIP","archived":false,"fork":false,"pushed_at":"2024-01-18T07:29:53.000Z","size":324,"stargazers_count":0,"open_issues_count":9,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-30T19:51:47.033Z","etag":null,"topics":["cpp","http2-server","huffman-coding","networking","toy-project"],"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/DrkWithT.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-11-23T07:49:29.000Z","updated_at":"2024-02-18T05:19:33.000Z","dependencies_parsed_at":"2024-01-18T08:43:12.529Z","dependency_job_id":null,"html_url":"https://github.com/DrkWithT/H2Plus-HTTP2-Server","commit_stats":null,"previous_names":["drkwitht/h2plus-http2-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DrkWithT/H2Plus-HTTP2-Server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrkWithT%2FH2Plus-HTTP2-Server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrkWithT%2FH2Plus-HTTP2-Server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrkWithT%2FH2Plus-HTTP2-Server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrkWithT%2FH2Plus-HTTP2-Server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DrkWithT","download_url":"https://codeload.github.com/DrkWithT/H2Plus-HTTP2-Server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrkWithT%2FH2Plus-HTTP2-Server/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266473050,"owners_count":23934476,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["cpp","http2-server","huffman-coding","networking","toy-project"],"created_at":"2024-12-17T17:09:57.429Z","updated_at":"2025-07-22T10:06:47.379Z","avatar_url":"https://github.com/DrkWithT.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# README\n\n### Brief\nA simple HTTP/2 cleartext server made with C++. The purpose of this project is to help myself learn more about the web, its HTTP protocol, and review C++. I do not intend this to be production ready at all and this will take some time to get working.\n\n### WIP Screenshots\n\n\u003cimg width=\"500\" src=\"./imgs/H2Plus_Server_HPACK_Test1.png\"\u003e\n\n### Notes\n - Only works on Unix-y systems because of the GNU Makefile.\n - Create the bin and build folder at the project root for the build to work.\n - Files in mains with names such as `test_*` are the unit tests.\n\n### Todos\n 1. ~~Make special collections: BitArray, Prefix BT~~\n 2. ~~HPACK Huffman encoder \u0026 decoder.~~\n 3. ~~HPACK header indexing table (static, dynamic).~~\n 4. ~~HPACK string and integer encoder \u0026 decoder.~~\n 5. Make HPACK context class.\n    - Make unit tests with mock headers. See RFC 7541 5.2 for how the Huffman flag is put by the string length.\n 6. Make HTTP/2 streams and other utils.\n   - Make `Http2Stream`.\n   - Consider stream priority tree and algorithm...\n   - Make HTTP/2 `FrameScanner` and `FrameWriter`.\n   - Make `Http2Connection`.\n 7. Create server workers.\n 8. Create server driver.\n 9. Put together thread pool implementation.\n 10. Finish up driver class of server.\n 11. Test with cURL.\n\n### Other Notes:\n - Probably install and use the `s2n` SSL library because openssl is verbose.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrkwitht%2Fh2plus-http2-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrkwitht%2Fh2plus-http2-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrkwitht%2Fh2plus-http2-server/lists"}