{"id":19939437,"url":"https://github.com/max-rocket-internet/ripego","last_synced_at":"2026-05-13T00:33:05.292Z","repository":{"id":216064552,"uuid":"739415071","full_name":"max-rocket-internet/ripego","owner":"max-rocket-internet","description":"An maintained IP Whois package for golang","archived":false,"fork":false,"pushed_at":"2024-01-08T14:30:46.000Z","size":30,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T04:16:57.342Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/max-rocket-internet.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}},"created_at":"2024-01-05T14:08:42.000Z","updated_at":"2024-06-27T13:34:09.000Z","dependencies_parsed_at":"2024-01-08T09:45:31.142Z","dependency_job_id":"756c5a0e-fccc-40b9-a97e-3dd676e5291b","html_url":"https://github.com/max-rocket-internet/ripego","commit_stats":null,"previous_names":["max-rocket-internet/ripego"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-rocket-internet%2Fripego","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-rocket-internet%2Fripego/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-rocket-internet%2Fripego/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-rocket-internet%2Fripego/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/max-rocket-internet","download_url":"https://codeload.github.com/max-rocket-internet/ripego/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241367896,"owners_count":19951445,"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-11-12T23:46:22.635Z","updated_at":"2026-05-13T00:33:00.249Z","avatar_url":"https://github.com/max-rocket-internet.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ripego\n\nThis is a go package for doing [WHOIS](https://en.wikipedia.org/wiki/WHOIS) lookups. These lookups can return information such as company name, contact name, physical address, country, [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) range (and more) for a given IP address.\n\n## Install\n\n```shell\ngo get github.com/max-rocket-internet/ripego\n```\n\n## Usage\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/max-rocket-internet/ripego\"\n)\n\nfunc main() {\n\tresult, _ := ripego.IPLookup(\"1.2.3.4\")\n\n\tfmt.Println(\"Inetnum: \" + result.Inetnum)\n\tfmt.Println(\"Organization: \" + result.Organization)\n\tfmt.Println(\"Netname: \" + result.Netname)\n\tfmt.Println(\"Country: \" + result.Country)\n}\n```\n\nOutput:\n\n```console\nInetnum: 1.2.3.0 - 1.2.3.255\nOrganization: IRT-APNICRANDNET-AU\nNetname: Debogon-prefix\nCountry: AU\n```\n\n## Contributing\n\nThis repo is a copy of [digineo/ripego](https://github.com/digineo/ripego/tree/master) which was a fork of [alxark/ripego](https://github.com/alxark/ripego) which was a fork of [c1982/ripego](https://github.com/c1982/ripego). The reason is that these older repos have various issues such as having issues disabled or are not simply not maintained.\n\nPull requests welcome 💙\n\nTo run all tests:\n\n```console\ngo test ./...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmax-rocket-internet%2Fripego","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmax-rocket-internet%2Fripego","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmax-rocket-internet%2Fripego/lists"}