GEOInflow
英文 | 简体中文
自托管的网络和 AI 爬虫分析工具,用于生成式引擎优化(GEO)。
由 猎看科技 · 北京日报社智源GEO 联合发布
快速入门 · 部署指南 · AI 爬虫分析 · 系统架构 · 文档 · 贡献
GEOInflow 将网站访问者、AI 搜索引荐、服务器爬虫日志和内容清单整合到共享的网站上下文。 它帮助团队了解哪些 AI 爬虫访问了他们的网站,请求了哪些页面,哪些重要页面没有被抓取到,请求在哪里失败,以及 AI 搜索如何带来访问者和转化。
该系统包括浏览器跟踪、账户权限、GEO 报告、爬虫证据、日志收集和分析加速。 当前产品版本为 v1.2,构建版本为 1.2.0。 应用程序源代码根据 MIT 许可协议 发布。
快速入门和部署指南有英文和简体中文版本。 其他链接参考指南目前仅有简体中文版本。
介绍视频
https://github.com/user-attachments/assets/81e57cc4-3441-4e5f-b2fb-cd929c6c27bd
您可以如何使用它
| 问题 | 可用数据 | 可以指导的操作 |
|---|---|---|
| 哪些 AI 平台访问了网站? | 爬虫身份、目的、提供商、请求量、验证状态和趋势 | 区分训练、搜索和用户触发的请求,以了解内容如何被访问 |
| 哪些页面被反复抓取? | 页面排名、重复请求、目录分布和近期活动 | 审查频繁请求的路径、无效 URL 和内容结构 |
| 重要的页面是否已被抓取? | 导入 sitemap/CSV/JSON 清单并与观察到的日志进行比较 | 检查入口点、内部链接、robots 规则和响应 |
| 爬虫请求是否成功? | HTTP 状态、GET/HEAD、缓存、延迟、错误和风险信号 | 调查被阻止的请求、源错误、覆盖率下降和源中断 |
| AI 搜索为网站带来了什么? | AI 引荐会话、登录页面、目标和转化 | 观察真实流量和业务成果的变化 |
| 是否有足够的证据得出结论? | 身份证据、源覆盖、差距、缺失输入和估计值 | 按相同数据范围审查结果,并明确保留证据差距 |
GEOInflow 专为公司网站、内容网站、媒体出版商、开发者文档和 GEO 团队管理多个网站而设计。 操作者可以在网站和页面层面工作,而维护者可以检查摄取、队列、源质量和计算方法。
AI 爬虫分析
爬虫身份和目的
内置目录涵盖 OpenAI、Anthropic、Perplexity、Google、Microsoft、ByteDance、Baidu、Kimi、Tencent Hunyuan 等提供商。 它还保留了对传统搜索爬虫和其他机器人的观察。
该目录单独记录平台、产品和请求身份。 训练、AI 搜索和用户触发的访问描述请求目的;AI 工作台和个人代理描述产品类型。 这些维度可以重叠。 活动条目取决于管理员发布的目录和每个网站的配置。
声明的 User-Agent 字符串、与官方 IP 范围的匹配以及可用的 DNS 或受信任边缘证据被单独存储。 仅凭 User-Agent 声明不足以确认来源。 没有验证证据的历史记录保留未知状态。
爬虫活动和内容覆盖
查看请求页面排名、观察页面、重复请求、目录分布、领先爬虫、最近活动和内容新鲜度。 导入内容清单,以衡量观察到的爬虫覆盖率和 AI 盲点,与已知页面集进行比较。
身份、目的和产品类型过滤器在聚合和分页之前应用。 卡片、表格、比较和导出使用相同的条件。 路径观察和推断结果保留其估计标签。
使用证据调查访问问题
HTTP 响应、缓存、延迟、响应字节、收集连续性和风险发现单独显示。 团队可以记录处理状态、注释、延迟和恢复,然后审查相关时间窗口和证据。
访问策略支持 robots/Nginx 配置导出。 支持的 Cloudflare 控制需要单独的 Zone 凭证、预览、明确确认、后台执行和远程状态的读回。 提供商计划、权限和可用字段必须在部署环境中检查。
AI 引荐和业务成果
浏览器跟踪识别支持的 AI 搜索引荐,并将其与登录页面、事件、目标和转化相结合。 爬虫请求、引荐会话和转化被单独测量。 跨源关联保持其可比性限制。
爬虫日志建立观察到的访问。 索引、模型训练、答案引用、推荐排名和客户获取 each 需要各自的证据。
有关指标、工作流程和限制,请参阅 AI 爬虫分析指南。
网站分析
| 功能 | 范围 |
|---|---|
| 页面浏览和访问者 | PV、UV、访问次数、引荐、地理位置、设备、浏览器和内容表现 |
| 事件和转化 | 自定义事件、目标、漏斗、访问者路径、归因和收入分析 |
| 扩展分析 | 搜索引擎、引荐关键词、UTM、性能、热图、留存和受众 |
| 协作 | 网站、个人和团队空间、权限、工作区、仪表板和公开共享 |
| 导出 | CSV/JSON/ZIP,用于选定范围,保留字段、状态和敏感数据处理 |
| AI 助手 | 可选模型连接和基于网站事实的对话,默认禁用 |
| 操作和治理 | 摄取检查、历史数据修复、分析加速和源及规则版本控制 |
该应用程序支持简体中文和英文。 主要日期范围为 今天/7 天/30 天,默认分析时区为 Asia/Shanghai。 首次完整登录确认国家和城市时区;后续请求使用账户保存的时区来定义今天。 实时访问者涵盖最近 30 分钟,留存使用日历月。
浏览器指标共享一个共同的流量质量策略。 空数据、缺失集成、未知值、估计值和不受支持的功能显示为不同的状态。 示例网站明确标记。 请参阅 页面覆盖 获取功能矩阵和 日期范围和时区 获取日期定义。
数据如何进入系统
flowchart LR
A[网站浏览器脚本] --> C[应用程序和摄取 API]
B[服务器/CDN 日志] --> C
D[sitemap/CSV/JSON 清单] --> C
C --> E[(PostgreSQL)]
E --> F[日志和分析工作者]
F --> E
E --> G[报告和已发布结果]
H[(Redis 缓存)] --- G
G --> I[GEO/访问者/内容分析]
G --> J[权限控制的共享和导出]
浏览器脚本收集页面浏览、事件和启用的扩展数据。 服务器和 CDN 日志添加不运行浏览器脚本的爬虫请求。 内容清单提供已知页面集。 每个输入可以独立连接,对应的分析在其源缺失时说明其限制。
日志处理保留源、分类和验证证据。 分析工作者使用预聚合、确切访问事实和持久结果来减少重复计算。 标准仪表板和更深层次的分析有单独的准入控制。 常用范围被预热,已发布结果在后台更新期间保持可用。 请参阅 架构指南。
快速部署
启动 Docker Engine/Docker Desktop 和 Docker Compose V2,并确保镜像和依赖项下载源可达。 获取源代码后,从项目根目录运行此命令:
sh scripts/liekan-deploy.sh
该脚本生成一个私有 .env 和随机密钥,构建应用程序镜像,运行迁移,在新安装时导入捆绑的官方示例,并启动应用程序、日志工作者、分析工作者、PostgreSQL 和 Redis。 默认地址为:
http://127.0.0.1:3002
对于新安装,初始用户名为 admin,初始密码为 liekan。 登录后更改密码,然后使用摄取指南创建一个网站。 升级保留现有的自定义密码和账户。
Docker 启动在迁移后导入完整的已清理官方示例。 对于手动开发,请运行:
docker compose -f docker-compose.liekan.yml exec app node scripts/liekan-seed-demo.mjs
该示例名为“猎看官网(示例数据)”。 源代码和 Docker 镜像包含其完整的已清理数据集、目录和校验和清单,涵盖浏览器事件、性能、收入、热图、回放、爬虫证据、内容和目标。 首次导入时,其时间戳被偏移,以使数据便于探索。 重复运行保留现有数据和删除状态。 请参阅 默认示例指南。
生产访问需要一个域名、HTTPS 和一个受信任的反向代理。 原始浏览器接收仍然可见,无需受信任的 IP 入口。 合格的浏览器指标,包括 PV 和 UV,需要可用的身份证据。 自动日志摄取和可选 AI 分析有单独的配置要求。
loyment.en.md) covers services, configuration, proxies, backups, and upgrades. The quick start explains how to connect the first website.
Keeping analytics current
The main Today dashboards read published results every 30 seconds and show the actual data cutoff. Reads pause while the page is hidden or offline. Realtime visitors use their own refresh interval, while heavier analyses such as heatmaps and retention use longer background windows.
Completed results use browser, process, Redis, and PostgreSQL persistence. Common date ranges and pages share query conditions. Capacity safeguards govern eviction of older windows, idle failed tasks pause automatic retries, and initial calculations can finish through durable background tasks. Updates retain statistics permissions and checks for source quality, dates, and rule versions.
Initial calculations, cache hits, and background updates have different costs. Actual performance depends on data volume, coverage construction, the database, and cache state. After deployment, the Analytics Acceleration page shows tasks and coverage. See analytics acceleration and caching.
Self-hosting and scope
- Core website analytics and crawler identification can run on your own infrastructure without a model API key.
- Browser tracking is cookieless by default. Optional recording, event properties, and business integrations use the data scope configured for each deployment.
- AI analysis is disabled by default. When enabled, users choose model connections and website materials. See the AI configuration guide for the data sent to models.
- GEO Weight is in Beta. It uses qualified AI content access from the most recent 30 complete calendar days, with a documented formula, evidence, and limitations. The weight guide defines the fixed policy and applicable scope.
- GEO extensions, supplemental journeys, complete exports, and analytics acceleration primarily target PostgreSQL. Retained ClickHouse, link, and pixel endpoints follow their existing protocols; support for each GEO extension must be checked separately.
- Automatic server collection requires public HTTPS, an ingestion secret, and signed installation assets. Cloudflare integration also requires OAuth, permissions, and the relevant provider capabilities.
- Search impressions, actual rankings, model-answer citations, training inclusion, and article completion rates require additional data. The detailed guides define the observations and scores this project provides.
Development and maintenance
Development uses Node.js 22.23.4, pnpm 12.3.4, and PostgreSQL. Prepare an independent database and private configuration using the deployment guide, then run the following commands. This example uses the separate development port 3302:
pnpm install --frozen-lockfile
pnpm build:db
pnpm db:migrate
pnpm liekan:migrate
pnpm liekan:queue-bootstrap
pnpm build:openapi
pnpm build:packages
pnpm build:tracker
pnpm build:recorder
pnpm liekan:build-worker
pnpm dev --port 3302
Start the log and analytics workers in separate terminals as described in CONTRIBUTING.md. Development workers and the web application use the same private environment configuration.
Product pages live in src/components/liekan, data contracts in src/lib/liekan/contracts, and upstream query and permission adapters in src/lib/liekan/upstream. New structures use incremental project migrations. Applied migrations remain immutable. The liekan technical identifiers, collection protocols, and existing workspace package names retain compatibility.
For issue reports, contributions, scoped verification, and upstream synchronization, see Contributing, the documentation index, and upstream maintenance.
License and notices
GEOInflow application source code and project documentation use the MIT license, permitting use, modification, and redistribution, including commercial use, subject to its notice requirements. The full license text governs these permissions.
GEOInflow is jointly published by 猎看科技 and 北京日报社智源GEO. Original copyright and license text are retained with the source. See the upstream notes for the project’s origin and compatibility relationship.
Dependencies, fonts, and geographic datasets retain their own licenses. See third-party notices. The default geographic dataset is DB-IP City Lite, with its attribution and CC BY 4.0 license retained. Supplied MaxMind or other geographic databases must comply with their respective data terms. Runtime configuration, real visitor data, database backups, private keys, and privately supplied geographic databases are outside the source release.