diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2b4051a47..ee7269b7d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -148,8 +148,8 @@ jobs: rm -f geoip.dat geosite.dat fetch https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat fetch https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat - fetch -O geoip_IR.dat https://github.com/chocolate4u/Iran-v2ray-rules/releases/latest/download/geoip.dat - fetch -O geosite_IR.dat https://github.com/chocolate4u/Iran-v2ray-rules/releases/latest/download/geosite.dat + fetch -O geoip_IR.dat https://github.com/FDeghy/Iran-v2ray-rules/releases/latest/download/geoip.dat + fetch -O geosite_IR.dat https://github.com/FDeghy/Iran-v2ray-rules/releases/latest/download/geosite.dat fetch -O geoip_RU.dat https://github.com/runetfreedom/russia-v2ray-rules-dat/releases/latest/download/geoip.dat fetch -O geosite_RU.dat https://github.com/runetfreedom/russia-v2ray-rules-dat/releases/latest/download/geosite.dat mv xray xray-linux-${{ matrix.platform }} @@ -290,8 +290,8 @@ jobs: Remove-Item geoip.dat, geosite.dat -ErrorAction SilentlyContinue Invoke-WebRequest @retry -Uri "https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat" -OutFile "geoip.dat" Invoke-WebRequest @retry -Uri "https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat" -OutFile "geosite.dat" - Invoke-WebRequest @retry -Uri "https://github.com/chocolate4u/Iran-v2ray-rules/releases/latest/download/geoip.dat" -OutFile "geoip_IR.dat" - Invoke-WebRequest @retry -Uri "https://github.com/chocolate4u/Iran-v2ray-rules/releases/latest/download/geosite.dat" -OutFile "geosite_IR.dat" + Invoke-WebRequest @retry -Uri "https://github.com/FDeghy/Iran-v2ray-rules/releases/latest/download/geoip.dat" -OutFile "geoip_IR.dat" + Invoke-WebRequest @retry -Uri "https://github.com/FDeghy/Iran-v2ray-rules/releases/latest/download/geosite.dat" -OutFile "geosite_IR.dat" Invoke-WebRequest @retry -Uri "https://github.com/runetfreedom/russia-v2ray-rules-dat/releases/latest/download/geoip.dat" -OutFile "geoip_RU.dat" Invoke-WebRequest @retry -Uri "https://github.com/runetfreedom/russia-v2ray-rules-dat/releases/latest/download/geosite.dat" -OutFile "geosite_RU.dat" Rename-Item xray.exe xray-windows-amd64.exe diff --git a/DockerInit.sh b/DockerInit.sh index 52b363eef..3324a5ab0 100755 --- a/DockerInit.sh +++ b/DockerInit.sh @@ -66,8 +66,8 @@ rm -rf "${MTG_PKG}" "${MTG_PKG}.tar.gz" chmod +x "${MTG_BIN}" curl -sfLRO https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat curl -sfLRO https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -curl -sfLRo geoip_IR.dat https://github.com/chocolate4u/Iran-v2ray-rules/releases/latest/download/geoip.dat -curl -sfLRo geosite_IR.dat https://github.com/chocolate4u/Iran-v2ray-rules/releases/latest/download/geosite.dat +curl -sfLRo geoip_IR.dat https://github.com/FDeghy/Iran-v2ray-rules/releases/latest/download/geoip.dat +curl -sfLRo geosite_IR.dat https://github.com/FDeghy/Iran-v2ray-rules/releases/latest/download/geosite.dat curl -sfLRo geoip_RU.dat https://github.com/runetfreedom/russia-v2ray-rules-dat/releases/latest/download/geoip.dat curl -sfLRo geosite_RU.dat https://github.com/runetfreedom/russia-v2ray-rules-dat/releases/latest/download/geosite.dat cd ../../ diff --git a/README.ar_EG.md b/README.ar_EG.md index 5c0baa984..d12246fc2 100644 --- a/README.ar_EG.md +++ b/README.ar_EG.md @@ -191,7 +191,7 @@ English · فارسی · العربية · 中文(简体) · 中文(繁體 ## الاعتراف -- [Iran v2ray rules](https://github.com/chocolate4u/Iran-v2ray-rules) (الترخيص: **GPL-3.0**): _قواعد توجيه v2ray/xray و v2ray/xray-clients المحسنة مع النطاقات الإيرانية المدمجة وتركيز على الأمان وحظر الإعلانات._ +- [Iran v2ray rules](https://github.com/FDeghy/Iran-v2ray-rules) (الترخيص: **GPL-3.0**): _قواعد توجيه v2ray/xray و v2ray/xray-clients المحسنة مع النطاقات الإيرانية المدمجة وتركيز على الأمان وحظر الإعلانات._ - [Russia v2ray rules](https://github.com/runetfreedom/russia-v2ray-rules-dat) (الترخيص: **GPL-3.0**): _يحتوي هذا المستودع على قواعد توجيه V2Ray محدثة تلقائيًا بناءً على بيانات النطاقات والعناوين المحظورة في روسيا._ ## أدوات المجتمع diff --git a/README.es_ES.md b/README.es_ES.md index 9701d2856..fae96ea9c 100644 --- a/README.es_ES.md +++ b/README.es_ES.md @@ -191,7 +191,7 @@ Las contribuciones son bienvenidas. Por favor, lee la [Guía de contribución](/ ## Reconocimientos -- [Iran v2ray rules](https://github.com/chocolate4u/Iran-v2ray-rules) (Licencia: **GPL-3.0**): _Reglas de enrutamiento mejoradas para v2ray/xray y v2ray/xray-clients con dominios iraníes incorporados y un enfoque en seguridad y bloqueo de anuncios._ +- [Iran v2ray rules](https://github.com/FDeghy/Iran-v2ray-rules) (Licencia: **GPL-3.0**): _Reglas de enrutamiento mejoradas para v2ray/xray y v2ray/xray-clients con dominios iraníes incorporados y un enfoque en seguridad y bloqueo de anuncios._ - [Russia v2ray rules](https://github.com/runetfreedom/russia-v2ray-rules-dat) (Licencia: **GPL-3.0**): _Este repositorio contiene reglas de enrutamiento V2Ray actualizadas automáticamente basadas en datos de dominios y direcciones bloqueadas en Rusia._ ## Herramientas de la Comunidad diff --git a/README.fa_IR.md b/README.fa_IR.md index e59fb0af5..a16b001bf 100644 --- a/README.fa_IR.md +++ b/README.fa_IR.md @@ -191,7 +191,7 @@ English · فارسی · العربية · 中文(简体) · 中文(繁體 ## قدردانی -- [Iran v2ray rules](https://github.com/chocolate4u/Iran-v2ray-rules) (مجوز: **GPL-3.0**): _قوانین مسیریابی بهبود یافته v2ray/xray و v2ray/xray-clients با دامنه‌های ایرانی داخلی و تمرکز بر امنیت و مسدود کردن تبلیغات._ +- [Iran v2ray rules](https://github.com/FDeghy/Iran-v2ray-rules) (مجوز: **GPL-3.0**): _قوانین مسیریابی بهبود یافته v2ray/xray و v2ray/xray-clients با دامنه‌های ایرانی داخلی و تمرکز بر امنیت و مسدود کردن تبلیغات._ - [Russia v2ray rules](https://github.com/runetfreedom/russia-v2ray-rules-dat) (مجوز: **GPL-3.0**): _این مخزن شامل قوانین مسیریابی V2Ray به‌روزرسانی شده خودکار بر اساس داده‌های دامنه‌ها و آدرس‌های مسدود شده در روسیه است._ ## ابزارهای جامعه diff --git a/README.md b/README.md index 43b47f079..15c3c069a 100644 --- a/README.md +++ b/README.md @@ -191,7 +191,7 @@ Contributions are welcome. Please read the [Contributing Guide](/CONTRIBUTING.md ## Acknowledgment -- [Iran v2ray rules](https://github.com/chocolate4u/Iran-v2ray-rules) (License: **GPL-3.0**): _Enhanced v2ray/xray and v2ray/xray-clients routing rules with built-in Iranian domains and a focus on security and adblocking._ +- [Iran v2ray rules](https://github.com/FDeghy/Iran-v2ray-rules) (License: **GPL-3.0**): _Enhanced v2ray/xray and v2ray/xray-clients routing rules with built-in Iranian domains and a focus on security and adblocking._ - [Russia v2ray rules](https://github.com/runetfreedom/russia-v2ray-rules-dat) (License: **GPL-3.0**): _This repository contains automatically updated V2Ray routing rules based on data on blocked domains and addresses in Russia._ ## Community Tools diff --git a/README.ru_RU.md b/README.ru_RU.md index fa6aa0979..0fa8967c1 100644 --- a/README.ru_RU.md +++ b/README.ru_RU.md @@ -191,7 +191,7 @@ English · فارسی · العربية · 中文(简体) · 中文(繁體 ## Благодарности -- [Iran v2ray rules](https://github.com/chocolate4u/Iran-v2ray-rules) (Лицензия: **GPL-3.0**): _Улучшенные правила маршрутизации для v2ray/xray и v2ray/xray-clients со встроенными иранскими доменами и фокусом на безопасность и блокировку рекламы._ +- [Iran v2ray rules](https://github.com/FDeghy/Iran-v2ray-rules) (Лицензия: **GPL-3.0**): _Улучшенные правила маршрутизации для v2ray/xray и v2ray/xray-clients со встроенными иранскими доменами и фокусом на безопасность и блокировку рекламы._ - [Russia v2ray rules](https://github.com/runetfreedom/russia-v2ray-rules-dat) (Лицензия: **GPL-3.0**): _Этот репозиторий содержит автоматически обновляемые правила маршрутизации V2Ray на основе данных о заблокированных доменах и адресах в России._ ## Инструменты сообщества diff --git a/README.tr_TR.md b/README.tr_TR.md index 5daf90acd..52437f365 100644 --- a/README.tr_TR.md +++ b/README.tr_TR.md @@ -191,7 +191,7 @@ Katkılarınızı her zaman bekliyoruz. Bir sorun (issue) açmadan veya pull req ## Teşekkür & Atıf -- [Iran v2ray rules](https://github.com/chocolate4u/Iran-v2ray-rules) (Lisans: **GPL-3.0**): _Geliştirilmiş v2ray/xray ve v2ray/xray-clients yönlendirme (routing) kuralları; yerleşik İran alan adları ile güvenlik ve reklam engelleme odaklıdır._ +- [Iran v2ray rules](https://github.com/FDeghy/Iran-v2ray-rules) (Lisans: **GPL-3.0**): _Geliştirilmiş v2ray/xray ve v2ray/xray-clients yönlendirme (routing) kuralları; yerleşik İran alan adları ile güvenlik ve reklam engelleme odaklıdır._ - [Russia v2ray rules](https://github.com/runetfreedom/russia-v2ray-rules-dat) (Lisans: **GPL-3.0**): _Bu depo, Rusya'daki engellenen alan adları ve adreslere dayalı otomatik olarak güncellenen V2Ray yönlendirme kurallarını içerir._ ## Topluluk Araçları diff --git a/README.zh_CN.md b/README.zh_CN.md index f03cb0d25..e1ee03c50 100644 --- a/README.zh_CN.md +++ b/README.zh_CN.md @@ -191,7 +191,7 @@ English · فارسی · العربية · 中文(简体) · 中文(繁體 ## 致谢 -- [Iran v2ray rules](https://github.com/chocolate4u/Iran-v2ray-rules) (许可证: **GPL-3.0**): _增强的 v2ray/xray 和 v2ray/xray-clients 路由规则,内置伊朗域名,专注于安全性和广告拦截。_ +- [Iran v2ray rules](https://github.com/FDeghy/Iran-v2ray-rules) (许可证: **GPL-3.0**): _增强的 v2ray/xray 和 v2ray/xray-clients 路由规则,内置伊朗域名,专注于安全性和广告拦截。_ - [Russia v2ray rules](https://github.com/runetfreedom/russia-v2ray-rules-dat) (许可证: **GPL-3.0**): _此仓库包含基于俄罗斯被阻止域名和地址数据自动更新的 V2Ray 路由规则。_ ## 社区工具 diff --git a/frontend/src/test/geodata-section.test.tsx b/frontend/src/test/geodata-section.test.tsx index 6b7e842f9..72893b09b 100644 --- a/frontend/src/test/geodata-section.test.tsx +++ b/frontend/src/test/geodata-section.test.tsx @@ -15,11 +15,11 @@ const STANDARD_SOURCES = [ file: 'geosite.dat', }, { - url: 'https://github.com/chocolate4u/Iran-v2ray-rules/releases/latest/download/geoip.dat', + url: 'https://github.com/FDeghy/Iran-v2ray-rules/releases/latest/download/geoip.dat', file: 'geoip_IR.dat', }, { - url: 'https://github.com/chocolate4u/Iran-v2ray-rules/releases/latest/download/geosite.dat', + url: 'https://github.com/FDeghy/Iran-v2ray-rules/releases/latest/download/geosite.dat', file: 'geosite_IR.dat', }, { diff --git a/internal/web/service/server.go b/internal/web/service/server.go index 27bc2ab64..f5468487a 100644 --- a/internal/web/service/server.go +++ b/internal/web/service/server.go @@ -2474,8 +2474,8 @@ type geofileEntry struct { var geofileAllowlist = map[string]geofileEntry{ "geoip.dat": {"https://github.com/Loyalsoldier/v2ray-rules-dat", "geoip.dat", "geoip.dat"}, "geosite.dat": {"https://github.com/Loyalsoldier/v2ray-rules-dat", "geosite.dat", "geosite.dat"}, - "geoip_IR.dat": {"https://github.com/chocolate4u/Iran-v2ray-rules", "geoip.dat", "geoip_IR.dat"}, - "geosite_IR.dat": {"https://github.com/chocolate4u/Iran-v2ray-rules", "geosite.dat", "geosite_IR.dat"}, + "geoip_IR.dat": {"https://github.com/FDeghy/Iran-v2ray-rules", "geoip.dat", "geoip_IR.dat"}, + "geosite_IR.dat": {"https://github.com/FDeghy/Iran-v2ray-rules", "geosite.dat", "geosite_IR.dat"}, "geoip_RU.dat": {"https://github.com/runetfreedom/russia-v2ray-rules-dat", "geoip.dat", "geoip_RU.dat"}, "geosite_RU.dat": {"https://github.com/runetfreedom/russia-v2ray-rules-dat", "geosite.dat", "geosite_RU.dat"}, } diff --git a/internal/web/service/server_geofile_test.go b/internal/web/service/server_geofile_test.go index 2b58778cb..2b32c6e85 100644 --- a/internal/web/service/server_geofile_test.go +++ b/internal/web/service/server_geofile_test.go @@ -15,7 +15,7 @@ import ( "github.com/mhsanaei/3x-ui/v3/internal/database/dbtest" ) -// Loyalsoldier and runetfreedom write " geoip.dat"; chocolate4u writes +// Loyalsoldier and runetfreedom write " geoip.dat"; FDeghy writes // " release/geoip.dat", the path from its own build. func TestParseGeofileDigest(t *testing.T) { const digest = "0d5d2ba0c5a5c58027fd1347a6afd57c9470799b6bb3cbc274fd4657ed8de382" @@ -393,10 +393,10 @@ func TestUpdateGeofileRejectsNameOutsideAllowlist(t *testing.T) { func TestStandardGeodataSources(t *testing.T) { want := []GeodataSource{ {URL: "https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat", File: "geoip.dat"}, - {URL: "https://github.com/chocolate4u/Iran-v2ray-rules/releases/latest/download/geoip.dat", File: "geoip_IR.dat"}, + {URL: "https://github.com/FDeghy/Iran-v2ray-rules/releases/latest/download/geoip.dat", File: "geoip_IR.dat"}, {URL: "https://github.com/runetfreedom/russia-v2ray-rules-dat/releases/latest/download/geoip.dat", File: "geoip_RU.dat"}, {URL: "https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat", File: "geosite.dat"}, - {URL: "https://github.com/chocolate4u/Iran-v2ray-rules/releases/latest/download/geosite.dat", File: "geosite_IR.dat"}, + {URL: "https://github.com/FDeghy/Iran-v2ray-rules/releases/latest/download/geosite.dat", File: "geosite_IR.dat"}, {URL: "https://github.com/runetfreedom/russia-v2ray-rules-dat/releases/latest/download/geosite.dat", File: "geosite_RU.dat"}, } diff --git a/x-ui.sh b/x-ui.sh index cafceef8e..7d807a2ec 100644 --- a/x-ui.sh +++ b/x-ui.sh @@ -1339,7 +1339,7 @@ update_geofiles() { ;; "IR") dat_files=(geoip_IR geosite_IR) - dat_source="chocolate4u/Iran-v2ray-rules" + dat_source="FDeghy/Iran-v2ray-rules" ;; "RU") dat_files=(geoip_RU geosite_RU) @@ -1404,7 +1404,7 @@ run_geo_update() { update_geo() { echo -e "${green}\t1.${plain} Loyalsoldier (geoip.dat, geosite.dat)" - echo -e "${green}\t2.${plain} chocolate4u (geoip_IR.dat, geosite_IR.dat)" + echo -e "${green}\t2.${plain} FDeghy (geoip_IR.dat, geosite_IR.dat)" echo -e "${green}\t3.${plain} runetfreedom (geoip_RU.dat, geosite_RU.dat)" echo -e "${green}\t4.${plain} All" echo -e "${green}\t0.${plain} Back to Main Menu" @@ -1418,7 +1418,7 @@ update_geo() { run_geo_update "Loyalsoldier datasets" update_geofiles "main" ;; 2) - run_geo_update "chocolate4u datasets" update_geofiles "IR" + run_geo_update "FDeghy datasets" update_geofiles "IR" ;; 3) run_geo_update "runetfreedom datasets" update_geofiles "RU"