{"id":20284527,"url":"https://github.com/artyom/webhost","last_synced_at":"2026-05-07T22:40:18.484Z","repository":{"id":66758993,"uuid":"75119931","full_name":"artyom/webhost","owner":"artyom","description":null,"archived":false,"fork":false,"pushed_at":"2016-11-30T10:16:35.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-14T07:53:56.279Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/artyom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2016-11-29T20:39:01.000Z","updated_at":"2016-11-29T20:39:18.000Z","dependencies_parsed_at":"2023-03-21T15:46:37.759Z","dependency_job_id":null,"html_url":"https://github.com/artyom/webhost","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/artyom%2Fwebhost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artyom%2Fwebhost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artyom%2Fwebhost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artyom%2Fwebhost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/artyom","download_url":"https://codeload.github.com/artyom/webhost/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241780465,"owners_count":20019058,"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-11-14T14:20:02.864Z","updated_at":"2025-12-02T01:03:18.576Z","avatar_url":"https://github.com/artyom.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"webhost command runs simple http server mapping local directories to different\ndomain names and subpaths.\n\n\tUsage of webhost:\n\t  -addr string\n\t\taddress to listen at (default \"localhost:8080\")\n\t  -map string\n\t\tfile with host/backend mapping (default \"mapping.yml\")\n\t  -rto duration\n\t\tmaximum duration before timing out read of the request (default 10s)\n\t  -wto duration\n\t\tmaximum duration before timing out write of the response (default 5m0s)\n\nFormat of mapping file:\n\n\thostname1/path/: /local/filesystem/path1\n\thostname2: /local/filesystem/path2\n\t/path/: /local/filesystem/path3\n\nNote how path has trailing slash — if it's omitted, directory would only be\navailable under exact `/path`, but not `/path/`. If mapping is configured with\n`/path/`, then both `/path` and `/path/` would work, with former doing redirect\nto latter.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartyom%2Fwebhost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fartyom%2Fwebhost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartyom%2Fwebhost/lists"}