{"id":22354307,"url":"https://github.com/jonmagic/ruby-web-server","last_synced_at":"2025-03-26T12:40:36.747Z","repository":{"id":66375249,"uuid":"50162819","full_name":"jonmagic/ruby-web-server","owner":"jonmagic","description":"Just learning how to build a web server with Ruby.","archived":false,"fork":false,"pushed_at":"2016-01-22T06:44:15.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-31T13:43:48.520Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/jonmagic.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":"2016-01-22T06:36:25.000Z","updated_at":"2021-06-29T21:35:44.000Z","dependencies_parsed_at":"2023-02-21T04:45:15.227Z","dependency_job_id":null,"html_url":"https://github.com/jonmagic/ruby-web-server","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/jonmagic%2Fruby-web-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonmagic%2Fruby-web-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonmagic%2Fruby-web-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonmagic%2Fruby-web-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonmagic","download_url":"https://codeload.github.com/jonmagic/ruby-web-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245658958,"owners_count":20651517,"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-12-04T13:12:16.093Z","updated_at":"2025-03-26T12:40:36.722Z","avatar_url":"https://github.com/jonmagic.png","language":"Ruby","readme":"# Ruby web server\n\nMe learning how to build a web server with Ruby.\n\nIn one terminal clone this repo, cd into the directory, and then run:\n\n```bash\n$ ruby server.rb\n```\n\nIn another terminal use curl to send a request to the server:\n\n```bash\n$ curl -d \"hello world\" http://localhost:2000?foo=bar\n```\n\nAnd you should get back something like this:\n\n```\nPOST\n/\nfoo=bar\n{\"Host\"=\u003e\"localhost:2000\", \"User-Agent\"=\u003e\"curl/7.43.0\", \"Accept\"=\u003e\"*/*\", \"Content-Length\"=\u003e\"11\", \"Content-Type\"=\u003e\"application/x-www-form-urlencoded\"}\nhello world\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonmagic%2Fruby-web-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonmagic%2Fruby-web-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonmagic%2Fruby-web-server/lists"}