From 9075f2a180e9d13b5bce71cd4e9134ff98a6b51c Mon Sep 17 00:00:00 2001 From: Jesgran <83729533+Jesgran@users.noreply.github.com> Date: Thu, 10 Apr 2025 10:36:27 +0200 Subject: [PATCH 01/15] Create _discord.jes.is-a.dev --- domains/_discord.jes.is-a.dev | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 domains/_discord.jes.is-a.dev diff --git a/domains/_discord.jes.is-a.dev b/domains/_discord.jes.is-a.dev new file mode 100644 index 000000000..9ee8137b9 --- /dev/null +++ b/domains/_discord.jes.is-a.dev @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "Jesgran", + "email": "calzdani20@libero.it" + }, + "record": { + "TXT": "dh=4b2e5de25234f6ff12194b5a3c98ff0b5edea64e" + } +} From 77b48a7596c70ce7711b2f1e5c62ab2ef97732c6 Mon Sep 17 00:00:00 2001 From: Jesgran <83729533+Jesgran@users.noreply.github.com> Date: Thu, 10 Apr 2025 10:45:13 +0200 Subject: [PATCH 02/15] Rename _discord.jes.is-a.dev to _discord.jes.json --- domains/{_discord.jes.is-a.dev => _discord.jes.json} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename domains/{_discord.jes.is-a.dev => _discord.jes.json} (100%) diff --git a/domains/_discord.jes.is-a.dev b/domains/_discord.jes.json similarity index 100% rename from domains/_discord.jes.is-a.dev rename to domains/_discord.jes.json From 669c0628d266dbe030d5e6e73b55c5d5648f9d88 Mon Sep 17 00:00:00 2001 From: VoidKeishi <118616093+VoidKeishi@users.noreply.github.com> Date: Thu, 10 Apr 2025 17:09:28 +0700 Subject: [PATCH 03/15] Create _github-pages-challenge-voidkeishi.keishi.json For verifying page --- domains/_github-pages-challenge-voidkeishi.keishi.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 domains/_github-pages-challenge-voidkeishi.keishi.json diff --git a/domains/_github-pages-challenge-voidkeishi.keishi.json b/domains/_github-pages-challenge-voidkeishi.keishi.json new file mode 100644 index 000000000..115aae60e --- /dev/null +++ b/domains/_github-pages-challenge-voidkeishi.keishi.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "VoidKeishi", + "email": "phananha4@gmail.com" + }, + "record": { + "TXT": "24873b574f17ea257bd32d1f505781" + } +} From c95ac4a15fed53b5646c51f2291a270afde3ec66 Mon Sep 17 00:00:00 2001 From: Alora Mia Date: Thu, 10 Apr 2025 21:57:21 +0900 Subject: [PATCH 04/15] Update _vercel.alora.json --- domains/_vercel.alora.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/domains/_vercel.alora.json b/domains/_vercel.alora.json index 87384fd58..2b03d12c0 100644 --- a/domains/_vercel.alora.json +++ b/domains/_vercel.alora.json @@ -9,7 +9,8 @@ "vc-domain-verify=drive.alora.is-a.dev,395400702612ae6db6a8", "vc-domain-verify=profile.alora.is-a.dev,71bd18cc5db61dc75f91", "vc-domain-verify=blog.alora.is-a.dev,39b11f87634c4710b9ab", - "vc-domain-verify=verify.alora.is-a.dev,df9b78e72bc7a2889bc8" + "vc-domain-verify=verify.alora.is-a.dev,df9b78e72bc7a2889bc8", + "vc-domain-verify=share.alora.is-a.dev,abbc2694ca2401b3a842" ] } } From 3b72726445144789c21e0ac90f6ef0289004e6a0 Mon Sep 17 00:00:00 2001 From: Alora Mia Date: Thu, 10 Apr 2025 21:59:38 +0900 Subject: [PATCH 05/15] Create share.alora.json --- share.alora.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 share.alora.json diff --git a/share.alora.json b/share.alora.json new file mode 100644 index 000000000..6eeb74d82 --- /dev/null +++ b/share.alora.json @@ -0,0 +1,11 @@ +{ + "description": "An open-source file sharing application with a cyberpunk dystopian interface. Built with Next.js, Supabase, and Tailwind CSS.", + "repo": "https://github.com/aloramiaa/fileshare", + "owner": { + "username": "aloramiaa", + "email": "xaloramia@gmail.com" + }, + "record": { + "CNAME": "fileshare-snowy.vercel.app" + } +} From 56df4e064aa0f32570e7a10a6fc9d5ac8f926f35 Mon Sep 17 00:00:00 2001 From: Alora Mia Date: Thu, 10 Apr 2025 22:01:29 +0900 Subject: [PATCH 06/15] Rename share.alora.json to domains/share.alora.json --- share.alora.json => domains/share.alora.json | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename share.alora.json => domains/share.alora.json (100%) diff --git a/share.alora.json b/domains/share.alora.json similarity index 100% rename from share.alora.json rename to domains/share.alora.json From 00108da52dbdaa1a6f52df69c8a07699df7fa911 Mon Sep 17 00:00:00 2001 From: thanhnhan <114273751+imnotnahn@users.noreply.github.com> Date: Thu, 10 Apr 2025 21:02:54 +0700 Subject: [PATCH 07/15] Update imnahn.json --- domains/imnahn.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domains/imnahn.json b/domains/imnahn.json index 4b3764ee7..af5d48131 100644 --- a/domains/imnahn.json +++ b/domains/imnahn.json @@ -7,6 +7,6 @@ "discord": "nowim.nhan" }, "record": { - "CNAME": "myportfolio-omega-liard.vercel.app" + "CNAME": "myportfolio-2y4.pages.dev" } } From 84a6facf49e46534e3d7fd4c074bfa7dcbf569d5 Mon Sep 17 00:00:00 2001 From: lhycerie <141345496+lhycerie@users.noreply.github.com> Date: Thu, 10 Apr 2025 23:17:44 +0800 Subject: [PATCH 08/15] Create lhycerie.json --- domains/lhycerie.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 domains/lhycerie.json diff --git a/domains/lhycerie.json b/domains/lhycerie.json new file mode 100644 index 000000000..b38d10278 --- /dev/null +++ b/domains/lhycerie.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "lhycerie", + "email": "lhycerie@gmail.com" + }, + "record": { + "CNAME": "lhycerie.github.io" + } +} From 37d8998f45cbae846b0fb69371719a8a7b989860 Mon Sep 17 00:00:00 2001 From: Tachibana Shin Date: Thu, 10 Apr 2025 22:25:11 +0700 Subject: [PATCH 09/15] Email forward --- domains/shin.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 domains/shin.json diff --git a/domains/shin.json b/domains/shin.json new file mode 100644 index 000000000..eecde04a7 --- /dev/null +++ b/domains/shin.json @@ -0,0 +1,15 @@ +{ + "description": "Email forward Tachibana Shin (@tachib_shin)", + "owner": { + "username": "tachibana-shin", + "email": "", + "twitter": "tachib_shin" + }, + "record": { + "MX": [ + "mx1.forwardemail.net", + "mx2.forwardemail.net" + ], + "TXT": "forward-email=tachibshin@duck.com" + } +} From acdb1377670b72bd6b98166d02c2ad4e03917a02 Mon Sep 17 00:00:00 2001 From: Drew <84212701+MrDiamondDog@users.noreply.github.com> Date: Thu, 10 Apr 2025 10:09:30 -0600 Subject: [PATCH 10/15] Update _minecraft._tcp.mrdiamond.json --- domains/_minecraft._tcp.mrdiamond.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/domains/_minecraft._tcp.mrdiamond.json b/domains/_minecraft._tcp.mrdiamond.json index 56d1464da..84b29ef49 100644 --- a/domains/_minecraft._tcp.mrdiamond.json +++ b/domains/_minecraft._tcp.mrdiamond.json @@ -9,9 +9,8 @@ "priority": 0, "weight": 5, "port": 28225, - "target": "mrdiamond.is-a.dev" + "target": "129.146.51.207" } - ], - "A": ["129.146.51.207"] + ] } } From 253c3da8ac04808b4b995a4002490a1b333d6393 Mon Sep 17 00:00:00 2001 From: Drew <84212701+MrDiamondDog@users.noreply.github.com> Date: Thu, 10 Apr 2025 10:24:39 -0600 Subject: [PATCH 11/15] Create minecraft.mrdiamond.json --- domains/minecraft.mrdiamond.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 domains/minecraft.mrdiamond.json diff --git a/domains/minecraft.mrdiamond.json b/domains/minecraft.mrdiamond.json new file mode 100644 index 000000000..2b3226de6 --- /dev/null +++ b/domains/minecraft.mrdiamond.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "MrDiamondDog", + "email": "drewratner27@gmail.com" + }, + "record": { + "A": "129.146.51.207" + } +} From 22be0ae1f0d174d6faaf2136f3ce724bb233f014 Mon Sep 17 00:00:00 2001 From: Drew <84212701+MrDiamondDog@users.noreply.github.com> Date: Thu, 10 Apr 2025 10:25:05 -0600 Subject: [PATCH 12/15] Update _minecraft._tcp.mrdiamond.json --- domains/_minecraft._tcp.mrdiamond.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domains/_minecraft._tcp.mrdiamond.json b/domains/_minecraft._tcp.mrdiamond.json index 84b29ef49..54e8979fe 100644 --- a/domains/_minecraft._tcp.mrdiamond.json +++ b/domains/_minecraft._tcp.mrdiamond.json @@ -9,7 +9,7 @@ "priority": 0, "weight": 5, "port": 28225, - "target": "129.146.51.207" + "target": "minecraft.mrdiamond.is-a.dev" } ] } From 4cbc5ff557c1be48d9b0a349c2c3bdf979bf978b Mon Sep 17 00:00:00 2001 From: Drew <84212701+MrDiamondDog@users.noreply.github.com> Date: Thu, 10 Apr 2025 10:25:55 -0600 Subject: [PATCH 13/15] Update minecraft.mrdiamond.json --- domains/minecraft.mrdiamond.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domains/minecraft.mrdiamond.json b/domains/minecraft.mrdiamond.json index 2b3226de6..c5a4758b6 100644 --- a/domains/minecraft.mrdiamond.json +++ b/domains/minecraft.mrdiamond.json @@ -4,6 +4,6 @@ "email": "drewratner27@gmail.com" }, "record": { - "A": "129.146.51.207" + "A": ["129.146.51.207"] } } From d68515ed8bcbcdd149960eaa1558754b438cf95b Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 11 Apr 2025 11:00:26 +0800 Subject: [PATCH 14/15] Delete domains/register-bot.json --- domains/register-bot.json | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 domains/register-bot.json diff --git a/domains/register-bot.json b/domains/register-bot.json deleted file mode 100644 index c1ee8caa7..000000000 --- a/domains/register-bot.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "owner": { - "username": "is-a-dev", - "email": "admin@is-a.dev" - }, - "record": { - "CNAME": "wdh.app" - }, - "proxied": true -} From bdc42a95a8e070baddc3f5543e8369f25b581d8b Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 11 Apr 2025 11:23:10 +0800 Subject: [PATCH 15/15] chore(ci): fix duplicate keys test --- tests/json.test.js | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/tests/json.test.js b/tests/json.test.js index 1b40b75d5..2ebd3bace 100644 --- a/tests/json.test.js +++ b/tests/json.test.js @@ -36,20 +36,30 @@ const domainsPath = path.resolve("domains"); const files = fs.readdirSync(domainsPath); function findDuplicateKeys(jsonString) { - const keyPattern = /"([^"]+)"(?=\s*:)/g; - const keys = []; - let match; + const duplicateKeys = []; - while ((match = keyPattern.exec(jsonString)) !== null) { - keys.push(match[1]); - } + const stack = []; - const keyCount = {}; - keys.forEach((key) => { - keyCount[key] = (keyCount[key] || 0) + 1; + const obj = JSON.parse(jsonString, (key, value) => { + if (typeof key === "string") { + const current = stack[stack.length - 1]; + if (current) { + if (current[key]) { + duplicateKeys.push(key); + } else { + current[key] = true; + } + } + } + + if (typeof value === "object" && value !== null) { + stack.push({}); + } + + return value; }); - return Object.keys(keyCount).filter((key) => keyCount[key] > 1); + return [...new Set(duplicateKeys)]; } async function validateFields(t, obj, fields, file, prefix = "") {