diff --git a/clone_repos.py b/clone_repos.py index 92eda7d..11184f3 100644 --- a/clone_repos.py +++ b/clone_repos.py @@ -3,58 +3,18 @@ import shutil import subprocess import re import requests +import json -repos = [ - "https://github.com/DziruModules/hikkamods", - "https://github.com/kamolgks/Hikkamods", - "https://github.com/thomasmod/hikkamods", - "https://github.com/SkillsAngels/Modules", - "https://github.com/Sad0ff/modules-ftg", - "https://github.com/Yahikoro/Modules-for-FTG", - "https://github.com/KeyZenD/modules", - "https://github.com/AlpacaGang/ftg-modules", - "https://github.com/trololo65/Modules", - "https://github.com/Ijidishurka/modules", - "https://github.com/Fl1yd/FTG-Modules", - "https://github.com/D4n13l3k00/FTG-Modules", - "https://github.com/iamnalinor/FTG-modules", - "https://github.com/SekaiYoneya/modules", - "https://github.com/GeekTG/FTG-Modules", - "https://github.com/Den4ikSuperOstryyPer4ik/Astro-modules", - "https://github.com/vsecoder/hikka_modules", - "https://github.com/sqlmerr/hikka_mods", - "https://github.com/N3rcy/modules", - "https://github.com/KorenbZla/HikkaModules", - "https://github.com/MuRuLOSE/HikkaModulesRepo", - "https://github.com/coddrago/modules", - "https://github.com/1jpshiro/hikka-modules", - "https://github.com/MoriSummerz/ftg-mods", - "https://github.com/anon97945/hikka-mods", - "https://github.com/dorotorothequickend/DorotoroModules", - "https://github.com/AmoreForever/amoremods", - "https://github.com/idiotcoders/idiotmodules", - "https://github.com/CakesTwix/Hikka-Modules", - "https://github.com/archquise/H.Modules", - "https://github.com/GD-alt/mm-hikka-mods", - "https://github.com/HitaloSama/FTG-modules-repo", - "https://github.com/SekaiYoneya/Friendly-telegram", - "https://github.com/blazedzn/ftg-modules", - "https://github.com/hikariatama/ftg", - "https://github.com/m4xx1m/FTG", - "https://github.com/skillzmeow/skillzmods_hikka", - "https://github.com/fajox1/famods", - "https://github.com/unneyon/hikka-mods", - "https://github.com/TheKsenon/MyHikkaModules", - "https://github.com/cryptexctl/modules-mirror", - "https://github.com/Ruslan-Isaev/modules", - "https://github.com/shadowhikka/sh.modules", - "https://github.com/fiksofficial/python-modules", - "https://github.com/mead0wsss/mead0wsMods", - "https://github.com/SenkoGuardian/SenModules", - "https://github.com/ZetGoHack/nullmod", - "https://github.com/yummy1gay/limoka" - -] +def parse_repos(file_path: str) -> list: + """Parse repository URLs from a given json file.""" + repos = [] + with open(file_path, "r", encoding="utf-8") as f: + data = json.load(f) + for repo in data.get("repositories", []): + repos.append(repo["url"]) + return repos + +repos = parse_repos("repositories.json") def configure_git(): """Configure Git to ignore file mode changes.""" diff --git a/repositories.json b/repositories.json new file mode 100644 index 0000000..b377179 --- /dev/null +++ b/repositories.json @@ -0,0 +1,192 @@ +{ + "repositories": [ + { + "url": "https://github.com/DziruModules/hikkamods", + "tags": [] + }, + { + "url": "https://github.com/kamolgks/Hikkamods", + "tags": [] + }, + { + "url": "https://github.com/thomasmod/hikkamods", + "tags": [] + }, + { + "url": "https://github.com/SkillsAngels/Modules", + "tags": [] + }, + { + "url": "https://github.com/Sad0ff/modules-ftg", + "tags": [] + }, + { + "url": "https://github.com/Yahikoro/Modules-for-FTG", + "tags": [] + }, + { + "url": "https://github.com/KeyZenD/modules", + "tags": [] + }, + { + "url": "https://github.com/AlpacaGang/ftg-modules", + "tags": [] + }, + { + "url": "https://github.com/trololo65/Modules", + "tags": [] + }, + { + "url": "https://github.com/Ijidishurka/modules", + "tags": [] + }, + { + "url": "https://github.com/Fl1yd/FTG-Modules", + "tags": [] + }, + { + "url": "https://github.com/D4n13l3k00/FTG-Modules", + "tags": [] + }, + { + "url": "https://github.com/iamnalinor/FTG-modules", + "tags": ["hikkatrusted", "nonactive"] + }, + { + "url": "https://github.com/SekaiYoneya/modules", + "tags": [] + }, + { + "url": "https://github.com/GeekTG/FTG-Modules", + "tags": [] + }, + { + "url": "https://github.com/Den4ikSuperOstryyPer4ik/Astro-modules", + "tags": ["hikkatrusted", "herokutrusted"] + }, + { + "url": "https://github.com/vsecoder/hikka_modules", + "tags": ["hikkatrusted", "herokutrusted"] + }, + { + "url": "https://github.com/sqlmerr/hikka_mods", + "tags": ["hikkatrusted", "herokutrusted"] + }, + { + "url": "https://github.com/N3rcy/modules", + "tags": ["hikkatrusted", "herokutrusted"] + }, + { + "url": "https://github.com/KorenbZla/HikkaModules", + "tags": ["hikkatrusted", "herokutrusted"] + }, + { + "url": "https://github.com/MuRuLOSE/HikkaModulesRepo", + "tags": [] + }, + { + "url": "https://github.com/coddrago/modules", + "tags": ["herokutrusted", "hikkatrusted"] + }, + { + "url": "https://github.com/1jpshiro/hikka-modules", + "tags": [] + }, + { + "url": "https://github.com/MoriSummerz/ftg-mods", + "tags": ["hikkatrusted", "nonactive"] + }, + { + "url": "https://github.com/anon97945/hikka-mods", + "tags": ["hikkatrusted", "nonactive"] + }, + { + "url": "https://github.com/dorotorothequickend/DorotoroModules", + "tags": ["hikkatrusted", "nonlongermaintained"] + }, + { + "url": "https://github.com/AmoreForever/amoremods", + "tags": [] + }, + { + "url": "https://github.com/idiotcoders/idiotmodules", + "tags": ["hikkatrusted", "herokutrusted", "nonactive"] + }, + { + "url": "https://github.com/CakesTwix/Hikka-Modules", + "tags": ["hikkatrusted", "nonactive"] + }, + { + "url": "https://github.com/archquise/H.Modules", + "tags": ["hikkatrusted", "nonactive"] + }, + { + "url": "https://github.com/GD-alt/mm-hikka-mods", + "tags": ["hikkatrusted", "herokutrusted", "nonactive"] + }, + { + "url": "https://github.com/HitaloSama/FTG-modules-repo", + "tags": [] + }, + { + "url": "https://github.com/SekaiYoneya/Friendly-telegram", + "tags": [] + }, + { + "url": "https://github.com/blazedzn/ftg-modules", + "tags": [] + }, + { + "url": "https://github.com/hikariatama/ftg", + "tags": ["hikkatrusted", "nonactive"] + }, + { + "url": "https://github.com/m4xx1m/FTG", + "tags": [] + }, + { + "url": "https://github.com/skillzmeow/skillzmods_hikka", + "tags": [] + }, + { + "url": "https://github.com/fajox1/famods", + "tags": ["hikkatrusted", "herokutrusted"] + }, + { + "url": "https://github.com/TheKsenon/MyHikkaModules", + "tags": ["hikkatrusted", "herokutrusted"] + }, + { + "url": "https://github.com/cryptexctl/modules-mirror", + "tags": [] + }, + { + "url": "https://github.com/Ruslan-Isaev/modules", + "tags": ["herokutrusted"] + }, + { + "url": "https://github.com/shadowhikka/sh.modules", + "tags": [] + }, + { + "url": "https://github.com/fiksofficial/python-modules", + "tags": ["herokutrusted"] + }, + { + "url": "https://github.com/mead0wsss/mead0wsMods", + "tags": ["herokutrusted"] + }, + { + "url": "https://github.com/SenkoGuardian/SenModules", + "tags": ["herokutrusted"] + }, + { + "url": "https://github.com/ZetGoHack/nullmod", + "tags": ["herokutrusted"] + }, + { + "url": "https://github.com/yummy1gay/limoka", + "tags": [] + } + ] +} \ No newline at end of file