mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 17:48:30 -04:00
block even more AI bullsh*t
This commit is contained in:
parent
19fb5da2d9
commit
00165a5871
@ -6,31 +6,43 @@ export const getServerSideProps: GetServerSideProps<Record<string, never>> = asy
|
|||||||
// this production check should be unnecessary because "noindex" and "nofollow" are also set in a meta tag (see
|
// this production check should be unnecessary because "noindex" and "nofollow" are also set in a meta tag (see
|
||||||
// DefaultSeo's props in pages/_app.tsx), but it doesn't hurt...
|
// DefaultSeo's props in pages/_app.tsx), but it doesn't hurt...
|
||||||
const robots = `User-agent: *
|
const robots = `User-agent: *
|
||||||
${process.env.NEXT_PUBLIC_VERCEL_ENV !== "production" ? `Disallow: /` : `Allow: /`}
|
${
|
||||||
|
process.env.NEXT_PUBLIC_VERCEL_ENV !== "production"
|
||||||
|
? `Disallow: /`
|
||||||
|
: `Allow: /
|
||||||
|
|
||||||
# Block CommonCrawl
|
# I'm already _so_ over this shit...
|
||||||
User-agent: CCBot
|
# https://github.com/ai-robots-txt/ai.robots.txt/blob/main/robots.txt
|
||||||
Disallow: /
|
User-agent: AdsBot-Google
|
||||||
|
User-agent: Amazonbot
|
||||||
# Block Google Bard
|
|
||||||
User-agent: Google-Extended
|
|
||||||
Disallow: /
|
|
||||||
|
|
||||||
# Block OpenAI & ChatGPT
|
|
||||||
User-agent: GPTBot
|
|
||||||
Disallow: /
|
|
||||||
User-agent: ChatGPT-User
|
|
||||||
Disallow: /
|
|
||||||
|
|
||||||
# Block Anthropic AI
|
|
||||||
User-agent: anthropic-ai
|
User-agent: anthropic-ai
|
||||||
Disallow: /
|
User-agent: Applebot-Extended
|
||||||
User-agent: ClaudeBot
|
|
||||||
Disallow: /
|
|
||||||
|
|
||||||
# Block ByteDance
|
|
||||||
User-agent: Bytespider
|
User-agent: Bytespider
|
||||||
Disallow: /
|
User-agent: CCBot
|
||||||
|
User-agent: ChatGPT-User
|
||||||
|
User-agent: Claude-Web
|
||||||
|
User-agent: ClaudeBot
|
||||||
|
User-agent: cohere-ai
|
||||||
|
User-agent: Diffbot
|
||||||
|
User-agent: FacebookBot
|
||||||
|
User-agent: FriendlyCrawler
|
||||||
|
User-agent: Google-Extended
|
||||||
|
User-agent: GPTBot
|
||||||
|
User-agent: img2dataset
|
||||||
|
User-agent: omgili
|
||||||
|
User-agent: omgilibot
|
||||||
|
User-agent: peer39_crawler
|
||||||
|
User-agent: peer39_crawler/1.0
|
||||||
|
User-agent: PerplexityBot
|
||||||
|
User-agent: YouBot
|
||||||
|
User-agent: AhrefsBot
|
||||||
|
User-agent: BLEXBot
|
||||||
|
User-agent: DataForSeoBot
|
||||||
|
User-agent: magpie-crawler
|
||||||
|
User-agent: MJ12bot
|
||||||
|
User-agent: TurnitinBot
|
||||||
|
Disallow: /`
|
||||||
|
}
|
||||||
|
|
||||||
Sitemap: ${process.env.NEXT_PUBLIC_BASE_URL || ""}/sitemap.xml
|
Sitemap: ${process.env.NEXT_PUBLIC_BASE_URL || ""}/sitemap.xml
|
||||||
`;
|
`;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user