{"id":16824339,"url":"https://github.com/dlion/isgoogle","last_synced_at":"2025-03-17T18:22:48.388Z","repository":{"id":57556908,"uuid":"132263340","full_name":"dlion/IsGoogle","owner":"dlion","description":"Performs a reverse lookup for a certain ip to check if it belongs to Google crawlers ","archived":false,"fork":false,"pushed_at":"2018-05-07T22:08:12.000Z","size":3,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-24T05:31:47.998Z","etag":null,"topics":["check","crawlers","dns","go","golang","google-crawler","ip"],"latest_commit_sha":null,"homepage":null,"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/dlion.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}},"created_at":"2018-05-05T16:02:24.000Z","updated_at":"2023-03-08T05:03:20.000Z","dependencies_parsed_at":"2022-08-25T20:10:21.827Z","dependency_job_id":null,"html_url":"https://github.com/dlion/IsGoogle","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/dlion%2FIsGoogle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlion%2FIsGoogle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlion%2FIsGoogle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlion%2FIsGoogle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dlion","download_url":"https://codeload.github.com/dlion/IsGoogle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244085025,"owners_count":20395523,"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":["check","crawlers","dns","go","golang","google-crawler","ip"],"created_at":"2024-10-13T11:10:47.071Z","updated_at":"2025-03-17T18:22:48.356Z","avatar_url":"https://github.com/dlion.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IsGoogle\nPerforms a reverse lookup for a certain ip to check if it belongs to Google crawlers \n\nGolang port of [is-google](https://github.com/roccomuso/is-google) nodejs package, it allows to verify that a web crawler is visiting your server using the [Google specs](https://support.google.com/webmasters/answer/80553?hl=en).\n\n## Get\n\n`go get https://github.com/dlion/IsGoogle`\n\n## Example\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t. \"github.com/dlion/IsGoogle\"\n)\n\nconst (\n\tip = \"66.249.66.1\"\n)\n\nfunc main() {\n\tanswer, err := IsGoogle(ip)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Printf(\"The address %s is belongs to Google: %v\\n\", ip, answer)\n}\n```\n\n## Tests\n\n`go test`\n\n## A little copying is better than a little dependency\n\nYea, I know that but in my use case is not true :yolo:\n\n## License\n\nMIT\n\n## Author\n\nDomenico Luciani [@DLion92](https://twitter.com/DLion92) https://domenicoluciani.com\n\n## Thanks\n\nThank you [Rocco Musolino](https://github.com/roccomuso) for the [idea](https://github.com/roccomuso/is-google)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdlion%2Fisgoogle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdlion%2Fisgoogle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdlion%2Fisgoogle/lists"}