{"id":20538596,"url":"https://github.com/simonkrenger/echoenv","last_synced_at":"2025-04-14T07:50:40.572Z","repository":{"id":54578061,"uuid":"228909250","full_name":"simonkrenger/echoenv","owner":"simonkrenger","description":"Container to show environment variables and HTTP request information. Useful for debugging.","archived":false,"fork":false,"pushed_at":"2025-03-13T01:50:00.000Z","size":40,"stargazers_count":6,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T21:23:26.073Z","etag":null,"topics":["container","debugging-tool","environment-variables","kubernetes","query-parameters"],"latest_commit_sha":null,"homepage":"https://echoenv.krenger.ch","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/simonkrenger.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}},"created_at":"2019-12-18T19:38:39.000Z","updated_at":"2025-02-26T20:08:10.000Z","dependencies_parsed_at":"2023-01-30T20:45:46.895Z","dependency_job_id":null,"html_url":"https://github.com/simonkrenger/echoenv","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/simonkrenger%2Fechoenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonkrenger%2Fechoenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonkrenger%2Fechoenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonkrenger%2Fechoenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonkrenger","download_url":"https://codeload.github.com/simonkrenger/echoenv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248844047,"owners_count":21170486,"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":["container","debugging-tool","environment-variables","kubernetes","query-parameters"],"created_at":"2024-11-16T00:47:07.607Z","updated_at":"2025-04-14T07:50:40.549Z","avatar_url":"https://github.com/simonkrenger.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# echoenv\n\nA small container that returns the environment variables plus some basic request information on port 8080.\n\nExample:\n\n```\n$ podman run -d -p 8080:8080 quay.io/simonkrenger/echoenv\n$ curl localhost:8080/abc | jq\n{\n  \"clientIP\": \"172.20.0.1\",\n  \"env\": [\n    \"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\",\n    \"HOSTNAME=95b22f86671a\",\n    \"GIN_MODE=release\",\n    \"container=podman\",\n    \"PORT=8080\",\n    \"HOME=/\"\n  ],\n  \"hostname\": \"95b22f86671a\",\n  \"process\": {\n    \"gid\": 0,\n    \"pid\": 1,\n    \"uid\": 0\n  },\n  \"request\": {\n    \"header\": {\n      \"Accept\": [\n        \"*/*\"\n      ],\n      \"User-Agent\": [\n        \"curl/7.66.0\"\n      ]\n    },\n    \"host\": \"localhost:8080\",\n    \"method\": \"GET\",\n    \"protocol\": \"HTTP/1.1\",\n    \"requestURI\": \"/abc\",\n    \"url\": {\n      \"Scheme\": \"\",\n      \"Opaque\": \"\",\n      \"User\": null,\n      \"Host\": \"\",\n      \"Path\": \"/abc\",\n      \"RawPath\": \"\",\n      \"ForceQuery\": false,\n      \"RawQuery\": \"\",\n      \"Fragment\": \"\"\n    }\n  }\n}\n```\n\nOr as a `Pod`:\n\n```\napiVersion: v1\nkind: Pod\nmetadata:\n  name: echoenv-pod\n  labels:\n    app: echoenv\nspec:\n  containers:\n  - name: echoenv\n    image: quay.io/simonkrenger/echoenv:latest\n    ports:\n    - containerPort: 8080\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonkrenger%2Fechoenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonkrenger%2Fechoenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonkrenger%2Fechoenv/lists"}