From 9754b03546961d03066299a116381e8f11347827 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=8A=E6=99=9A=E6=89=93=E8=80=81=E8=99=8E?= Date: Thu, 9 Apr 2026 06:09:16 +0800 Subject: [PATCH 1/2] =?UTF-8?q?[=E6=8A=95=E7=A8=BF]=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E8=84=9A=E6=9C=AC:=20vpn=20=E2=80=94=20by=20Vi=E1=BB=83n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script_library/scripts/ui/vpn_mnqlott7.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 script_library/scripts/ui/vpn_mnqlott7.py diff --git a/script_library/scripts/ui/vpn_mnqlott7.py b/script_library/scripts/ui/vpn_mnqlott7.py new file mode 100644 index 0000000..52874f0 --- /dev/null +++ b/script_library/scripts/ui/vpn_mnqlott7.py @@ -0,0 +1,18 @@ +import requests +import base64 +from urllib.parse import quote + +def fetch_and_generate_vmess(): + data = requests.get("https://fastconn.github.io/v/servers.json").json() + + u = data["cfgs"]["vmess"]["a"]["u"] + pt = data["cfgs"]["vmess"]["a"]["pt"] + + for item in data["l"]: + for server in item.get("servers", []) + item.get("vip-bak", []): + if server.get("ip") and server.get("city"): + vmess_b64 = base64.b64encode(f"auto:{u}@{server['ip']}:{pt}".encode()).decode() + print(f"vmess://{vmess_b64}?remarks={quote(server['city'])}&allowInsecure=1&alterId=1") + +if __name__ == "__main__": + fetch_and_generate_vmess() \ No newline at end of file From 12bfa4752f1d628f4a68e2b0b23db5adc44fb16f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=8A=E6=99=9A=E6=89=93=E8=80=81=E8=99=8E?= Date: Thu, 9 Apr 2026 06:09:18 +0800 Subject: [PATCH 2/2] =?UTF-8?q?[=E6=8A=95=E7=A8=BF]=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=20index.json:=20=E6=B7=BB=E5=8A=A0=20vpn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script_library/index.json | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/script_library/index.json b/script_library/index.json index d9c7e16..36bcf32 100644 --- a/script_library/index.json +++ b/script_library/index.json @@ -1,7 +1,7 @@ { "format_version": 1, - "data_version": 85, - "updated": "2026-04-07T16:37:23Z", + "data_version": 86, + "updated": "2026-04-08T22:09:17.767Z", "announcement": null, "categories": [ { @@ -1421,6 +1421,29 @@ "updated": null, "status": "active", "lines": 29 + }, + { + "id": "vpn_mnqlott7", + "name": "vpn", + "name_en": "vpn", + "desc": "Proxy", + "desc_en": "Proxy", + "category": "ui", + "file": "scripts/ui/vpn_mnqlott7.py", + "thumbnail": null, + "version": 1, + "file_type": "py", + "author": "Viển", + "author_en": "Viển", + "tags": [ + "community" + ], + "requires": [], + "min_app_version": "1.5.0", + "added": "2026-04-08", + "updated": null, + "status": "active", + "lines": 18 } ] }