Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

feat: update crawler rules (#6369)

darkskygit0ce6401a6fd9
diff --git a/packages/frontend/core/public/robots.txt b/packages/frontend/core/public/robots.txt
new file mode 100644
index 0000000000..1b8b25033d
--- /dev/null
+++ b/packages/frontend/core/public/robots.txt
@@ -0,0 +1,25 @@
+# If you would like to crawl AFFiNE public workspace contact us via [email protected]
+
+User-agent: *
+Allow: /
+Disallow: /oauth/*
+Disallow: /workspace/*
+Disallow: /public-workspace/*
+Disallow: /auth/*
+Disallow: /signin/*
+Disallow: /_next/*
+Disallow: /invite/*
+Disallow: /*/invite/*
+Disallow: /api/*
+
+User-agent: PetalBot
+Disallow: /
+
+User-agent: BLEXBot
+Disallow: /
+
+User-agent: Bytespider
+Disallow: /
+
+User-agent: Barkrowler
+Disallow: /
\ No newline at end of file