{"id":16069010,"url":"https://github.com/talaatmagdyx/http-server-in-ruby-from-scratch","last_synced_at":"2025-06-20T18:34:26.445Z","repository":{"id":37415383,"uuid":"446979680","full_name":"talaatmagdyx/HTTP-Server-in-Ruby-from-Scratch","owner":"talaatmagdyx","description":"A rack compatible HTTP server from scratch using only Ruby  Resources (education only)","archived":false,"fork":false,"pushed_at":"2022-06-21T08:51:31.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T10:14:53.855Z","etag":null,"topics":["http-server","rack","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/talaatmagdyx.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}},"created_at":"2022-01-11T21:01:05.000Z","updated_at":"2023-05-04T11:52:02.000Z","dependencies_parsed_at":"2022-08-18T03:11:05.640Z","dependency_job_id":null,"html_url":"https://github.com/talaatmagdyx/HTTP-Server-in-Ruby-from-Scratch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/talaatmagdyx/HTTP-Server-in-Ruby-from-Scratch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/talaatmagdyx%2FHTTP-Server-in-Ruby-from-Scratch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/talaatmagdyx%2FHTTP-Server-in-Ruby-from-Scratch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/talaatmagdyx%2FHTTP-Server-in-Ruby-from-Scratch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/talaatmagdyx%2FHTTP-Server-in-Ruby-from-Scratch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/talaatmagdyx","download_url":"https://codeload.github.com/talaatmagdyx/HTTP-Server-in-Ruby-from-Scratch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/talaatmagdyx%2FHTTP-Server-in-Ruby-from-Scratch/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260997216,"owners_count":23094866,"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":["http-server","rack","ruby"],"created_at":"2024-10-09T06:41:21.721Z","updated_at":"2025-06-20T18:34:21.429Z","avatar_url":"https://github.com/talaatmagdyx.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Multi-threaded Ruby HTTP Server from Scratch with Rack / Rails support\n\nThis is a basic HTTP server built from scratch using only Ruby.\n\n* It starts a new thread for each connection.\n* It checks for files on disk and serves them up if they exists (**Note: this is not production ready**)\n* If no file exists, it will fallback to a Rack application defined as `APP`. This can be any Rack app, including Rails.\n* Errors from Rack applications are logged and a 500 error is automatically returned\n\n# how to run\n- for rack\n```\nruby server_rack.rb\n```\n\n- for rails\n```\nruby server_rails.rb\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftalaatmagdyx%2Fhttp-server-in-ruby-from-scratch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftalaatmagdyx%2Fhttp-server-in-ruby-from-scratch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftalaatmagdyx%2Fhttp-server-in-ruby-from-scratch/lists"}