{"id":22505189,"url":"https://github.com/azer/door","last_synced_at":"2025-08-03T11:32:50.631Z","repository":{"id":8435373,"uuid":"10025084","full_name":"azer/door","owner":"azer","description":"Minimalistic HTTP proxy server with config auto-reloading and static file serving.","archived":false,"fork":false,"pushed_at":"2014-11-18T19:23:13.000Z","size":167,"stargazers_count":47,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-16T04:25:27.797Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/azer.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":"2013-05-13T05:43:08.000Z","updated_at":"2024-02-10T18:28:52.000Z","dependencies_parsed_at":"2022-08-24T21:50:20.622Z","dependency_job_id":null,"html_url":"https://github.com/azer/door","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/azer%2Fdoor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fdoor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fdoor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fdoor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/azer","download_url":"https://codeload.github.com/azer/door/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228540833,"owners_count":17934031,"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-07T00:15:41.678Z","updated_at":"2024-12-07T00:15:42.635Z","avatar_url":"https://github.com/azer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## deprecated\n\nPlease use [boxcars](http://github.com/azer/boxcars) instead of this. boxcars provides way better performance and more features.\n\n## door\n\nMinimalistic HTTP proxy server with config auto-reloading and static file serving.\n\n![](https://dl.dropboxusercontent.com/s/h7h40tl3j56jqtx/door.png)\n\nAlso checkout the rewrite of Door in Golang: [boxcars](http://github.com/azer/boxcars)\n\n## Install\n\n```bash\n$ npm install -g door\n```\n\n## Usage\n\nCreate a configuration file:\n\n```json\n{\n  \"*\": \"localhost:3000\",\n  \"foo.com\": \"localhost:3001\",\n  \"bar.net\": \"localhost:3002\",\n  \"static.org\": \"/home/azer/sites/static.org\"\n}\n```\n\nAnd start the server on `:8000`:\n\n```bash\n$ door config.json\n```\n\nTo change the port number:\n\n```bash\n$ door config.json -p 80\n```\n\nNo need to restart the server after changes. It watches the config file for changes and\nupdates its proxy table *(if no error occurred)* automatically.\n\nWanna run it as a daemon on the background?\n\n```bash\n$ door config.json -d\n```\n\n![](https://dl.dropboxusercontent.com/s/lz5re7hq3qmc6wm/npmel_20.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazer%2Fdoor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazer%2Fdoor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazer%2Fdoor/lists"}