{"id":16540930,"url":"https://github.com/itzg/web-debug-server","last_synced_at":"2025-10-28T14:31:47.294Z","repository":{"id":38274086,"uuid":"152937566","full_name":"itzg/web-debug-server","owner":"itzg","description":"A very minimal web server that responds with a page containing the request headers and content","archived":false,"fork":false,"pushed_at":"2023-12-06T13:48:40.000Z","size":116,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T15:40:50.150Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/itzg.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-14T03:59:22.000Z","updated_at":"2024-07-16T15:12:04.000Z","dependencies_parsed_at":"2023-01-29T23:31:01.308Z","dependency_job_id":"614e2279-001c-4cd3-9b3f-90aaa6c93f36","html_url":"https://github.com/itzg/web-debug-server","commit_stats":{"total_commits":42,"total_committers":2,"mean_commits":21.0,"dds":"0.30952380952380953","last_synced_commit":"e7d01b0b28f742c0f36470667f449e0061a990a2"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzg%2Fweb-debug-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzg%2Fweb-debug-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzg%2Fweb-debug-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzg%2Fweb-debug-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itzg","download_url":"https://codeload.github.com/itzg/web-debug-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238663184,"owners_count":19509749,"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-10-11T18:53:40.598Z","updated_at":"2025-10-28T14:31:41.963Z","avatar_url":"https://github.com/itzg.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![](https://img.shields.io/docker/pulls/itzg/web-debug-server.svg)](https://hub.docker.com/r/itzg/web-debug-server)\n[![test](https://github.com/itzg/web-debug-server/actions/workflows/test.yml/badge.svg)](https://github.com/itzg/web-debug-server/actions/workflows/test.yml)\n\n# web-debug-server\n\nA very minimal web server that responds with a page containing the request headers and content\n\n## Usage\n\n```\n  -bind host:port\n        The host:port to bind, but using port flag is preferred (env BIND)\n  -port int\n        The port to bind (env PORT) (default 8080)\n  -redirects path=location\n        Declares path=location mapping of local path to a resulting 307 redirect location (env REDIRECTS)\n  -response-fixed-body string\n        When set, specifies a fixed body to write to the response (env RESPONSE_FIXED_BODY)\n  -response-fixed-content-type string\n        When FixedBody is set, specifies the content type to set (env RESPONSE_FIXED_CONTENT_TYPE) (default \"text/plain\")\n  -response-headers value\n        List of header:value pairs to include in response (env RESPONSE_HEADERS)\n  -response-status int\n        When set, specifies the status code to use in responses (env RESPONSE_STATUS) (default 200)\n```\n\n## Running as a Docker container\n\n```shell\ndocker run -it --rm -p 8080:8080 itzg/web-debug-server\n```\n\n## Examples\n\nIf the server is started with `--port 8123`, then accessing [http://localhost:8123?query=testing](http://localhost:8123?query=testing) from a browser would render:\n\n![](docs/example.png)\n\nIf the server is also given `--redirects /redirect=/`, then accessing [http://localhost:8123/redirect](http://localhost:8123/redirect) would redirect the browser to [http://localhost:8123/](http://localhost:8123/).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitzg%2Fweb-debug-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitzg%2Fweb-debug-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitzg%2Fweb-debug-server/lists"}