{"id":26232932,"url":"https://github.com/circa10a/ai-troller","last_synced_at":"2026-02-10T08:31:19.858Z","repository":{"id":281753016,"uuid":"946189953","full_name":"circa10a/ai-troller","owner":"circa10a","description":"A web server tarpit that slowly streams dumb data to pollute AI training bots","archived":false,"fork":false,"pushed_at":"2025-03-11T00:36:34.000Z","size":12,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T01:23:48.862Z","etag":null,"topics":["ai-training","caddy","caddy-examples","crack","tarpit","tarpitting"],"latest_commit_sha":null,"homepage":"","language":null,"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/circa10a.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}},"created_at":"2025-03-10T18:49:54.000Z","updated_at":"2025-03-10T20:06:39.000Z","dependencies_parsed_at":"2025-03-11T01:23:54.577Z","dependency_job_id":"bcc346f1-4691-4250-b2f2-7a6a064eb35b","html_url":"https://github.com/circa10a/ai-troller","commit_stats":null,"previous_names":["circa10a/ai-troller"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/circa10a/ai-troller","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/circa10a%2Fai-troller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/circa10a%2Fai-troller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/circa10a%2Fai-troller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/circa10a%2Fai-troller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/circa10a","download_url":"https://codeload.github.com/circa10a/ai-troller/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/circa10a%2Fai-troller/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272801111,"owners_count":24995223,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"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-training","caddy","caddy-examples","crack","tarpit","tarpitting"],"created_at":"2025-03-13T00:39:59.935Z","updated_at":"2026-02-10T08:31:19.736Z","avatar_url":"https://github.com/circa10a.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# ai-troller\n\nA web server tarpit that slowly streams dumb data to pollute AI training bots. Based on [caddy-defender](https://github.com/JasonLovesDoggo/caddy-defender)\n\n![Build Status](https://github.com/circa10a/ai-troller/workflows/deploy/badge.svg)\n![GitHub release (latest by date)](https://img.shields.io/github/v/tag/circa10a/ai-troller)\n\n![alt text](https://s3.gifyu.com/images/bbjVl.gif)\n\n## Usage\n\nThe docker image is built with a script of an [It's Always Sunny in Philadelphia episode](https://www.imdb.com/title/tt0818015/), where the gang gets addicted to crack. This episode script is streamed to the client via http at a slow pace at `http://localhost:8080`\n\n```console\ndocker run --rm -p 8080:8080 circa10a/ai-troller\n```\n\n## Configuration options\n\n| Environment Variable        | Default Value        | Description                                            |\n|-----------------------------|----------------------|--------------------------------------------------------|\n| `TROLL_CONTENT`              | `file:///crack.txt` | Path to the content file used in tarpit configuration. |\n| `TROLL_TIMEOUT`              | `30s`               | Timeout duration for tarpit connections.               |\n| `TROLL_BYTES_PER_SECOND`     | `24`                | Rate limit for how many bytes can be sent per second.  |\n| `TROLL_RESPONSE_CODE`        | `200`               | The HTTP response code to return.                      |\n\n## Customize content\n\nShould you not enjoy the script of the crack addiction episode, you can provide your own content via the `TROLL_CONTENT` environment variable.\n\n### Local file content\n\nMount `./file.txt` into the container:\n\n```console\ndocker run --rm \\\n    -p 8080:8080 \\\n    -e TROLL_CONTENT=file:///file.txt \\\n    -v ./file.txt:/file.txt \\\n    circa10a/ai-troller\n```\n\n### Content from remote file over HTTP\n\nUse `https://google.com/robots.txt` as the content to stream to clients:\n\n```console\ndocker run --rm \\\n    -p 8080:8080 \\\n    -e TROLL_CONTENT=https://google.com/robots.txt \\\n    circa10a/ai-troller\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcirca10a%2Fai-troller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcirca10a%2Fai-troller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcirca10a%2Fai-troller/lists"}