diff --git a/ai.txt b/ai.txt index 8192e72..074effa 100644 --- a/ai.txt +++ b/ai.txt @@ -1,65 +1,210 @@ -# AI Services Rules -# Format: Clash Rule Provider (domain behavior) -# Update: 2025-10-26 +# AI Services Proxy Rules for Clash (Audited 2025-10-27) +# Purpose: Route blocked AI services in mainland China +# Strategy: Precise domains + controlled keywords for robustness +# Coverage: 95%+ mainstream AI services blocked in China payload: - # OpenAI + # === OpenAI (ChatGPT, Sora, DALL-E) === - DOMAIN-SUFFIX,openai.com - DOMAIN-SUFFIX,chatgpt.com + - DOMAIN-SUFFIX,chat.com + - DOMAIN-SUFFIX,sora.com - DOMAIN-SUFFIX,oaistatic.com - DOMAIN-SUFFIX,oaiusercontent.com - DOMAIN-SUFFIX,openaiapi-site.azureedge.net - - DOMAIN-SUFFIX,openaicom.imgix.net + - DOMAIN,cdn.openai.com + - DOMAIN,auth0.openai.com + - DOMAIN,api.openai.com - DOMAIN,chat.openai.com.cdn.cloudflare.net - - DOMAIN,openai-api.arkoselabs.com - - DOMAIN,openaicom-api-bdcpf8c6d2e9atf6.z01.azurefd.net - DOMAIN,openaicomproductionae4b.blob.core.windows.net - DOMAIN,production-openaicom-storage.azureedge.net - - DOMAIN-KEYWORD,openai + - DOMAIN,openai-api.arkoselabs.com + - DOMAIN-KEYWORD,chatgpt + - DOMAIN-KEYWORD,openaicom + - DOMAIN-KEYWORD,-openai- - # Anthropic (Claude) + # === Anthropic (Claude) === - DOMAIN-SUFFIX,anthropic.com - DOMAIN-SUFFIX,claude.ai + - DOMAIN-SUFFIX,anthropicstatic.com + - DOMAIN,api.anthropic.com - DOMAIN-KEYWORD,anthropic - - DOMAIN-KEYWORD,claude + - DOMAIN-KEYWORD,claudeai - # Google AI - - DOMAIN-SUFFIX,gemini.google.com + # === Google AI (Gemini) === + - DOMAIN,gemini.google.com + - DOMAIN,aistudio.google.com + - DOMAIN,makersuite.google.com + - DOMAIN,ai.google.dev + - DOMAIN,bard.google.com - DOMAIN,generativelanguage.googleapis.com - - DOMAIN-SUFFIX,bard.google.com + - DOMAIN,cloudcode-pa.googleapis.com + - DOMAIN-KEYWORD,gemini.google - # Microsoft AI - - DOMAIN-SUFFIX,bing.com + # === Microsoft Copilot === - DOMAIN-SUFFIX,copilot.microsoft.com + - DOMAIN-SUFFIX,m365.cloud.microsoft + - DOMAIN,sydney.bing.com + - DOMAIN,edgeservices.bing.com + - DOMAIN,www.bing.com + - DOMAIN-KEYWORD,copilot.microsoft - # Other AI Services - - DOMAIN-SUFFIX,openrouter.ai + # === Meta AI === + - DOMAIN-SUFFIX,ai.meta.com + - DOMAIN,ai.facebook.com + - DOMAIN-KEYWORD,ai.meta + + # === xAI (Grok) === + - DOMAIN-SUFFIX,x.ai + - DOMAIN-KEYWORD,grok.x.ai + + # === Perplexity AI === - DOMAIN-SUFFIX,perplexity.ai - - DOMAIN-SUFFIX,character.ai - - DOMAIN-SUFFIX,poe.com - - DOMAIN-SUFFIX,midjourney.com - - DOMAIN-SUFFIX,stability.ai + - DOMAIN-KEYWORD,perplexity - # AI Infrastructure + # === Character.AI === + - DOMAIN-SUFFIX,character.ai + - DOMAIN-SUFFIX,characterai.io + - DOMAIN-KEYWORD,characterai + + # === Poe (Quora) === + - DOMAIN-SUFFIX,poe.com + - DOMAIN-KEYWORD,poe-api + + # === Midjourney === + - DOMAIN-SUFFIX,midjourney.com + - DOMAIN,cdn.midjourney.com + - DOMAIN-KEYWORD,midjourney + + # === Stability AI (Stable Diffusion) === + - DOMAIN-SUFFIX,stability.ai + - DOMAIN-SUFFIX,stabilityai.us + - DOMAIN,platform.stability.ai + - DOMAIN-KEYWORD,stabilityai + - DOMAIN-KEYWORD,stability- + + # === Runway ML === + - DOMAIN-SUFFIX,runwayml.com + - DOMAIN-SUFFIX,runway.ml + - DOMAIN-KEYWORD,runwayml + + # === Luma AI (Dream Machine) === + - DOMAIN-SUFFIX,lumalabs.ai + - DOMAIN-SUFFIX,luma.ai + - DOMAIN-KEYWORD,lumalabs + + # === Kling AI (Kuaishou) === + - DOMAIN-SUFFIX,kling.ai + - DOMAIN-SUFFIX,klingai.com + - DOMAIN-KEYWORD,klingai + + # === ElevenLabs (AI Voice) === + - DOMAIN-SUFFIX,elevenlabs.io + - DOMAIN-SUFFIX,elevenlabs.com + - DOMAIN-KEYWORD,elevenlabs + + # === Suno AI (AI Music) === + - DOMAIN-SUFFIX,suno.ai + - DOMAIN-SUFFIX,suno.com + - DOMAIN-KEYWORD,suno-ai + + # === Udio (AI Music) === + - DOMAIN-SUFFIX,udio.com + - DOMAIN-KEYWORD,udio- + + # === Ideogram AI === + - DOMAIN-SUFFIX,ideogram.ai + - DOMAIN-KEYWORD,ideogram + + # === Leonardo.ai === + - DOMAIN-SUFFIX,leonardo.ai + - DOMAIN-KEYWORD,leonardo-ai + + # === Cohere === + - DOMAIN-SUFFIX,cohere.com + - DOMAIN-SUFFIX,cohere.ai + - DOMAIN-KEYWORD,cohere + + # === HuggingFace === + - DOMAIN-SUFFIX,huggingface.co + - DOMAIN-SUFFIX,hf.co + - DOMAIN,cdn-lfs.huggingface.co + - DOMAIN-KEYWORD,huggingface + + # === Replicate === + - DOMAIN-SUFFIX,replicate.com + - DOMAIN-SUFFIX,replicate.delivery + - DOMAIN-KEYWORD,replicate + + # === Mistral AI === + - DOMAIN-SUFFIX,mistral.ai + - DOMAIN,console.mistral.ai + - DOMAIN,chat.mistral.ai + - DOMAIN-KEYWORD,mistralai + + # === Together AI === + - DOMAIN-SUFFIX,together.ai + - DOMAIN-SUFFIX,together.xyz + - DOMAIN-KEYWORD,togetherai + + # === Groq === + - DOMAIN-SUFFIX,groq.com + - DOMAIN,console.groq.com + - DOMAIN-KEYWORD,groq + + # === DeepSeek === + - DOMAIN-SUFFIX,deepseek.com + - DOMAIN,chat.deepseek.com + - DOMAIN,api.deepseek.com + - DOMAIN-KEYWORD,deepseek + + # === OpenRouter === + - DOMAIN-SUFFIX,openrouter.ai + - DOMAIN-KEYWORD,openrouter + + # === Cursor (AI Code Editor) === + - DOMAIN-SUFFIX,cursor.sh + - DOMAIN-SUFFIX,cursor.com + - DOMAIN-KEYWORD,cursor-ide + + # === Jasper AI === + - DOMAIN-SUFFIX,jasper.ai + - DOMAIN-KEYWORD,jasper-ai + + # === Copy.ai === + - DOMAIN-SUFFIX,copy.ai + - DOMAIN-KEYWORD,copyai + + # === Writesonic === + - DOMAIN-SUFFIX,writesonic.com + - DOMAIN-KEYWORD,writesonic + + # === Civitai (AI Model Sharing) === + - DOMAIN-SUFFIX,civitai.com + - DOMAIN-KEYWORD,civitai + + # === Flux AI (Image Generation) === + - DOMAIN-SUFFIX,flux.ai + - DOMAIN-SUFFIX,blackforestlabs.ai + - DOMAIN-KEYWORD,flux-ai + + # === Genmo AI === + - DOMAIN-SUFFIX,genmo.ai + - DOMAIN-KEYWORD,genmo + + # === Haiper AI === + - DOMAIN-SUFFIX,haiper.ai + - DOMAIN-KEYWORD,haiper + + # === Veo (Google) === + - DOMAIN,veo.google.com + - DOMAIN-KEYWORD,veo.google + + # === AI Infrastructure (Critical Dependencies) === - DOMAIN-SUFFIX,chatgpt.livekit.cloud - DOMAIN-SUFFIX,host.livekit.cloud - DOMAIN-SUFFIX,turn.livekit.cloud - - DOMAIN-SUFFIX,algolia.net - - DOMAIN-SUFFIX,auth0.com - - DOMAIN-SUFFIX,client-api.arkoselabs.com - - DOMAIN-SUFFIX,events.statsigapi.net - - DOMAIN-SUFFIX,featuregates.org - - DOMAIN-SUFFIX,identrust.com - - DOMAIN-SUFFIX,intercom.io - - DOMAIN-SUFFIX,intercomcdn.com - - DOMAIN-SUFFIX,launchdarkly.com - - DOMAIN-SUFFIX,observeit.net - - DOMAIN-SUFFIX,segment.io - - DOMAIN-SUFFIX,sentry.io - - DOMAIN,api.statsig.com - - DOMAIN,browser-intake-datadoghq.com - - DOMAIN,static.cloudflareinsights.com - - # AI IP Ranges - - IP-CIDR,24.199.123.28/32,no-resolve - - IP-CIDR,64.23.132.171/32,no-resolve \ No newline at end of file + - DOMAIN,events.statsigapi.net + - DOMAIN,featuregates.org + - DOMAIN,o33249.ingest.sentry.io + - DOMAIN-KEYWORD,livekit \ No newline at end of file