{"id":37163121,"url":"https://github.com/masum0813/getipinfo","last_synced_at":"2026-01-14T19:24:16.608Z","repository":{"id":54669374,"uuid":"485325515","full_name":"masum0813/getipinfo","owner":"masum0813","description":"Get ip address with Golang on your computer/system ","archived":false,"fork":false,"pushed_at":"2022-08-09T08:46:20.000Z","size":4442,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-09T21:38:36.053Z","etag":null,"topics":["cli","external","golang","internal","ipaddress","vpn"],"latest_commit_sha":null,"homepage":"","language":"Go","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/masum0813.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-25T10:31:38.000Z","updated_at":"2022-09-05T15:43:29.000Z","dependencies_parsed_at":"2022-08-13T23:20:48.382Z","dependency_job_id":null,"html_url":"https://github.com/masum0813/getipinfo","commit_stats":null,"previous_names":["masum0813/ipinfo"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/masum0813/getipinfo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masum0813%2Fgetipinfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masum0813%2Fgetipinfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masum0813%2Fgetipinfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masum0813%2Fgetipinfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/masum0813","download_url":"https://codeload.github.com/masum0813/getipinfo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masum0813%2Fgetipinfo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28432587,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cli","external","golang","internal","ipaddress","vpn"],"created_at":"2026-01-14T19:24:16.061Z","updated_at":"2026-01-14T19:24:16.594Z","avatar_url":"https://github.com/masum0813.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Get IP Address with Golang\n\n[![Go](https://github.com/masum0813/getipinfo/actions/workflows/go.yml/badge.svg?branch=main)](https://github.com/masum0813/getipinfo/actions/workflows/go.yml)\n\nGet IP address(es) with go-lang is a simple command line tool to get your IP address vpn, internal, external, etc.\n\n## Usage\n\n```bash\ngetipinfo -h\nA longer description that spans multiple lines and likely contains\nexamples and usage of using your application. For example:\n\nCobra is a CLI library for Go that empowers applications.\nThis application is a tool to generate the needed files\nto quickly create a Cobra application.\n\nUsage:\n  getipinfo [command]\n\nAvailable Commands:\n  completion  Generate the autocompletion script for the specified shell\n  external    Get external ip information\n  help        Help about any command\n  internal    Get internal ip information\n  version     Show ipinfo version information\n  vpn         Get vpn ip information\n\nFlags:\n  -h, --help     help for getipinfo\n  -t, --toggle   Help message for toggle\n\nUse \"getipinfo [command] --help\" for more information about a command.\n```\n\nExternal IP:\n\n```bash\ngetipinfo external\nExternal ip address: xx.xx.xx.xx\n```\n\nInternal IP:\n\n```bash\ngetipinfo internal\nVPN ip address: 192.168.1.49\n```\n\nVPN IP:\n\n```bash\ngetipinfo vpn\nVPN ip address: xx.xx.xx.xx\n```\n\n* How to install getipinfo\n\n```bash\ngo install github.com/masum0813/getipinfo@latest\n```\n\n* Install Cobra[https://github.com/spf13/cobra]\n\n```bash\ngo get -u github.com/spf13/cobra@latest\n```\n\n```bash\ngo install github.com/spf13/cobra-cli@latest\n```\n\n## Cobra Generator\n\n\u003chttps://github.com/spf13/cobra-cli/blob/main/README.md\u003e\n\n\u003chttps://cobra.dev\u003e\n\n## cobra-cli usage\n\n```bash\ncobra-cli init\ngo run main.go\ncobra-cli add internal\n```\n\n### References\n\n\u003chttps://github.com/GlenDC/go-external-ip\u003e\n\n\u003chttps://dev.to/koddr/github-action-for-release-your-go-projects-as-fast-and-easily-as-possible-20a2\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasum0813%2Fgetipinfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmasum0813%2Fgetipinfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasum0813%2Fgetipinfo/lists"}