{"id":25650041,"url":"https://github.com/itsjunetime/tower-no-ai","last_synced_at":"2025-04-15T18:32:38.918Z","repository":{"id":246713978,"uuid":"821914541","full_name":"itsjunetime/tower-no-ai","owner":"itsjunetime","description":"A tower service to redirect all \"AI\" scraping bots","archived":false,"fork":false,"pushed_at":"2024-12-01T06:00:50.000Z","size":9,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T23:34:29.484Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/itsjunetime.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-06-29T20:01:54.000Z","updated_at":"2025-03-18T21:10:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"eb1e2cdc-4920-4e24-97ac-f7e0cdc6b863","html_url":"https://github.com/itsjunetime/tower-no-ai","commit_stats":null,"previous_names":["itsjunetime/tower-no-ai"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsjunetime%2Ftower-no-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsjunetime%2Ftower-no-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsjunetime%2Ftower-no-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsjunetime%2Ftower-no-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsjunetime","download_url":"https://codeload.github.com/itsjunetime/tower-no-ai/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249129006,"owners_count":21217266,"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":[],"created_at":"2025-02-23T14:37:37.871Z","updated_at":"2025-04-15T18:32:38.891Z","avatar_url":"https://github.com/itsjunetime.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `tower-no-ai`\n\nA very simple crate to extend tower with the ability to redirect all AI-scraper bot User-Agent headers to a user-defined URL.\n\nThis can be done with something like the following (with axum):\n\n```rust\nuse tower_no_ai::NoAiLayer;\nuse axum::routing::{get, Router};\n\nlet route = Router::new()\n\t.route(\"/\", get(hello_world))\n\t// route them to a hetzner 10GB speed test file\n\t.layer(NoAiLayer::new(\"https://fsn1-speed.hetzner.com/10GB.bin\"));\n```\n\nAs this is built on `tower`, it should work perfectly with all tower-based backends.\n\nContributions, bug reports, and suggestions are welcome.\n\nDual-Licensed MIT and Apache 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsjunetime%2Ftower-no-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsjunetime%2Ftower-no-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsjunetime%2Ftower-no-ai/lists"}