diff --git a/domains/0xkogami.json b/domains/0xkogami.json deleted file mode 100644 index 9beaee3415..0000000000 --- a/domains/0xkogami.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "0xkogami", - "email": "wahresna@gmail.com" - }, - "records": { - "CNAME": "0xkogami.github.io" - } -} diff --git a/domains/_120e5dc92a56e028a3fc23eddbb719c4.salman-twin.json b/domains/_120e5dc92a56e028a3fc23eddbb719c4.salman-twin.json deleted file mode 100644 index f00a573784..0000000000 --- a/domains/_120e5dc92a56e028a3fc23eddbb719c4.salman-twin.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "msalmansaeedch786", - "email": "msalmansaeedch786@gmail.com" - }, - "records": { - "CNAME": "_05e4294efa7eaa8cde7911ba080bf692.jkddzztszm.acm-validations.aws" - } -} diff --git a/domains/_discord.cbladeofficial.json b/domains/_discord.cbladeofficial.json deleted file mode 100644 index 53df7f0d65..0000000000 --- a/domains/_discord.cbladeofficial.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "cbladeOfficial", - "email": "cbladeofficial.real@gmail.com" - }, - "records": { - "TXT": "dh=ea6eae6e38d244caf8b070eef9105f586809153e" - } -} diff --git a/domains/_dmarc.francodurand.json b/domains/_dmarc.francodurand.json new file mode 100644 index 0000000000..9a924e1e55 --- /dev/null +++ b/domains/_dmarc.francodurand.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "FrancoDurand", + "email": "francoduve.25@gmail.com" + }, + "records": { + "TXT": "v=DMARC1; p=none;" + } +} \ No newline at end of file diff --git a/domains/_github-pages-challenge-cbladeofficial.cbladeofficial.json b/domains/_github-pages-challenge-cbladeofficial.cbladeofficial.json deleted file mode 100644 index 882d7544df..0000000000 --- a/domains/_github-pages-challenge-cbladeofficial.cbladeofficial.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "cbladeOfficial", - "email": "cbladeofficial.real@gmail.com" - }, - "records": { - "TXT": "9a8e488e4e151501b5983ae1628aff" - } -} diff --git a/domains/_github-pages-challenge-flingo777.flingo.json b/domains/_github-pages-challenge-flingo777.flingo.json deleted file mode 100644 index 7db0916f2d..0000000000 --- a/domains/_github-pages-challenge-flingo777.flingo.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "flingo777", - "email": "flingogod777@gmail.com" - }, - "records": { - "TXT": "319c63f6470fcd7883b24380b7d3e6" - } -} diff --git a/domains/_github-pages-challenge-michaelgyp.miki.json b/domains/_github-pages-challenge-michaelgyp.miki.json deleted file mode 100644 index 3d712ebf54..0000000000 --- a/domains/_github-pages-challenge-michaelgyp.miki.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "owner": { - "username": "michaelgyp", - "email": "michaeladventure080510@gmail.com", - "discord": "michaelgyp" - }, - "records": { - "TXT": "f87eb3e3615aef426f6ba56aa00ff8" - } -} \ No newline at end of file diff --git a/domains/_github-pages-challenge-nikaxe-dev.nikaxe.json b/domains/_github-pages-challenge-nikaxe-dev.nikaxe.json new file mode 100644 index 0000000000..d2d5288c37 --- /dev/null +++ b/domains/_github-pages-challenge-nikaxe-dev.nikaxe.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "Nikaxe-dev", + "email": "nikaxe.public@gmail.com" + }, + "records": { + "TXT": "7689bab78571d46af7c968277cb75f" + } +} diff --git a/domains/_github-pages-challenge-voidenmark.voidenmark.json b/domains/_github-pages-challenge-voidenmark.voidenmark.json deleted file mode 100644 index fa55d54d47..0000000000 --- a/domains/_github-pages-challenge-voidenmark.voidenmark.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "voidenmark", - "email": "cacophonn2@gmail.com" - }, - "records": { - "TXT": "b9338b35c1ad29384bb9dad0290e08" - } -} diff --git a/domains/_vercel.noasimoes.json b/domains/_vercel.noasimoes.json new file mode 100644 index 0000000000..8295aff3fa --- /dev/null +++ b/domains/_vercel.noasimoes.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "noadevbr", + "email": "noadevbr@yahoo.com" + }, + "records": { + "TXT": "vc-domain-verify=noasimoes.is-a.dev,9f138cb9f19ab7fcf936" + } +} diff --git a/domains/_vercel.vinymaker.json b/domains/_vercel.vinymaker.json new file mode 100644 index 0000000000..f1f622a509 --- /dev/null +++ b/domains/_vercel.vinymaker.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "VinyMaker", + "email": "contatovinymaker@gmail.com" + }, + "records": { + "TXT": "vc-domain-verify=vinymaker.is-a.dev,133825b4afe1803abd62" + } +} diff --git a/domains/ajay.json b/domains/ajay.json deleted file mode 100644 index d3a0d1915f..0000000000 --- a/domains/ajay.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "Aj-Cdr", - "email": "ajaysathishpreetha2.0@gmail.com" - }, - "records": { - "URL": "https://ajay.framer.ai/" - } -} diff --git a/domains/anexlbk.json b/domains/anexlbk.json new file mode 100644 index 0000000000..13ba771241 --- /dev/null +++ b/domains/anexlbk.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "anexlbk", + "email": "anaslachmi@gmail.com" + }, + "records": { + "CNAME": "anexlbk.github.io" + } +} diff --git a/domains/arsh.json b/domains/arsh.json deleted file mode 100644 index c42d33482e..0000000000 --- a/domains/arsh.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "harshptl14", - "email": "harshptl714@gmail.com" - }, - "records": { - "CNAME": "arshpatel.me" - } -} diff --git a/domains/carlo.json b/domains/carlo.json deleted file mode 100644 index 873b2e02a6..0000000000 --- a/domains/carlo.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "qvci", - "email": "carloivan2910@gmail.com" - }, - "records": { - "CNAME": "qvci.github.io" - } -} \ No newline at end of file diff --git a/domains/cbladeofficial.json b/domains/cbladeofficial.json deleted file mode 100644 index 217f4dab89..0000000000 --- a/domains/cbladeofficial.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "cbladeOfficial", - "email": "cbladeofficial.real@gmail.com" - }, - "records": { - "CNAME": "cbladeofficial.github.io" - } -} diff --git a/domains/dks3.json b/domains/dks3.json deleted file mode 100644 index b8c49eb50e..0000000000 --- a/domains/dks3.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "owner": { - "username": "dikhyantsatpathy-ui" - }, - "records": { - "CNAME": "portfolio-website-eight-rouge-77.vercel.app" - } -} diff --git a/domains/flingo.json b/domains/flingo.json deleted file mode 100644 index 05bd5988d4..0000000000 --- a/domains/flingo.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "flingo777", - "email": "flingogod777@gmail.com" - }, - "records": { - "A": ["185.199.108.153", "185.199.109.153", "185.199.110.153", "185.199.111.153"] - } -} diff --git a/domains/htcnews.json b/domains/htcnews.json deleted file mode 100644 index e4670a828f..0000000000 --- a/domains/htcnews.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "owner": { - "username": "weblrsolutions" - }, - "records": { - "CNAME": "weblrsolutions.github.io" - } -} \ No newline at end of file diff --git a/domains/igh-scope.json b/domains/igh-scope.json new file mode 100644 index 0000000000..38e73e2ce5 --- /dev/null +++ b/domains/igh-scope.json @@ -0,0 +1,25 @@ +{ + "owner": { + "username": "IGHx", + "email": "igh.scope@gmail.com" + }, + "records": { + "TXT": [ + "v=spf1 include:zohomail.com ~all" + ], + "MX": [ + { + "target": "mx.zoho.com", + "priority": 10 + }, + { + "target": "mx2.zoho.com", + "priority": 20 + }, + { + "target": "mx3.zoho.com", + "priority": 50 + } + ] + } +} diff --git a/domains/ivazuara.json b/domains/ivazuara.json new file mode 100644 index 0000000000..af78f16966 --- /dev/null +++ b/domains/ivazuara.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "ivazuara", + "email": "mi.azuara03@gmail.com" + }, + "records": { + "CNAME": "ivazuara.github.io" + } +} diff --git a/domains/joddabod.json b/domains/joddabod.json deleted file mode 100644 index 5d0a242ead..0000000000 --- a/domains/joddabod.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "owner": { - "username": "joddabodscripts", - "email": "joddabod5@gmail.com" - }, - "proxied": true, - "records": { - "CNAME": "joddabodscripts.github.io", - "MX": [ - "mx1.improvmx.com", - "mx2.improvmx.com" - ], - "TXT": "v=spf1 include:spf.improvmx.com ~all" - } -} diff --git a/domains/joeautomations.json b/domains/joeautomations.json new file mode 100644 index 0000000000..4fc6c9c8ff --- /dev/null +++ b/domains/joeautomations.json @@ -0,0 +1,8 @@ +{ + "owner": { + "username": "Youssefjoe777" + }, + "records": { + "CNAME": "joeautomates.vercel.app" + } +} diff --git a/domains/leemin.json b/domains/leemin.json new file mode 100644 index 0000000000..9fec8fd477 --- /dev/null +++ b/domains/leemin.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "TodTheMatsu", + "email": "gokudollmeanak@gmail.com" + }, + "records": { + "CNAME": "cname.vercel-dns.com" + } +} diff --git a/domains/miki.json b/domains/miki.json deleted file mode 100644 index 9aff0b06d6..0000000000 --- a/domains/miki.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "owner": { - "username": "michaelgyp", - "email": "michaeladventure080510@gmail.com", - "discord": "michaelgyp" - }, - "records": { - "CNAME": "michaelgyp.github.io" - } -} \ No newline at end of file diff --git a/domains/nawabizat.json b/domains/nawabizat.json deleted file mode 100644 index 29dda30e7b..0000000000 --- a/domains/nawabizat.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "bl4ckc4tF1r3", - "email": "nawabizzat59@gmail.com" - }, - "records": { - "CNAME": "bl4ckc4tf1r3.github.io" - } -} diff --git a/domains/neymarsabin.json b/domains/neymarsabin.json deleted file mode 100644 index 3d23d00d8a..0000000000 --- a/domains/neymarsabin.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "neymarsabin", - "email": "sabinnepal345@gmail.com" - }, - "records": { - "CNAME": "neymarsabin.dev" - } -} diff --git a/domains/nikaxe.json b/domains/nikaxe.json index 9e4f2e53de..bbd55033ee 100644 --- a/domains/nikaxe.json +++ b/domains/nikaxe.json @@ -1,7 +1,7 @@ { "owner": { "username": "Nikaxe-dev", - "email": "iamnikaxing@gmail.com" + "email": "nikaxe.public@gmail.com" }, "records": { "CNAME": "nikaxe-dev.github.io" diff --git a/domains/ninsara.json b/domains/ninsara.json deleted file mode 100644 index 111f1f8add..0000000000 --- a/domains/ninsara.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "aveeshaninsara", - "email": "aveeshaninsara14@gmail.com" - }, - "records": { - "CNAME": "aveeshaninsara.github.io" - } -} diff --git a/domains/nisheri-ascar.json b/domains/nisheri-ascar.json deleted file mode 100644 index 01ec0da619..0000000000 --- a/domains/nisheri-ascar.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "nisheri-ascar", - "email": "kertkert704@gmail.com" - }, - "records": { - "CNAME": "nisheri-ascar.github.io" - } -} diff --git a/domains/noasimoes.json b/domains/noasimoes.json new file mode 100644 index 0000000000..8eb952dfd5 --- /dev/null +++ b/domains/noasimoes.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "noadevbr", + "email": "noadevbr@yahoo.com" + }, + "records": { + "A": ["216.198.79.1"] + } +} diff --git a/domains/nyxel.json b/domains/nyxel.json deleted file mode 100644 index a01b0013b4..0000000000 --- a/domains/nyxel.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "NyxelDeveloper", - "email": "nyxel.developer@gmail.com" - }, - "records": { - "CNAME": "nyxeldeveloper.github.io" - } -} diff --git a/domains/omarali.json b/domains/omarali.json new file mode 100644 index 0000000000..599b8c57f0 --- /dev/null +++ b/domains/omarali.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "OmarAliSiad", + "email": "omaraliabdelaziz250@gmail.com" + }, + "records": { + "CNAME": "omaralisiad.github.io" + } +} diff --git a/domains/pranjal.json b/domains/pranjal.json index 621d2e5a5c..389f199515 100644 --- a/domains/pranjal.json +++ b/domains/pranjal.json @@ -1,9 +1,9 @@ { "owner": { "username": "Pranjal-SB", - "email": "psbhatnagar.in@gmal.com" + "email": "psbhatnagar.in@gmail.com" }, "records": { - "CNAME": "pranjal-sb.github.io" + "URL": "https://psbhatnagar.in" } } diff --git a/domains/rain.json b/domains/rain.json deleted file mode 100644 index dce6f76925..0000000000 --- a/domains/rain.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "owner": { - "username": "NINJACLUBREAL", - "email": "bee411769@gmail.com" - }, - "records": { - "A": ["75.2.60.5"] - - }, - "proxied": true -} diff --git a/domains/resend._domainkey.francodurand.json b/domains/resend._domainkey.francodurand.json new file mode 100644 index 0000000000..36b400d7eb --- /dev/null +++ b/domains/resend._domainkey.francodurand.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "FrancoDurand", + "email": "francoduve.25@gmail.com" + }, + "records": { + "TXT": "p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDSgdlRfPZ5K5NIbwfKH5HEl+hPhCo6tQ3eAVzBv/E17lVaFuCNb6UElfYwjUngvqT6q+lRsT+apO+0/DFenyagwd1ocHVMZN2gEgVU3pk08Y3o19IYpNg0a2Scjz7VKV9KN1oXMdTH4kNGhtu64o9tBOE5Nech0gY/clNWN5trhwIDAQAB" + } +} \ No newline at end of file diff --git a/domains/salman-twin.json b/domains/salman-twin.json deleted file mode 100644 index f7fba33f90..0000000000 --- a/domains/salman-twin.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "msalmansaeedch786", - "email": "msalmansaeedch786@gmail.com" - }, - "records": { - "CNAME": "d3v9jw2cinucd.cloudfront.net" - } -} diff --git a/domains/sauraxt.json b/domains/sauraxt.json new file mode 100644 index 0000000000..895bb8e982 --- /dev/null +++ b/domains/sauraxt.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "saurabhstudent990-a11y", + "email": "saurabhstudent990@gmail.com" + }, + "records": { + "CNAME": "sauraxt.netlify.app" + } +} diff --git a/domains/send.francodurand.json b/domains/send.francodurand.json new file mode 100644 index 0000000000..519f2db01c --- /dev/null +++ b/domains/send.francodurand.json @@ -0,0 +1,10 @@ +{ + "owner": { + "username": "FrancoDurand", + "email": "francoduve.25@gmail.com" + }, + "records": { + "MX": ["feedback-smtp.sa-east-1.amazonses.com"], + "TXT": "v=spf1 include:amazonses.com ~all" + } +} \ No newline at end of file diff --git a/domains/shoto.json b/domains/shoto.json deleted file mode 100644 index bdd4a73939..0000000000 --- a/domains/shoto.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "owner": { - "username": "shotosystems", - "email": "shotosystems@icloud.com" - }, - "proxied": true, - "records": { - "CNAME": "www.shoto.dev", - "TXT": [ - "apple-domain=0dyJwiurnRgVXp1C", - "v=spf1 include:icloud.com ~all" - ], - "MX": [ - "mx01.mail.icloud.com", - "mx02.mail.icloud.com" - ] - } -} diff --git a/domains/shriyansh.json b/domains/shriyansh.json deleted file mode 100644 index cb2b2bd5c4..0000000000 --- a/domains/shriyansh.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "owner": { - "username": "notshriyansh", - "email": "shriyansh707@gmail.com" - }, - "records": { - "CNAME": "notshriyansh.github.io" - }, - "proxied": true -} diff --git a/domains/sig1._domainkey.shoto.json b/domains/sig1._domainkey.shoto.json deleted file mode 100644 index 50359ecf28..0000000000 --- a/domains/sig1._domainkey.shoto.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "owner": { - "username": "shotosystems" - }, - "records": { - "CNAME": "sig1.dkim.shoto.is-a.dev.at.icloudmailadmin.com" - } -} diff --git a/domains/thiru.json b/domains/thiru.json deleted file mode 100644 index 23654d5e30..0000000000 --- a/domains/thiru.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "web-thiru", - "email": "murthithiru1910@gmail.com" - }, - "records": { - "URL": "https://thiru-me.web.app/" - } -} diff --git a/domains/vinymaker.json b/domains/vinymaker.json new file mode 100644 index 0000000000..aadc3fd089 --- /dev/null +++ b/domains/vinymaker.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "VinyMaker", + "email": "contatovinymaker@gmail.com" + }, + "records": { + "A": ["216.198.79.1"] + } +} diff --git a/domains/voidenmark.json b/domains/voidenmark.json deleted file mode 100644 index 9a2253ad2b..0000000000 --- a/domains/voidenmark.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "voidenmark", - "email": "cacophonn2@gmail.com" - }, - "records": { - "CNAME": "voidenmark.github.io" - } -} diff --git a/domains/will.json b/domains/will.json new file mode 100644 index 0000000000..340e2bfa92 --- /dev/null +++ b/domains/will.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "wdhdev", + "email": "william@is-a.dev" + }, + "records": { + "URL": "https://wharrison.com.au" + } +} diff --git a/domains/www.vinymaker.json b/domains/www.vinymaker.json new file mode 100644 index 0000000000..282e13513b --- /dev/null +++ b/domains/www.vinymaker.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "VinyMaker", + "email": "contatovinymaker@gmail.com" + }, + "records": { + "CNAME": "fe6b024e6b38623a.vercel-dns-017.com" + } +} diff --git a/util/internal.json b/util/internal.json index de72018644..f93359a931 100644 --- a/util/internal.json +++ b/util/internal.json @@ -1,4 +1,5 @@ [ + "cf-pages", "data", "docs", "ns1", diff --git a/util/raw-api.js b/util/raw-api.js index 32a3962e1c..caa6bd21d5 100644 --- a/util/raw-api.js +++ b/util/raw-api.js @@ -3,54 +3,48 @@ const path = require("path"); const directoryPath = path.join(__dirname, "../domains"); const outputDir = path.join(__dirname, "../raw-api"); +const domainsOutputDir = path.join(outputDir, "v2", "domains"); if (!fs.existsSync(outputDir)) { fs.mkdirSync(outputDir, { recursive: true }); } +if (!fs.existsSync(domainsOutputDir)) { + fs.mkdirSync(domainsOutputDir, { recursive: true }); +} const internal = require(path.join(__dirname, "internal.json")); const reserved = require(path.join(__dirname, "reserved.json")); - const v2 = []; +function writeDomainFile(entry) { + fs.writeFileSync( + path.join(domainsOutputDir, `${entry.subdomain}.json`), + JSON.stringify(entry) + ); +} + for (const subdomain of internal) { - const commonData = { + const entry = { domain: `${subdomain}.is-a.dev`, subdomain: subdomain, - owner: { - username: "is-a-dev" - } - }; - - const records = { - CNAME: "internal.is-a.dev" - }; - - v2.push({ - ...commonData, - records: records, + owner: { username: "is-a-dev" }, + records: { CNAME: "internal.is-a.dev" }, internal: true - }); + }; + v2.push(entry); + writeDomainFile(entry); } for (const subdomain of reserved) { - const commonData = { + const entry = { domain: `${subdomain}.is-a.dev`, subdomain: subdomain, - owner: { - username: "is-a-dev" - } - }; - - const records = { - URL: "https://is-a.dev/reserved" - }; - - v2.push({ - ...commonData, - records: records, + owner: { username: "is-a-dev" }, + records: { URL: "https://is-a.dev/reserved" }, reserved: true - }); + }; + v2.push(entry); + writeDomainFile(entry); } fs.readdir(directoryPath, function (err, files) { @@ -67,31 +61,30 @@ fs.readdir(directoryPath, function (err, files) { const item = JSON.parse(data); const name = path.parse(file).name; - item.domain = name + ".is-a.dev"; + item.domain = `${name}.is-a.dev`; item.subdomain = name; - delete item.owner.email; - let itemV2 = { + const itemV2 = { domain: item.domain, subdomain: item.subdomain, owner: item.owner, records: item.records }; - if (item.redirect_config) itemV2.redirect_config = item.redirect_config; - if (item.proxied) itemV2.proxied = item.proxied; v2.push(itemV2); + writeDomainFile(itemV2); processedCount++; if (processedCount === files.length) { v2.sort((a, b) => a.domain.localeCompare(b.subdomain)); - - fs.writeFile("raw-api/v2.json", JSON.stringify(v2), (err) => { - if (err) throw err; - }); + fs.writeFile( + path.join(outputDir, "v2.json"), + JSON.stringify(v2), + (err) => { if (err) throw err; } + ); } }); });