{"id":13842708,"url":"https://github.com/helloxz/IPinfo","last_synced_at":"2025-07-11T15:32:51.737Z","repository":{"id":42950301,"uuid":"124862416","full_name":"helloxz/IPinfo","owner":"helloxz","description":"整合多接口的IP查询工具。","archived":false,"fork":false,"pushed_at":"2021-03-25T09:02:28.000Z","size":31225,"stargazers_count":391,"open_issues_count":1,"forks_count":134,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-11-17T11:02:42.229Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://ip.rss.ink/","language":"PHP","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/helloxz.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-03-12T09:09:35.000Z","updated_at":"2024-11-15T15:44:50.000Z","dependencies_parsed_at":"2022-09-02T07:00:21.184Z","dependency_job_id":null,"html_url":"https://github.com/helloxz/IPinfo","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/helloxz%2FIPinfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloxz%2FIPinfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloxz%2FIPinfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloxz%2FIPinfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/helloxz","download_url":"https://codeload.github.com/helloxz/IPinfo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225737083,"owners_count":17516282,"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-08-04T17:01:43.722Z","updated_at":"2024-11-21T13:31:03.887Z","avatar_url":"https://github.com/helloxz.png","language":"PHP","funding_links":[],"categories":["PHP","PHP (184)"],"sub_categories":[],"readme":"# IPinfo\nIPinfo是一个开箱即用的IP查询工具，整合了淘宝、IPIP、GeoIP2、纯真、腾讯等IP查询接口。\n\n### 主要功能\n* 自动获取内网IP、公网IP\n* 支持多个查询接口\n* 支持一键查询所有IP接口，方便对比数据\n* IP数据缓存\n\n### 更新记录\n#### 2018-07-18\n* 去除新浪查询接口\n* 新增SQLite 3进行数据缓存\n* API支持\n* 增加腾讯IP查询接口\n\n### 使用说明\n#### 环境要求\n* PHP \u003e= 5.6\n* PDO组件\n* SQLite 3\n\n#### 安装说明\n1. 访问`check.php`获取项目绝对路径\n2. 修改`config.php`填写项目绝对路径\n3. 确保`data`目录可读可写，否则缓存无法写入，新手易犯权限问题\n4. 如果需要支持腾讯查询接口，需要在 [http://lbs.qq.com/](http://lbs.qq.com/) 申请API，并在`config.php`中填写自己的key\n```\n//设置腾讯API\n\tdefine(\"LBSQQ\",\"\");\n```\n\n#### 安全设置\n避免您的数据库被别人下载，请在Nginx配置中加入以下规则：\n```\nlocation ~ \\.(db3|dat)$ {\n\tdeny all;\n}\n```\n\n#### API接口\n请参考文档：[https://doc.xiaoz.me/#/api/ipinfo](https://doc.xiaoz.me/#/api/ipinfo)\n\n### Demo\n* [https://ip.awk.sh/](https://ip.awk.sh/)\n\n![](https://imgurl.org/upload/1803/cb30735507513797.png)\n\n![](https://imgurl.org/upload/1803/7a747d7002a6097e.png)\n\n![](https://imgurl.org/upload/1803/02f8ffeb41418ef6.png)\n\n\n### 联系我\n* Blog:[https://www.xiaoz.me/](https://www.xiaoz.me/)\n* Q Q:337003006\n* E-mail:xiaoz93#outlook.com\n* 捐赠：[https://dwz.ovh/ipinfo](https://dwz.ovh/ipinfo)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelloxz%2FIPinfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelloxz%2FIPinfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelloxz%2FIPinfo/lists"}