Skip to content

Commit 0c70df6

Browse files
authored
Block more crawlers and update webmanifest (#778)
Fixes: #776
1 parent d28a98c commit 0c70df6

File tree

3 files changed

+30
-13
lines changed

3 files changed

+30
-13
lines changed

lib/banchan_web/components/layouts/root.sface

+6-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
/>
1212
{/if}
1313
<meta name="banchan-git-rev" content={Application.get_env(:banchan, :git_rev)}>
14-
<meta name="robots" content="noai">
1514
<.live_title prefix={"Banchan Art |" <> " "}>
1615
{assigns[:page_title] || "The Co-operative Commissions Platform"}
1716
</.live_title>
@@ -39,6 +38,12 @@
3938
{/if}
4039
<meta name="twitter:site" content="@BanchanArt">
4140

41+
{!-- The Common Crawl dataset. Used by GPT-3 (and GPT-3.5) and available for others. --}
42+
<meta name="CCBot" content="nofollow">
43+
44+
{!-- Used by DeviantArt, ArtStation, etc. based on opt-in or opt-out --}
45+
<meta name="robots" content="noai, noimageai">
46+
4247
{!-- Icons and favicons --}
4348
<link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon.png">
4449
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">

priv/static/robots.txt

+12
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,15 @@
77
# Fuck AI
88
User-agent: GPTBot
99
Disallow: /
10+
11+
# The Common Crawl dataset. Original source for GPT and others.
12+
User-agent: CCBot
13+
Disallow: /
14+
15+
# The example for img2dataset, although the default is *None*
16+
User-agent: img2dataset
17+
Disallow: /
18+
19+
# Google's Bard and Vertex AI generative APIs
20+
User-agent: Google-Extended
21+
Disallow: /

priv/static/site.webmanifest

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
2-
"name": "",
3-
"short_name": "",
4-
"icons": [
5-
{
6-
"src": "/android-chrome-96x96.png",
7-
"sizes": "96x96",
8-
"type": "image/png"
9-
}
10-
],
11-
"theme_color": "#ffffff",
12-
"background_color": "#ffffff",
13-
"display": "standalone"
2+
"name": "Banchan Art",
3+
"short_name": "Banchan Art",
4+
"icons": [
5+
{
6+
"src": "/android-chrome-96x96.png",
7+
"sizes": "96x96",
8+
"type": "image/png"
9+
}
10+
],
11+
"theme_color": "#ffffff",
12+
"background_color": "#ffffff",
13+
"display": "standalone"
1414
}

0 commit comments

Comments
 (0)