✍ Evan Travers

Discouraging AI Agents with darkvisitors.com (opens in new tab)

# This is an RSS-only post. It's a secret! Read more about RSS Club. The robots.txt for evantravers.com is now generated on site build from darkvisitor.com's API. Pretty simple change. I added this to the helpers block in my middleman's config.rb: helpers do # […] def dark_visitors headers = { Authorization: 'Bearer ' } body = { agent_types: ['AI Assistant', 'AI Data Scraper', 'AI Search Crawler', 'Undocumented AI Agent'] } data = URI.encode_www_form(body) endpoint = URI(' respo...

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help