{"id":15971343,"url":"https://github.com/dolph/echo","last_synced_at":"2025-04-04T15:44:42.894Z","repository":{"id":141850742,"uuid":"466799244","full_name":"dolph/echo","owner":"dolph","description":"A Go web service that echoes back the request it receives and it's environment","archived":false,"fork":false,"pushed_at":"2024-08-31T19:50:17.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T01:41:22.040Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dolph.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":"2022-03-06T16:54:58.000Z","updated_at":"2024-08-31T19:50:20.000Z","dependencies_parsed_at":"2024-06-19T13:35:56.296Z","dependency_job_id":"826f598d-0d8f-4e61-9ccc-d1938691e1fc","html_url":"https://github.com/dolph/echo","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/dolph%2Fecho","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolph%2Fecho/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolph%2Fecho/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolph%2Fecho/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dolph","download_url":"https://codeload.github.com/dolph/echo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247208063,"owners_count":20901568,"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-07T20:21:04.942Z","updated_at":"2025-04-04T15:44:42.864Z","avatar_url":"https://github.com/dolph.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# echo\n\n`echo` is a web service that echoes back all the data in the requests it\nreceives, along with information about it's own runtime environment.\n\n`echo` is basically a _hello world_ for debugging deployment technologies.\n\nBehaviors:\n\n- Standalone executable runs as a self-contained web server\n- Everything about the HTTP request is echoed back, and has no impact on\n  `echo`'s behavior\n- Always returns HTTP `200 OK`\n- Always returns `application/json`\n- Binds to `0.0.0.0:8080`\n- Returns all environment variables in every response, _including secrets_\n\n## Example\n\n```\n$ curl -v 'http://localhost:8080/hello/world?foo=bar\u0026baz=bat'\n*   Trying 127.0.0.1:8080...\n* Connected to localhost (127.0.0.1) port 8080 (#0)\n\u003e GET /hello/world?foo=bar\u0026baz=bat HTTP/1.1\n\u003e Host: localhost:8080\n\u003e User-Agent: curl/7.79.1\n\u003e Accept: */*\n\u003e\n* Mark bundle as not supporting multiuse\n\u003c HTTP/1.1 200 OK\n\u003c Content-Type: application/json; charset=utf-8\n\u003c Date: Sun, 06 Mar 2022 19:43:17 GMT\n\u003c Content-Length: 1622\n\u003c\n{\n    \"Env\": {\n        \"GOLANG_VERSION\": \"1.16.15\",\n        \"GOPATH\": \"/go\",\n        \"HOME\": \"/root\",\n        \"HOSTNAME\": \"2a49b4c9cf74\",\n        \"PATH\": \"/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\",\n        \"TERM\": \"xterm\",\n        \"container\": \"podman\"\n    },\n    \"OS\": {\n        \"EGID\": 0,\n        \"EUID\": 0,\n        \"Executable\": \"/echo\",\n        \"Groups\": [\n            0,\n            1,\n            2,\n            3,\n            4,\n            6,\n            10,\n            11,\n            20,\n            26,\n            27\n        ],\n        \"Hostname\": \"2a49b4c9cf74\",\n        \"PID\": 1,\n        \"PPID\": 0,\n        \"UID\": 0,\n        \"WD\": \"/app\"\n    },\n    \"Request\": {\n        \"Body\": {},\n        \"ContentLength\": 0,\n        \"Form\": null,\n        \"Header\": {\n            \"Accept\": [\n                \"*/*\"\n            ],\n            \"User-Agent\": [\n                \"curl/7.79.1\"\n            ]\n        },\n        \"Host\": \"localhost:8080\",\n        \"Method\": \"GET\",\n        \"MultipartForm\": null,\n        \"PostForm\": null,\n        \"Proto\": \"HTTP/1.1\",\n        \"RemoteAddr\": \"10.0.2.100:41048\",\n        \"RequestURI\": \"/hello/world?foo=bar\\u0026baz=bat\",\n        \"TLS\": null,\n        \"Trailer\": null,\n        \"TransferEncodings\": null,\n        \"URL\": {\n            \"Scheme\": \"\",\n            \"Opaque\": \"\",\n            \"User\": null,\n            \"Host\": \"\",\n            \"Path\": \"/hello/world\",\n            \"RawPath\": \"\",\n            \"ForceQuery\": false,\n            \"RawQuery\": \"foo=bar\\u0026baz=bat\",\n            \"Fragment\": \"\",\n            \"RawFragment\": \"\"\n        }\n    }\n* Connection #0 to host localhost left intact\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdolph%2Fecho","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdolph%2Fecho","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdolph%2Fecho/lists"}