From 1b32ad4b6ff1cd1619357601d0f979f9620ef374 Mon Sep 17 00:00:00 2001 From: Rekryt Date: Wed, 4 Sep 2024 16:42:38 +0300 Subject: [PATCH] docs: new output formats Dnsmasq nfset and ipset, ClashX, Keenetic KVAS --- README.en.md | 13 +++++++++++++ README.md | 15 ++++++++++++++- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/README.en.md b/README.en.md index 09eca9d..5434c1e 100644 --- a/README.en.md +++ b/README.en.md @@ -18,6 +18,19 @@ Demo URL: [https://iplist.opencck.org](https://iplist.opencck.org) - **PHP 8.1+ (amphp, revolt)** - **whois, ipcalc (Linux utilities)** +# Formats of Output +| format | description | +|----------|-----------------------| +| json | JSON format | +| text | Newline-separated | +| comma | Comma-separated | +| mikrotik | MikroTik Script | +| switchy | SwitchyOmega RuleList | +| nfset | Dnsmasq nfset | +| ipset | Dnsmasq ipset | +| clashx | ClashX | +| kvas | Keenetic KVAS | + ## Configuration Configuration files are stored in the `config` directory. Each JSON file represents a configuration for a specific portal, defining the domains to monitor and the sources of initial data for IP and CIDR. diff --git a/README.md b/README.md index 046ee18..9af1a6e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -### IP Address Collection and Management Service for Mikrotik RouterOS Script, JSON or Text Format +### IP Address Collection and Management Service with multiple formats For english readme: [README.en.md](README.en.md) Demo URL: [https://iplist.opencck.org](https://iplist.opencck.org) @@ -21,6 +21,19 @@ Demo URL: [https://iplist.opencck.org](https://iplist.opencck.org) - PHP 8.1+ (amphp, revolt) - whois, ipcalc (linux) +# Форматы выгрузки +| format | description | +|----------|--------------------------| +| json | JSON формат | +| text | Разделение новой строкой | +| comma | Разделение запятыми | +| mikrotik | MikroTik Script | +| switchy | SwitchyOmega RuleList | +| nfset | Dnsmasq nfset | +| ipset | Dnsmasq ipset | +| clashx | ClashX | +| kvas | Keenetic KVAS | + ## Настройки Конфигурационные файлы хранятся в директории `config`. Каждый JSON файл представляет собой конфигурацию для конкретного портала, задавая домены для мониторинга и источники начальных данных по IP и CIDR. ```json