Repository navigation
botglass 0.1.0
First release.
- Fetch one URL as eight crawler identities plus a browser baseline: GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, PerplexityBot, CCBot, Googlebot, meta-externalagent.
- One verdict per crawler: ok, js-dependent, cloaked, robots-blocked, ua-blocked, error. Each verdict carries the numbers behind it and says whether it was measured or heuristic.
- robots.txt matching per RFC 9309 (longest path, Allow wins ties, wildcard groups).
- Cloaking detection by 5-word-shingle Jaccard against a plain-browser fetch.
- Optional --render (Playwright) to measure JavaScript-only text, with the missing sentences quoted.
- Batch mode over a sitemap or URL list; JSON and standalone HTML reports.
- CI gates: --fail-on, --max-js-only, exit codes 0/1/2.
Install: npx github:rudibrdev/botglass https://example.com (Node 20+).
Sample report: https://rudibrdev.github.io/botglass/