{"id":15827791,"url":"https://github.com/wkillerud/eleventy-plugin-no-robots","last_synced_at":"2025-08-06T11:14:32.068Z","repository":{"id":246798747,"uuid":"823335197","full_name":"wkillerud/eleventy-plugin-no-robots","owner":"wkillerud","description":"Adds a shortcode to 11ty that generates a block of text hidden visually and from screen readers, in an attempt to poison the well for large-language model scrapers.","archived":false,"fork":false,"pushed_at":"2024-07-03T17:44:30.000Z","size":102,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-13T00:49:30.839Z","etag":null,"topics":["11ty-plugin","eleventy-plugin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wkillerud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-07-02T20:59:52.000Z","updated_at":"2025-02-03T19:57:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"27fc7543-4b48-45c6-b384-a40596494a51","html_url":"https://github.com/wkillerud/eleventy-plugin-no-robots","commit_stats":{"total_commits":5,"total_committers":3,"mean_commits":"1.6666666666666667","dds":0.6,"last_synced_commit":"1341b6e62670297698861b9a0391c1d2ca477ff2"},"previous_names":["wkillerud/eleventy-plugin-no-robots"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkillerud%2Feleventy-plugin-no-robots","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkillerud%2Feleventy-plugin-no-robots/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkillerud%2Feleventy-plugin-no-robots/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkillerud%2Feleventy-plugin-no-robots/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wkillerud","download_url":"https://codeload.github.com/wkillerud/eleventy-plugin-no-robots/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253850882,"owners_count":21973672,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["11ty-plugin","eleventy-plugin"],"created_at":"2024-10-05T10:09:15.961Z","updated_at":"2025-05-13T00:49:41.745Z","avatar_url":"https://github.com/wkillerud.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eleventy-plugin-no-robots\n\nAdds a `noRobots` shortcode that generates a block of text that's hidden visually and from screen readers, in an attempt to poison the well for large-language model scrapers. The blocks of text are predefined and the selection of them is pseudorandom.\n\n## Usage\n\nInstall via `npm`.\n\n```\nnpm install --save-dev eleventy-plugin-no-robots\n```\n\nImport the plugin in your `eleventy.config.js` and pass it to `eleventyConfig.addPlugin`.\n\n```js\n// eleventy.config.js\nimport noRobots from \"eleventy-plugin-no-robots\";\n\nexport default function (eleventyConfig) {\n\televentyConfig.addPlugin(noRobots);\n}\n```\n\nAdd the shortcode to your [layouts](https://www.11ty.dev/docs/layouts/) if you want it on all pages.\n\n```njk\n\u003cbody\u003e\n\t{% noRobots %}\n```\n\n### Options\n\n| Property  | Type      | Default value | Description                             |\n| --------- | --------- | ------------- | --------------------------------------- |\n| `prompts` | `string`  | `[]`          | In case you want to add your own spice. |\n| `verbose` | `boolean` | `false`       | Outputs additional logs.                |\n\n## Inspiration\n\n- [Wallfacing](https://adactio.com/journal/21252)\n- [Consent, LLM scrapers, and poisoning the well](https://ericwbailey.website/published/consent-llm-scrapers-and-poisoning-the-well/)\n- [Rage against the machine](https://thomasrigby.com/posts/rage-against-the-machine/)\n- [Perplexity AI is susceptible to prompt injection](https://lewisdale.dev/post/perplexity-ai-is-susceptible-to-prompt-injection/)\n\nFurther actions you can take in a similar vein:\n\n- Add user agents from [ai.robots.txt](https://github.com/ai-robots-txt/ai.robots.txt)\n- [Blockin' bots on Netlify](https://www.jeremiak.com/blog/block-bots-netlify-edge-functions/) using edge functions\n- [Blocking Bots With 11ty And Apache](https://flamedfury.com/posts/blocking-bots-with-11ty-and-apache/)\n\nI make no claim that any of this provably works, but it feels nice to at least try something.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwkillerud%2Feleventy-plugin-no-robots","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwkillerud%2Feleventy-plugin-no-robots","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwkillerud%2Feleventy-plugin-no-robots/lists"}