{"id":29227211,"url":"https://github.com/guillembonet/public-ip-server","last_synced_at":"2026-04-20T04:04:30.719Z","repository":{"id":124359744,"uuid":"593551781","full_name":"Guillembonet/public-ip-server","owner":"Guillembonet","description":"Small docker container which allows getting the public IP of the container via HTTP request secured by a static password.","archived":false,"fork":false,"pushed_at":"2023-01-26T09:54:14.000Z","size":3726,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-03T09:11:22.334Z","etag":null,"topics":["chatgpt","docker","go","golang","http","http-server","public-ip","public-ip-address"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/bunetz/public-ip-server","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/Guillembonet.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":"2023-01-26T09:41:09.000Z","updated_at":"2023-01-26T09:55:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"307aa088-7ffa-4a67-942c-de332c5f4c0c","html_url":"https://github.com/Guillembonet/public-ip-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Guillembonet/public-ip-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guillembonet%2Fpublic-ip-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guillembonet%2Fpublic-ip-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guillembonet%2Fpublic-ip-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guillembonet%2Fpublic-ip-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Guillembonet","download_url":"https://codeload.github.com/Guillembonet/public-ip-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guillembonet%2Fpublic-ip-server/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266785556,"owners_count":23983830,"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","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["chatgpt","docker","go","golang","http","http-server","public-ip","public-ip-address"],"created_at":"2025-07-03T09:10:14.894Z","updated_at":"2026-04-20T04:04:30.669Z","avatar_url":"https://github.com/Guillembonet.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# public-ip-server\n\n[![Docker Version](https://img.shields.io/docker/v/bunetz/public-ip-server?sort=date)](https://hub.docker.com/r/bunetz/public-ip-server)\n[![Docker Pulls](https://img.shields.io/docker/pulls/bunetz/public-ip-server)](https://hub.docker.com/r/bunetz/public-ip-server)\n\n### **This code has been almost fully generated by Chat GPT ([conversation here](https://sharegpt.com/c/59D737L)).**\n## Description\nSmall docker container which allows getting the public IP of the container via HTTP request secured by a static password.\n\n## Usage\nJust run the container and optionally specify flags:\n```\n  -cacheDuration duration\n        duration of the cache response (default 20m0s)\n  -httpClientTimeout duration\n        timeout for the http client which calls the external API (default 10s)\n  -listenAddr string\n        address to listen (for example: :8080 or 0.0.0.0:80 (default \":8080\")\n  -password string\n        password which will be required by Authorization header (default \"password\")\n```\n\nGet the container's public IP with:\n\n`curl -H \"Authorization: \u003cpassword\u003e\" http://localhost:8080`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguillembonet%2Fpublic-ip-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguillembonet%2Fpublic-ip-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguillembonet%2Fpublic-ip-server/lists"}