{"id":23490031,"url":"https://github.com/mr-vaibh/http-server","last_synced_at":"2025-04-14T15:41:14.991Z","repository":{"id":181997113,"uuid":"448381002","full_name":"mr-vaibh/HTTP-server","owner":"mr-vaibh","description":"Manually created server in Python","archived":false,"fork":false,"pushed_at":"2022-01-15T20:15:24.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-16T11:16:15.521Z","etag":null,"topics":["python","server","socket"],"latest_commit_sha":null,"homepage":"","language":"Python","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/mr-vaibh.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}},"created_at":"2022-01-15T20:14:43.000Z","updated_at":"2022-01-15T20:16:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"9892ba1b-afb2-4387-b6c8-3abb498d6f66","html_url":"https://github.com/mr-vaibh/HTTP-server","commit_stats":null,"previous_names":["mr-vaibh/http-server"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-vaibh%2FHTTP-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-vaibh%2FHTTP-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-vaibh%2FHTTP-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-vaibh%2FHTTP-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mr-vaibh","download_url":"https://codeload.github.com/mr-vaibh/HTTP-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248907924,"owners_count":21181433,"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":["python","server","socket"],"created_at":"2024-12-25T00:13:40.897Z","updated_at":"2025-04-14T15:41:14.970Z","avatar_url":"https://github.com/mr-vaibh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HTTP Server\n\nThis server is made in python using TCP [socket](https://docs.python.org/3/library/socket.html) module. Meant as a learning exercise.\n- Supports HEAD and GET requests.\n- Uses multithreading to serve more than one client at a time using the [thread](https://docs.python.org/3/library/thread.html) module.\n- Looks up for index.html by default if file not specified.\n- Gives 200,400 and 404 responses.\n- Set to listen to requests on port 8888 on localhost.\n\n### Set Up : \n- Clone the repository.\n- Add files you wish to serve to this repository as this is the base directory.\n- Change the port to something else if any other service is using the port 8888.\n- Run `./server.py`.\n- Go to the address `localhost:8888/relative/path/of/file` using any browser.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-vaibh%2Fhttp-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmr-vaibh%2Fhttp-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-vaibh%2Fhttp-server/lists"}