{"id":20665219,"url":"https://github.com/mgrdich/myhttpserver","last_synced_at":"2026-04-23T10:32:33.869Z","repository":{"id":262683158,"uuid":"887922978","full_name":"Mgrdich/myHttpServer","owner":"Mgrdich","description":"HTTP Server that supports HTTP/1.1 and HTTP/2.0 build using only the tcp package inspired by Golang Standard library","archived":false,"fork":false,"pushed_at":"2024-12-06T10:05:26.000Z","size":132,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T11:29:08.224Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/Mgrdich.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-11-13T14:12:58.000Z","updated_at":"2024-12-06T10:05:29.000Z","dependencies_parsed_at":"2024-12-06T08:24:31.680Z","dependency_job_id":"08970611-3b5b-493d-a9a2-2e5bae19ece0","html_url":"https://github.com/Mgrdich/myHttpServer","commit_stats":null,"previous_names":["mgrdich/myhttpserver"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Mgrdich/myHttpServer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mgrdich%2FmyHttpServer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mgrdich%2FmyHttpServer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mgrdich%2FmyHttpServer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mgrdich%2FmyHttpServer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mgrdich","download_url":"https://codeload.github.com/Mgrdich/myHttpServer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mgrdich%2FmyHttpServer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32176525,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-23T02:19:40.750Z","status":"ssl_error","status_checked_at":"2026-04-23T02:17:55.737Z","response_time":53,"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":[],"created_at":"2024-11-16T19:29:08.021Z","updated_at":"2026-04-23T10:32:33.829Z","avatar_url":"https://github.com/Mgrdich.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HTTP Server Implementation from Scratch\nThis code is inspired from the Golang standard library, \nimplements restricted of `Server` that implements `HTTP/1.1` and `HTTP/2.0` protocols \n\n\n* implement `HTTP/1.1` Server using `tcp` and you can run it under `TLS` as well \n* implement `HTTP/2.0` Server using `tcp` ( still work in progress )\n* making sure it uses multi-threading and connection persistence for each case as defined per protocol\n\nTo use `HTTP/2.0` you should use the `TLS` Version (which is why `ListenAndServeTLS` is used instead of `ListenAndServe`)\n\n\n## How to build the project\n* Create self signed ssl certificates by running `openssl req -new -x509 -days 365 -nodes -out server.crt -keyout server.key`\n* run `make build` to build the executable and then `./main-exec`\n* To use the tls `./main-exec -tls=true` by default it is false\n* to configure the port that you want to run `./main-exec -addr=8081`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgrdich%2Fmyhttpserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmgrdich%2Fmyhttpserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgrdich%2Fmyhttpserver/lists"}