ai.conf 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. # $ meta_title Sukka's Ruleset - AIGC Domains
  2. # $ meta_description This file contains domains of OpenAI, Claude.
  3. # >> OpenAI / ChatGPT
  4. # OpenAI A/B Flag, no geo blocking
  5. # DOMAIN,api.statsig.com
  6. DOMAIN-SUFFIX,openai.com
  7. DOMAIN-SUFFIX,oaistatic.com
  8. DOMAIN-SUFFIX,sora.com
  9. DOMAIN-SUFFIX,chatgpt.com
  10. DOMAIN-SUFFIX,chat.com
  11. DOMAIN-SUFFIX,ai.com
  12. DOMAIN-KEYWORD,openai
  13. # DOMAIN-SUFFIX,openaiapi-site.azureedge.net
  14. # DOMAIN,openaicom-api-bdcpf8c6d2e9atf6.z01.azurefd.net
  15. # DOMAIN,openaicomproductionae4b.blob.core.windows.net
  16. # DOMAIN,production-openaicom-storage.azureedge.net
  17. # >> Apple Intelligence
  18. # has been moved to a dedicated file: /non_ip/apple_inteligence.conf
  19. # DOMAIN gspe1-ssl.ls.apple.com (which is part of com.apple.geod) is crucial for unlocking
  20. # Apple Intelligence. However, this domain (along side com.apple.geod) also affects other
  21. # Apple services like Map, Compass, Weather, etc. Therefore, we can't really include everything
  22. # in this general "ai.conf" here.
  23. # >> Perplexity
  24. DOMAIN-SUFFIX,perplexity.ai
  25. # >> Claude
  26. DOMAIN-SUFFIX,anthropic.com
  27. DOMAIN-SUFFIX,claude.ai
  28. DOMAIN-SUFFIX,claude.com
  29. # >> Google
  30. # Gemini
  31. DOMAIN-SUFFIX,bard.google.com
  32. DOMAIN-SUFFIX,gemini.google
  33. DOMAIN-SUFFIX,gemini.google.com
  34. DOMAIN,aisandbox-pa.googleapis.com
  35. DOMAIN,robinfrontend-pa.googleapis.com
  36. # Here is how gemini.google.com doing HTTP 429 right now:
  37. #
  38. # without a special cookie, gemini.google.com will return HTTP 302 to the following URL with
  39. # a special state token URL parameter:
  40. # https://www.google.com/sorry/index?continue=https://gemini.google.com/...
  41. #
  42. # On https://www.google.com/sorry/index?continue=xxx, the CDN edge will validate this state token,
  43. # compare the client IPs, and reject the request with HTTP 429 if the IPs are mismatched
  44. #
  45. # If the IP matches, the CDN edge will return a HTTP 302 redirect back to https://gemini.google.com
  46. # with another special state token URL parameter telling gemini.google.com stop returning HTTP 302
  47. # back to www.google.com/sorry/index?continue=xxx and start serving the real content.
  48. #
  49. # We can simply matches www.google.com/sorry/index?continue=xxx and proxy this as well
  50. #
  51. # Note that you will need to enable MitM www.google.com for this rule to work.
  52. URL-REGEX,https://www\.google\.com/.*continue=https://gemini\.google\.com.+
  53. # DeepMind
  54. DOMAIN-SUFFIX,deepmind.com
  55. DOMAIN-SUFFIX,deepmind.google
  56. # Generative Language API
  57. DOMAIN-SUFFIX,generativelanguage.googleapis.com
  58. DOMAIN-SUFFIX,geller-pa.googleapis.com
  59. DOMAIN-SUFFIX,proactivebackend-pa.googleapis.com
  60. DOMAIN-SUFFIX,cloudcode-pa.googleapis.com
  61. # Google AI Studio
  62. DOMAIN,ai.google.dev
  63. DOMAIN-SUFFIX,g.ai
  64. DOMAIN-SUFFIX,aistudio.google.com
  65. DOMAIN-SUFFIX,makersuite.google.com
  66. DOMAIN,alkalicore-pa.clients6.google.com
  67. DOMAIN-KEYWORD,alkalimakersuite-pa.clients6.google.com
  68. DOMAIN-SUFFIX,generativeai.google
  69. # NotebookLM
  70. DOMAIN-SUFFIX,notebooklm.google
  71. DOMAIN-SUFFIX,notebooklm.google.com
  72. # Jules
  73. DOMAIN,jules.google.com
  74. # Android Studio
  75. DOMAIN,aida.googleapis.com
  76. # Antigravity
  77. DOMAIN,antigravity.google
  78. DOMAIN,antigravity-unleash.goog
  79. DOMAIN,daily-cloudcode-pa.googleapis.com
  80. # >> POE
  81. DOMAIN-SUFFIX,poe.com
  82. # >> Meta AI
  83. DOMAIN-SUFFIX,meta.ai
  84. # >> Cloudflare AI Gateway
  85. DOMAIN,gateway.ai.cloudflare.com
  86. # >> Dify.AI
  87. DOMAIN-SUFFIX,dify.ai
  88. # >> Jasper
  89. DOMAIN-SUFFIX,clipdrop.co
  90. DOMAIN-SUFFIX,jasper.ai
  91. # >> OpenArt
  92. DOMAIN-SUFFIX,openart.ai
  93. # >> GitHub Copilot
  94. # api.*.githubcopilot.com is not required, since the ip & asn information are coming from api.github.com
  95. # see https://github.com/SukkaW/Surge/pull/46#discussion_r1849641627
  96. DOMAIN,api.github.com
  97. # >> Grok
  98. DOMAIN-SUFFIX,grok.com
  99. DOMAIN-SUFFIX,x.ai
  100. # >> groq
  101. DOMAIN-SUFFIX,groq.com
  102. # >> JetBrains AI
  103. DOMAIN,api.jetbrains.ai
  104. # >> OpenRouter AI - Unified Relay
  105. # see https://github.com/SukkaW/Surge/pull/86 for reason that only root domain get proxied
  106. DOMAIN,openrouter.ai