{"id":50964748,"url":"https://github.com/dkd-dobberkau/goodbot-badbot","last_synced_at":"2026-06-18T18:32:40.015Z","repository":{"id":362152212,"uuid":"1257626407","full_name":"dkd-dobberkau/goodbot-badbot","owner":"dkd-dobberkau","description":"Live monitor of AI crawler robots.txt compliance — honeypot paths log every bot that ignores Disallow","archived":false,"fork":false,"pushed_at":"2026-06-02T22:04:37.000Z","size":112,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-02T23:16:43.589Z","etag":null,"topics":["ai-crawlers","compliance-monitor","fastapi","honeypot","robots-txt"],"latest_commit_sha":null,"homepage":"https://goodbot-badbot.com","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dkd-dobberkau.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-06-02T21:24:39.000Z","updated_at":"2026-06-02T22:04:41.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dkd-dobberkau/goodbot-badbot","commit_stats":null,"previous_names":["dkd-dobberkau/goodbot-badbot"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/dkd-dobberkau/goodbot-badbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkd-dobberkau%2Fgoodbot-badbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkd-dobberkau%2Fgoodbot-badbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkd-dobberkau%2Fgoodbot-badbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkd-dobberkau%2Fgoodbot-badbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dkd-dobberkau","download_url":"https://codeload.github.com/dkd-dobberkau/goodbot-badbot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkd-dobberkau%2Fgoodbot-badbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34503508,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ai-crawlers","compliance-monitor","fastapi","honeypot","robots-txt"],"created_at":"2026-06-18T18:32:38.283Z","updated_at":"2026-06-18T18:32:40.003Z","avatar_url":"https://github.com/dkd-dobberkau.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# goodbot-badbot\n\n\u003e Live at **\u003chttps://goodbot-badbot.com\u003e**\n\nA small public experiment that measures whether AI crawlers actually respect\n`robots.txt`. The site declares six honeypot paths as `Disallow`. Any request\nto one of them — by any user-agent — is logged as a violation and shown on\nthe public dashboard in real time.\n\nThe rest of the site is open to all bots, so compliance with a single\n`Disallow` rule can be measured cleanly: a respectful crawler hits the\nhomepage and stops; a non-respectful one keeps going into the honeypots.\n\n## Honeypot paths\n\n```\n/do-not-crawl/             linked from homepage\n/training-data-forbidden/  linked from homepage\n/no-ai-allowed/            linked from homepage\n\n/private/                  unlinked anywhere\n/honeypot/                 unlinked anywhere\n/robots-test/              unlinked anywhere\n```\n\nAll six listed in [`/robots.txt`](https://goodbot-badbot.com/robots.txt)\nas `Disallow`. Any hit on any of them is a violation, but the two\ngroups measure subtly different things:\n\n- **Linked** (three paths, with visible `\u003ca href\u003e` on the homepage):\n  catches crawlers that follow links and ignore the corresponding\n  Disallow rule. The clearest possible signal of \"didn't respect\n  robots.txt.\"\n- **Unlinked** (three paths, no `\u003ca\u003e` anywhere on the site): the only\n  way to discover them is to read `/robots.txt` and either use the\n  Disallow list as a seed for crawling (\"treasure map\" anti-pattern)\n  or guess paths from common names. A hit here implies the bot\n  actively used robots.txt as input.\n\nWithout the linked subset, the site would only catch the second\nbehaviour. Without the unlinked subset, the site couldn't distinguish\n\"used robots.txt as a seed\" from \"happened to find a link.\"\n\n## Identified bots\n\nVisits are tagged with the operator when a known user-agent substring is\nrecognised (GPTBot, ClaudeBot, CCBot, Bytespider, PerplexityBot,\nGoogle-Extended, Applebot-Extended, Diffbot, cohere-ai, YouBot and others).\nUnknown user-agents are still logged, just without attribution.\n\n## Stack\n\n- FastAPI (Python 3.12, async)\n- aiomysql against MySQL 8.4\n- Vanilla HTML / CSS / no JS framework\n- Docker for both local dev and production\n- Self-hosted Google Fonts, no external CDN at runtime\n\n## Local dev\n\n```bash\ndocker compose up -d --build\nopen http://localhost:8000\n```\n\nThis brings up the FastAPI app and a `mysql:8.4` service with a healthcheck;\nthe app waits for the DB and creates its schema on startup. Connection\nsettings come from the `MYSQL_*` env vars in `docker-compose.yml`.\n\n## API\n\n```\nGET /              # dashboard\nGET /robots.txt    # the honeypot rules\nGET /api/stats     # JSON: per-bot summary + recent violations\nGET /favicon.ico   # 🤖\n```\n\n## Agent discoverability\n\nThe site implements the HTTP-layer agent-readiness signals: a sitemap\nreferenced from `robots.txt`, RFC 8288 `Link` headers on the homepage,\nContent Signals declaring the AI-usage policy (`search=yes, ai-input=yes,\nai-train=no`), content negotiation for `Accept: text/markdown`, and a\nJWKS at `/.well-known/http-message-signatures-directory` for Web Bot\nAuth identity.\n\nDNS for AI Discovery (DNS-AID) is intentionally **not** implemented.\nDNS-AID exists to point agents at A2A / MCP / JSON-RPC endpoints;\ngoodbot-badbot has no such endpoint to advertise. Publishing a SVCB\nrecord pointing at the HTML dashboard or the stats JSON would be\ncompliance theatre. The site is an observer of agents, not an agent.\n\n## Privacy\n\nIP addresses are SHA-256 hashed and truncated to the first 16 hex chars\nbefore storage. The raw IP never touches disk.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdkd-dobberkau%2Fgoodbot-badbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdkd-dobberkau%2Fgoodbot-badbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdkd-dobberkau%2Fgoodbot-badbot/lists"}