From ed233709ca26936088c61622d33e5ee01ee58ae4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=90=E6=AE=87?= <95160953+xishang0128@users.noreply.github.com> Date: Mon, 10 Apr 2023 17:10:35 +0800 Subject: [PATCH 1/4] Update run.yml --- .github/workflows/run.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index f3da296ed4..5530ef76b8 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -62,7 +62,7 @@ jobs: - name: Get geoip.dat relative files run: | - wget -O cn.dat https://github.com/xishang0128/geoip/raw/release/geoip.dat + wget -O geoip-lite.dat https://github.com/xishang0128/geoip/raw/release/geoip.dat wget https://github.com/Loyalsoldier/geoip/raw/release/geoip.dat - name: Generate GFWList domains @@ -228,14 +228,14 @@ jobs: repository: SagerNet/sing-geoip path: sing-geoip - - name: Build geoip.db file + - name: Build geoip-lite.db file env: NO_SKIP: true run: | cd sing-geoip || exit 1 sed -i 's/Dreamacro\/maxmind-geoip/xishang0128\/geoip/g' main.go go run -v . - mv geoip.db cn.db + mv geoip.db geoip-lite.db - name: Build geoip.db env: @@ -250,14 +250,14 @@ jobs: mkdir -p ./publish/ wget https://raw.githubusercontent.com/xishang0128/geoip/release/Country.mmdb -O ./publish/cn.mmdb wget https://raw.githubusercontent.com/Loyalsoldier/geoip/release/Country.mmdb -O ./publish/country.mmdb - install -Dp ./cn.dat ./publish/ + install -Dp ./geoip-lite.dat ./publish/ install -Dp ./geoip.dat ./publish/ install -Dp ./custom/publish/geosite.dat ./publish/ install -Dp ./sing-geosite/geosite.db ./publish/ install -Dp ./community/geosite-lite.dat ./publish/ install -Dp ./sing-geosite/geosite-lite.db ./publish/ install -Dp ./sing-geoip/geoip.db ./publish/ - install -Dp ./sing-geoip/cn.db ./publish/ + install -Dp ./sing-geoip/geoip-lite.db ./publish/ curl -sSL https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/ChinaMax/ChinaMax_Domain.yaml | sed '/^\s*#/d' > ./publish/cn_domain.yaml curl -sSL https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Proxy/Proxy_Domain.yaml | sed '/^\s*#/d' > ./publish/proxy.yaml cd ./publish || exit 1 From 1a82656b4b180ae8b62ef8caac1f9f28e74f0aac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=90=E6=AE=87?= <95160953+xishang0128@users.noreply.github.com> Date: Mon, 10 Apr 2023 17:11:32 +0800 Subject: [PATCH 2/4] Update README.md --- README.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 26df03781d..dc42d8abba 100644 --- a/README.md +++ b/README.md @@ -15,20 +15,20 @@ - [JSdelivr](https://cdn.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geoip.db) - [JSdelivr-CF](https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geoip.db) -- **cn.mmdb** - - [Github release](https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/cn.mmdb) - - [JSdelivr](https://cdn.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/cn.mmdb) - - [JSdelivr-CF](https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/cn.mmdb) +- **geoip-lite.mmdb** + - [Github release](https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip-lite.mmdb) + - [JSdelivr](https://cdn.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geoip-lite.mmdb) + - [JSdelivr-CF](https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geoip-lite.mmdb) -- **cn.dat** - - [Github release](https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/cn.dat) - - [JSdelivr](https://cdn.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/cn.dat) - - [JSdelivr-CF](https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/cn.dat) +- **geoip-lite.dat** + - [Github release](https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip-lite.dat) + - [JSdelivr](https://cdn.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geoip-lite.dat) + - [JSdelivr-CF](https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geoip-lite.dat) -- **cn.db** - - [Github release](https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/cn.db) - - [JSdelivr](https://cdn.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/cn.db) - - [JSdelivr-CF](https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/cn.db) +- **geoip-lite.db** + - [Github release](https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip-lite.db) + - [JSdelivr](https://cdn.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geoip-lite.db) + - [JSdelivr-CF](https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geoip-lite.db) - **geosite.dat** - [Github release](https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geosite.dat) @@ -64,9 +64,9 @@ - `geoip:telegram` - `geoip:twitter` -## **cn.mmdb,cn.dat,cn.db 内容** +## **geoip-lite.mmdb,geoip-lite.dat,geoip-lite.db 内容** -国家仅包含CN,精简体积,替换一些类别 +国家仅包含CN/JP,精简体积,替换一些类别 - 新增类别(方便有特殊需求的用户使用): - `geoip:cloudflare` - `geoip:cloudfront` From 16ee0a7be052b422bca7521defc9a316afa6a8fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=90=E6=AE=87?= <95160953+xishang0128@users.noreply.github.com> Date: Mon, 10 Apr 2023 17:15:00 +0800 Subject: [PATCH 3/4] Update run.yml --- .github/workflows/run.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index 5530ef76b8..2899996dea 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -248,7 +248,7 @@ jobs: - name: Move and zip files run: | mkdir -p ./publish/ - wget https://raw.githubusercontent.com/xishang0128/geoip/release/Country.mmdb -O ./publish/cn.mmdb + wget https://raw.githubusercontent.com/xishang0128/geoip/release/Country.mmdb -O ./publish/country-lite.mmdb wget https://raw.githubusercontent.com/Loyalsoldier/geoip/release/Country.mmdb -O ./publish/country.mmdb install -Dp ./geoip-lite.dat ./publish/ install -Dp ./geoip.dat ./publish/ From 555093d47244f195a999bd0a652fa91a34d434aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=90=E6=AE=87?= <95160953+xishang0128@users.noreply.github.com> Date: Mon, 10 Apr 2023 17:16:55 +0800 Subject: [PATCH 4/4] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index dc42d8abba..11a3681eff 100644 --- a/README.md +++ b/README.md @@ -15,10 +15,10 @@ - [JSdelivr](https://cdn.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geoip.db) - [JSdelivr-CF](https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geoip.db) -- **geoip-lite.mmdb** - - [Github release](https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip-lite.mmdb) - - [JSdelivr](https://cdn.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geoip-lite.mmdb) - - [JSdelivr-CF](https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geoip-lite.mmdb) +- **country-lite.mmdb** + - [Github release](https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/country-lite.mmdb) + - [JSdelivr](https://cdn.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/country-lite.mmdb) + - [JSdelivr-CF](https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/country-lite.mmdb) - **geoip-lite.dat** - [Github release](https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip-lite.dat)