A browser-based tool that detects whether your network environment appears as a Chinese mainland user to services like ChatGPT and Claude, using multiple fingerprinting checks.

Stars

92

7-day growth

No data

Forks

9

Open issues

0

License

GPL-3.0

Last updated

2026-07-28

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

Provides transparent and customizable detection with no data storage, using a weighted scoring system and cross-signal verification to mimic real-world service behavior.

Who it is for

  • VPN/proxy users wanting to verify anonymity
  • Developers building cross-border services
  • Privacy researchers studying network fingerprinting
  • Overseas Chinese concerned about misidentification

Use cases

  • Check if your browsing environment leaks Chinese mainland signals
  • Test proxy configurations for effectiveness in hiding location
  • Understand how online services detect user geography
  • Evaluate the stealth of a corporate internet egress

Strengths

  • Covers 10 detection dimensions with adjustable weights
  • Zero data storage—no privacy risk
  • Efficient architecture: static assets and API separated on Cloudflare Workers
  • Cross-checking logic reduces false positives from individual signals

Considerations

  • DNS resolver detection requires self-hosted VPS setup; otherwise skipped
  • Cannot distinguish perfectly masqueraded users behind full VPN/proxy
  • Ad blockers or corporate firewalls may cause false signals

README quick start

China Access Check

检测你的浏览环境是否会被 ChatGPT、Claude、LinkedIn 等网站识别为中国大陆用户

在浏览器中复现这些网站常用的检测手段,逐项打分并给出综合判断,帮助你了解自己的网络环境暴露了哪些信号。托管于 Cloudflare Workers(静态资源 + 边缘 API),无任何数据存储。

检测项与权重

检测项权重原理备注
IP 归属地21Cloudflare 边缘提供的 IP 地理位置(request.cf.country),并用 chnroutes CIDR 独立核对最直接的信号
被屏蔽服务可达性16探测 Google、YouTube、Facebook、X、Instagram、维基百科等被屏蔽服务是否可达;按不可达比例分级打分(全部不可达才满分,个别不可达可能只是服务故障或广告拦截),多服务同时不可达强烈暗示身处 GFW 之内
大陆站点延迟12对百度、腾讯、哔哩哔哩 favicon 各采样 3 次取每站最小值,再取三站中第二低的值打分(单站可能有海外 CDN 节点,需两站佐证);.解析,VPS 上的 dns-probe 记录解析器出口 IP,Worker 代理回收并 chnroutes 判定;解析器在大陆而 HTTP 在境外 = 分流代理特征。需部署dns-probe/` 并配置变量(见已知局限),未配置则此项跳过不计分
旗帜 Emoji8大陆行货或地区设为中国的 Apple 设备会屏蔽 🇹🇼(canvas 对比连字与拆分渲染 + 彩色像素判定,用 🇨🇳 做对照)设备级信号,VPN 无法掩盖
国际站点延迟6以 AWS 美东/美西/东京/新加坡区域端点为参照(位置固定、无全球 CDN);「大陆很近 + 美国异常慢(>300ms)」是跨境线路拥堵/代理服务器和 GFW 开销的典型形态,港/新/日/韩直连美国多在 150~250ms;另做归属地-RTT 核验:IP 声称在美国/亚太,但到同区域参照点实测 ≥200ms(真在当地 300ms → +12(物理位置高度疑似大陆,IP 是分流代理出口)
  • 设备为大陆行货/中国区(🇹🇼 被屏蔽)+ IP 在境外,且网络层仍显示身在大陆(大陆延迟 < 60ms / DNS 解析器在大陆 / WebRTC 泄露中国 IP)→ +8(疑似使用代理的中国用户;仅凭设备特征不加分,排除携带国行设备出境的游客)
  • DNS 解析器出口在大陆,IP 却在境外 → +8(分流代理:只代理 HTTP、DNS 走国内)

总分 0–100:

  • ≥ 60:很可能被识别为中国大陆用户
  • 35–59:具有较明显的中国大陆特征
  • 15–34:存在少量中国大陆特征
  • < 15:基本不会被识别

权重与阈值集中在 public/app.js 顶部的 WEIGHTS / THRESHOLDS,可自行调整。

架构

public/                                 // 静态页面(Cloudflare

Description

🐾 Are you from China?

Related repositories

Similar projects matched by category, topics, and programming language.

TanStack
Featured
TanStack GitHub avatar

router

TanStack Router is a type-safe, data-driven React router with built-in caching, prefetching, and nested layouts, while TanStack Start extends it into a full-stack SSR framework.

Web DevelopmentFrontend Frameworks
14,861
vercel-labs
Featured
vercel-labs GitHub avatar

scriptc

scriptc compiles ordinary TypeScript into small, fast native executables without needing Node.js, V8, or any JavaScript runtime in the binary.

Developer ToolsCode Quality & Build
1,985
Jakubantalik
Featured
Jakubantalik GitHub avatar

thinking-orbs

A React component library that renders six hand-tuned animated thought orb loading indicators on a plain 2D canvas, with two purpose-tuned sizes and automatic theme detection for AI and agent UIs.

AI & Machine LearningAI Agents
1,191