{"id":18525778,"url":"https://github.com/toricls/http-hey-yo","last_synced_at":"2025-07-09T13:08:06.222Z","repository":{"id":63742022,"uuid":"287236856","full_name":"toricls/http-hey-yo","owner":"toricls","description":"Returns any HTTP status code you want, as a simple http server","archived":false,"fork":false,"pushed_at":"2024-01-30T13:51:23.000Z","size":5,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-09T13:06:35.442Z","etag":null,"topics":["hey-yo","http-server","http-status-code","netcat"],"latest_commit_sha":null,"homepage":"https://gallery.ecr.aws/toricls/http-hey-yo","language":"Shell","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/toricls.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":"2020-08-13T09:28:25.000Z","updated_at":"2024-01-30T10:00:18.000Z","dependencies_parsed_at":"2024-11-06T17:50:33.476Z","dependency_job_id":"42e5df12-4ad5-4434-b0b9-a663f310fcdb","html_url":"https://github.com/toricls/http-hey-yo","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"200f8b22b5e1f4e4eacb991dfc59ab8c68ac068f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/toricls/http-hey-yo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toricls%2Fhttp-hey-yo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toricls%2Fhttp-hey-yo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toricls%2Fhttp-hey-yo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toricls%2Fhttp-hey-yo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toricls","download_url":"https://codeload.github.com/toricls/http-hey-yo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toricls%2Fhttp-hey-yo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264465847,"owners_count":23612580,"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":["hey-yo","http-server","http-status-code","netcat"],"created_at":"2024-11-06T17:47:01.610Z","updated_at":"2025-07-09T13:08:06.205Z","avatar_url":"https://github.com/toricls.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# http-hey-yo\n\n[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)][license]\n[![Hey, Yo!](https://img.shields.io/badge/Hey-Yo!-orange.svg?style=flat-square)][hey-yo]\n\n[license]: https://github.com/toricls/http-hey-yo/blob/master/LICENSE\n[hey-yo]: https://github.com/topics/hey-yo\nReturns any HTTP status code you want, as a simple http server\n\n## Usage\n\n```shell\n$ docker run -p 1500:1500 \\\n  -e RESPONSE_HTTP_STATUS_CODE=503 \\\n  -e LISTEN_PORT=1500 \\\n  public.ecr.aws/toricls/http-hey-yo:latest\n```\n\nthen, you'll see a simple HTTP server running.\n\n```shell\n2020-08-13T09:11:22+0000 RESPONSE_HTTP_STATUS_CODE: 503\n2020-08-13T09:11:22+0000 LISTEN_PORT              : 1500\n2020-08-13T09:11:22+0000 HTTP server being ready\n\n```\n\nLet's curl it.\n\n```shell\n$ curl -i http://localhost:1500\nHTTP/1.1 503 Service Unavailable\n\n2020-08-13T08:58:39+0000 Hey, Yo!\n\n$ curl -i http://localhost:1500/meaninglesspath\nHTTP/1.1 503 Service Unavailable\n\n2020-08-13T08:59:04+0000 Hey, Yo!\n```\n\n## Runtime options (as container environment variables)\n\n### 1. `RESPONSE_HTTP_STATUS_CODE`\n\nThe default value is `200`. Set this value to change the HTTP response status code of http-hey-yo.\n\n### 2. `LISTEN_PORT`\n\nThe default value is `8080`. Set this value to change the listen port number of http-hey-yo.\n\n## Build your own Hey-Yo container\n\n```shell\n$ docker build -t YOUR-NAME/http-hey-yo .\n$ docker push YOUR-NAME/http-hey-yo\n```\n\n## Contribution\n\n1. Fork ([https://github.com/toricls/http-hey-yo/fork](https://github.com/toricls/http-hey-yo/fork))\n1. Create a feature branch\n1. Commit your changes\n1. Rebase your local changes against the master branch\n1. Create a new Pull Request\n\n## Licence\n\n[MIT](LICENSE)\n\n## Author\n\n[Tori](https://github.com/toricls)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoricls%2Fhttp-hey-yo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoricls%2Fhttp-hey-yo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoricls%2Fhttp-hey-yo/lists"}