{"id":17910575,"url":"https://github.com/sharat87/httpbun","last_synced_at":"2025-04-05T20:03:26.531Z","repository":{"id":37774946,"uuid":"363355199","full_name":"sharat87/httpbun","owner":"sharat87","description":"An HTTP server with APIs useful in testing HTTP clients. Inspired by httpbin, but isn't a clone.","archived":false,"fork":false,"pushed_at":"2025-03-24T04:04:36.000Z","size":4275,"stargazers_count":103,"open_issues_count":1,"forks_count":12,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T19:01:49.376Z","etag":null,"topics":["api","http","http-server","http-test","http-testing","http-testing-server","httpbin","json","json-server","service"],"latest_commit_sha":null,"homepage":"https://httpbun.com","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sharat87.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-05-01T07:59:41.000Z","updated_at":"2025-03-24T08:53:56.000Z","dependencies_parsed_at":"2023-12-02T05:26:57.867Z","dependency_job_id":"fe18e9cd-ea19-480c-96cb-40a2a6881d5d","html_url":"https://github.com/sharat87/httpbun","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/sharat87%2Fhttpbun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharat87%2Fhttpbun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharat87%2Fhttpbun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharat87%2Fhttpbun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sharat87","download_url":"https://codeload.github.com/sharat87/httpbun/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247393552,"owners_count":20931811,"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":["api","http","http-server","http-test","http-testing","http-testing-server","httpbin","json","json-server","service"],"created_at":"2024-10-28T19:33:00.893Z","updated_at":"2025-04-05T20:03:26.497Z","avatar_url":"https://github.com/sharat87.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003e\n  \u003cimg alt=Logo src='https://github.com/sharat87/httpbun/raw/master/assets/icon-32.png'\u003e\n  Httpbun\n\u003c/h1\u003e\n\nThis is an HTTP service with endpoints that are useful when testing any HTTP client, like a browser, a library, or any\nAPI developer tool. It's heavily inspired by [httpbin](https://httpbin.org).\n\nHosted at [httpbun.com](https://httpbun.com). Run your own with:\n\n```sh\ndocker run -p 80:80 sharat87/httpbun\n```\n\nA project by [Shri](https://sharats.me).\n\n## Building\n\nThere's a `Taskfile.dist.yml` included in the project, which is a [Taskfile](https://taskfile.dev). Once you have `task` installed, running `task run` will start a local server from source. There's also:\n\n1. `task build` to build the binary\n2. `task test` to run tests\n3. `task fmt` to format code\n4. `task docker` to build binaries for building Docker image\n\nWe patch Go's standard lib a little. There's a line in `net/http/server.go` that delets the `Host` header in all incoming requests. We comment that line out during build, and uncomment it again to restore it.\n\nSo, if you're using the same Go installation for this and other projects _at the same time_, you may see unexpected behaviour.\n\nThe patching and unpatching is in `task patch` and `task unpatch` targets.\n\n## Contributing\n\nContributions to httpbun are welcome, for the most part. However, I strongly urge you to open an issue to discuss\nwhatever you're working to contribute *before* you start working on it. This will ensure we are on the same page and\nyour work would be in the right place to be merged in. It'll also ensure we don't end up working on the same thing,\nduplicating efforts. Thanks!\n\n## Plug\n\nIf you are interested in API testing and API development, you should check [Prestige](https://prestige.dev) out. It is a text based API testing tool with Javascript templating support. It's also open source at [sharat87/prestige](https://github.com/sharat87/prestige).\n\n## License\n\n[Apache-2.0 License](https://github.com/sharat87/httpbun/blob/master/LICENSE). Project includes a\n[NOTICE](https://github.com/sharat87/httpbun/blob/master/NOTICE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharat87%2Fhttpbun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsharat87%2Fhttpbun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharat87%2Fhttpbun/lists"}