zhihui-hu/one-ip
瞬息洞察 IP 纯净底色与风险评级。仅需一键探寻,物理坐标、机房源流与代理轨迹尽收眼底。
Older snapshot: check the original source for current information.
From the publisher
README & documentation
Source previewRead the project’s overview, installation instructions and usage examples. The original README is the source of truth.
IP 查询、网络诊断、浏览器检测与 AI 服务状态工具箱。 中文 · English 在线体验 · GitHub 点击下方按钮,一键部署到 Cloudflare。 [](https://deploy.workers.cloudflare.com/?url=https%3A%2F%2Fgithub.com%2Fzhihui-hu%2Fone-ip) 项目使用 Cloudflare Workers + Static Assets,/api/ 接口需要 Worker。基础功能无需应用环境变量或 API Key。Turnstile 和 reCAPTCHA 的配置见“验证体验”。 国内网络访问地图时,建议在 Worker → Settings → Variables and Secrets 配置 TIANDITUTOKEN(也可以用 pnpm exec wrangler secret put TIANDITUTOKEN)。配置后地图优先使用天地图,失败时回退到 OpenStreetMap;未配置时保持 OpenStreetMap。 默认地图无需注册或 API Key。OpenStreetMap 公共瓦片须遵守使用政策,保留地图署名、按需加载并使用浏览器缓存,不提供离线下载或批量预取;公共服务不保证可用性。瓦片请求仅发送本站 origin 作为 Referer,不包含查询 IP 的页面路径。地图加载失败时可单独重试,位置文字和坐标仍可查看。 Workers Builds 会在 main 收到提交时构建和部署。上方按钮使用原项目地址;需要保留 Fork 关系和更新工作流时,请按教程导入你的 Fork。 Pages 使用同一套 API,通过 Advanced mode 打包为 dist-pages/worker.js。routes.json 只让 API 和后端保护路径进入函数,页面和静态资源直接由 Pages 提供。不要把普通 dist 当作完整的 Pages 部署产物。 控制台连接 Git 仓库: 创建 Pages 项目,框架预设选择 None,根目录保持仓库根目录;构建命令填写 pnpm build:pages,输出目录填写 dist-pages。构建环境使用 NODEVERSION=24、PNPMVERSION=10.32.1。在生产和预览环境的 Functions 设置中填写兼容日期 2026-09-09,添加 nodejscompat。根目录的 wrangler.toml 服务于 Workers;Pages 的 CLI 配置单独位于 deploy/pages/wrangler.toml。 CLI 直接部署: 项目名称在 deploy/pages/wrangler.toml 中修改。可选密钥在 Pages 项目的生产/预览环境中分别配置,或使用 pnpm exec wrangler pages secret put 名称 --cwd deploy/pages。已有 .secrets.production.env 时,可执行 node scripts/sync-worker-secrets.mjs production --pages。本地预览使用 pnpm pages:dev,需要先执行 pnpm build:pages;预览用的密钥放在 deploy/pages/.dev.vars。 Docker 镜像包含前端和 Node.js API 服务,可独立运行,不需要另设 Worker。Compose 配置需要 Docker Compose 2.24 或更新版本。多阶段构建只将静态资源、API 服务和许可证放入运行镜像,默认使用非 root 用户。 打开 http://服务器地址:8080。宿主机端口可通过 PORT=8088 docker…
Read the full README ↗ · Preview checked 2026-11-01T12:45:48.723Z
Inside the original README — Document outline
- One IP
- Cloudflare 部署教程
- Cloudflare Pages 部署
- Docker 部署
- 功能
- WebMCP
- 终端与 API
- 界面预览
- 商务合作
- Fork 更新
- GitHub Actions 部署(可选)
- 本地开发与部署
Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.
Links from the README
References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.
Documentation belongs to its respective authors. Reported project/model license: AGPL-3.0. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.
What this repository does
瞬息洞察 IP 纯净底色与风险评级。仅需一键探寻,物理坐标、机房源流与代理轨迹尽收眼底。
Repository facts
- Owner
- zhihui-hu
- Primary language
- TypeScript
- Stars
- 429
- Forks
- 197
- Open issues + pull requests
- 2
- License
- AGPL-3.0
- Archived
- No
- Default branch
- main
- Created
- 2026-09-09T04:38:32.000Z
- Last push
- 2026-09-16T06:37:51.000Z
Topics and intended use
Owner-supplied topics: browser, ip, react, webtrc
Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.
Evaluate before installing
Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.
Source and freshness
Source: GitHub. Metadata observed 2026-09-16T06:39:39.411Z. Daily imports are snapshots, not real-time monitoring.
Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.