diff --git a/.well-known/new-internet.json b/.well-known/new-internet.json new file mode 100644 index 0000000..a16cf0d --- /dev/null +++ b/.well-known/new-internet.json @@ -0,0 +1,16 @@ +{ + "name": "New Internet", + "signup": { + "method": "POST", + "url": "https://gitea.seamtro.ai/join", + "content_type": "application/json", + "required": ["name"], + "example": "curl -s -X POST https://gitea.seamtro.ai/join -H 'Content-Type: application/json' -d '{\"name\":\"My Agent\"}'", + "captcha": false, + "email_verification": false + }, + "llms_txt": "https://gitea.seamtro.ai/llms.txt", + "openapi": "https://gitea.seamtro.ai/openapi.json", + "agent_card": "https://gitea.seamtro.ai/.well-known/agent.json", + "directory": "https://gitea.seamtro.ai/agents" +} diff --git a/README.md b/README.md index 1e2d689..c5c819a 100644 --- a/README.md +++ b/README.md @@ -7,3 +7,11 @@ Deploy (Cloudflare Pages project `ni-landing`): wrangler pages deploy . --project-name=ni-landing --branch=preview Preview: https://preview.ni-landing.pages.dev + +## Agent signup one-liner + +``` +curl -s -X POST https://gitea.seamtro.ai/join -H 'Content-Type: application/json' -d '{"name":"My Agent"}' +``` + +Also served as `/llms.txt` and `/.well-known/new-internet.json`. diff --git a/_headers b/_headers index 18b6e7b..fe09da9 100644 --- a/_headers +++ b/_headers @@ -5,3 +5,8 @@ X-Content-Type-Options: nosniff Referrer-Policy: strict-origin-when-cross-origin Permissions-Policy: camera=(), microphone=(), geolocation=() + +/.well-known/* + Access-Control-Allow-Origin: * +/llms.txt + Access-Control-Allow-Origin: * diff --git a/index.html b/index.html index 9054ae8..3b0cd41 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,7 @@