diff --git a/domains/_github-pages-challenge-defpythoncoder.python-coder.json b/domains/_github-pages-challenge-defpythoncoder.python-coder.json new file mode 100644 index 0000000000..1a76fb8a86 --- /dev/null +++ b/domains/_github-pages-challenge-defpythoncoder.python-coder.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "defPythonCoder", + "discord": "pyth0ncoder" + }, + "records": { + "TXT": "d26c73a6ed3e3de80e7d851b5170c5" + } +} diff --git a/domains/_github-pages-challenge-justinianus2001.justinianus.json b/domains/_github-pages-challenge-justinianus2001.justinianus.json new file mode 100644 index 0000000000..a5caafffea --- /dev/null +++ b/domains/_github-pages-challenge-justinianus2001.justinianus.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "Justinianus2001", + "email": "lengochoang681@gmail.com" + }, + "records": { + "TXT": "162018c708ec9cc18a08e5bec4453f" + } +} \ No newline at end of file diff --git a/domains/_vercel.ameya.json b/domains/_vercel.ameya.json new file mode 100644 index 0000000000..386c65cab1 --- /dev/null +++ b/domains/_vercel.ameya.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "ameya051", + "email": "ameyshri051@gmail.com" + }, + "records": { + "TXT": "vc-domain-verify=ameya.is-a.dev,7c2ae8e962ac3a309cf9" + } +} diff --git a/domains/_vercel.samuel.json b/domains/_vercel.samuel.json new file mode 100644 index 0000000000..a1d91d3925 --- /dev/null +++ b/domains/_vercel.samuel.json @@ -0,0 +1,10 @@ +{ + "description": "Samuel portfolio website", + "owner": { + "username": "Orpheros", + "instagram": "astrielmaria" + }, + "records": { + "TXT": "vc-domain-verify=samuel.is-a.dev,520fdd6a60c47a735da5" + } +} diff --git a/domains/_vercel.srikar.json b/domains/_vercel.srikar.json new file mode 100644 index 0000000000..5ad6e4fc01 --- /dev/null +++ b/domains/_vercel.srikar.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "Mystery-Coder", + "email": "srikar0811@gmail.com" + }, + "records": { + "TXT": "vc-domain-verify=srikar.is-a.dev,f161c6b32914a02a7a61" + } +} diff --git a/domains/_vercel.stringhost.json b/domains/_vercel.stringhost.json new file mode 100644 index 0000000000..1f2e9d53a6 --- /dev/null +++ b/domains/_vercel.stringhost.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "StrinGhost", + "email": "stringhost.local@gmail.com" + }, + "records": { + "TXT": "vc-domain-verify=stringhost.is-a.dev,13ec6a0c66832fbd5d68" + } +} \ No newline at end of file diff --git a/domains/alex-luehm.json b/domains/alex-luehm.json new file mode 100644 index 0000000000..acc866adc7 --- /dev/null +++ b/domains/alex-luehm.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "Luehm", + "email": "alex+is-a-dev@luehm.com" + }, + "records": { + "URL": "https://luehm.com" + } +} diff --git a/domains/alexravenna.json b/domains/alexravenna.json new file mode 100644 index 0000000000..9cb08486f0 --- /dev/null +++ b/domains/alexravenna.json @@ -0,0 +1,11 @@ +{ + "description": "My personal website", + "repo": "https://github.com/alexravenna/alexravenna.github.io", + "owner": { + "username": "alexravenna", + "email": "alex.n.ravenna@gmail.com" + }, + "records": { + "CNAME": "alexravenna.github.io" + } +} diff --git a/domains/ameya.json b/domains/ameya.json new file mode 100644 index 0000000000..062db6ee4b --- /dev/null +++ b/domains/ameya.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "ameya051", + "email": "ameyshri051@gmail.com" + }, + "records": { + "CNAME": "cname.vercel-dns.com" + } +} diff --git a/domains/andregottgtroy.json b/domains/andregottgtroy.json new file mode 100644 index 0000000000..f5dca4eb49 --- /dev/null +++ b/domains/andregottgtroy.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "Kronter", + "email": "andregot@gmail.com" + }, + "records": { + "CNAME": "kronter.github.io" + } +} diff --git a/domains/api.wood.json b/domains/api.wood.json new file mode 100644 index 0000000000..567c5df45a --- /dev/null +++ b/domains/api.wood.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "hyz", + "email": "0xeeef@gmail.com" + }, + "records": { + "CNAME": "wood.is-a.dev" + } +} diff --git a/domains/azrul.json b/domains/azrul.json new file mode 100644 index 0000000000..cd17a046fc --- /dev/null +++ b/domains/azrul.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "azrul16", + "email": "azrul.amaline16@gmail.com" + }, + "records": { + "A": ["75.2.60.5"] + } +} diff --git a/domains/daisukie.json b/domains/daisukie.json new file mode 100644 index 0000000000..2401d2a2c1 --- /dev/null +++ b/domains/daisukie.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "DaisuKiee", + "email": "vincentbernaberomeo@gmail.com" + }, + "records": { + "CNAME": "daisukiee.github.io" + } +} diff --git a/domains/devesh.json b/domains/devesh.json new file mode 100644 index 0000000000..029c4bdb0e --- /dev/null +++ b/domains/devesh.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "techux", + "email": "deveshkumarsing75@gmail.com" + }, + "records": { + "CNAME": "techux.github.io" + } +} diff --git a/domains/flux.json b/domains/flux.json new file mode 100644 index 0000000000..0446685418 --- /dev/null +++ b/domains/flux.json @@ -0,0 +1,10 @@ +{ + "owner": { + "username": "snicks-a-s-l", + "email": "arabt3mpest@gmail.com" + }, + "records": { + "CNAME": "snick-vps.duckdns.org" + }, + "proxied": true +} diff --git a/domains/frankiebpinat.json b/domains/frankiebpinat.json new file mode 100644 index 0000000000..6194706c80 --- /dev/null +++ b/domains/frankiebpinat.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "POGsss", + "email": "frankiepinat14@gmail.com" + }, + "records": { + "CNAME": "pogsss.github.io" + } +} diff --git a/domains/jie.json b/domains/jie.json new file mode 100644 index 0000000000..97d2ef6071 --- /dev/null +++ b/domains/jie.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "jiewong42", + "email": "hello@jiewong.com" + }, + "records": { + "CNAME": "jie-bzr.pages.dev" + } +} diff --git a/domains/lnxm8.json b/domains/lnxm8.json new file mode 100644 index 0000000000..81982933b5 --- /dev/null +++ b/domains/lnxm8.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "Luehm", + "email": "alioth+is-a-dev@lnxm8.net" + }, + "records": { + "URL": "https://luehm.com" + } +} diff --git a/domains/luehm.json b/domains/luehm.json new file mode 100644 index 0000000000..acc866adc7 --- /dev/null +++ b/domains/luehm.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "Luehm", + "email": "alex+is-a-dev@luehm.com" + }, + "records": { + "URL": "https://luehm.com" + } +} diff --git a/domains/mani.json b/domains/mani.json new file mode 100644 index 0000000000..e3e450a215 --- /dev/null +++ b/domains/mani.json @@ -0,0 +1,11 @@ +{ + "description": "Mani Prakash Reddy's Personal Portfolio", + "repo": "https://github.com/mani-prakash-reddy/portfolio_mine", + "owner": { + "username": "mani-prakash-reddy", + "email": "maniprakashreddy223230@gmail.com" + }, + "records": { + "CNAME": "mani-prakash-reddy.github.io" + } +} \ No newline at end of file diff --git a/domains/meowcat.json b/domains/meowcat.json new file mode 100644 index 0000000000..b06690e5fb --- /dev/null +++ b/domains/meowcat.json @@ -0,0 +1,13 @@ +{ + "owner": { + "username": "meowcat767" + }, + "records": { + "A": [ + "185.199.108.153", + "185.199.109.153", + "185.199.110.153", + "185.199.111.153" + ] + } +} diff --git a/domains/python-coder.json b/domains/python-coder.json new file mode 100644 index 0000000000..bdbfd7dcdd --- /dev/null +++ b/domains/python-coder.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "defPythonCoder", + "discord": "pyth0ncoder" + }, + "records": { + "CNAME": "defpythoncoder.github.io" + } +} diff --git a/domains/rahulverma.json b/domains/rahulverma.json index f2990859bb..08934acb6e 100644 --- a/domains/rahulverma.json +++ b/domains/rahulverma.json @@ -4,7 +4,6 @@ "email": "rahulverma.1.2005@gmail.com" }, "records": { - "A": ["44.226.145.213", "54.187.200.255", "34.213.214.55", "35.164.95.156", "44.230.95.183", "44.229.200.200"] - }, - "proxied": false + "A": ["216.24.57.1"] + } } diff --git a/domains/samuel.json b/domains/samuel.json index 6cc57527e1..e8e8517d49 100644 --- a/domains/samuel.json +++ b/domains/samuel.json @@ -1,9 +1,10 @@ { "description": "Samuel portfolio website", "owner": { - "username": "Orpheros" + "username": "Orpheros", + "instagram": "astrielmaria" }, "records": { - "CNAME": "samuelyoung.vercel.app" + "A": ["216.198.79.1"] } } diff --git a/domains/srikar.json b/domains/srikar.json new file mode 100644 index 0000000000..b1c6fc61aa --- /dev/null +++ b/domains/srikar.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "Mystery-Coder", + "email": "srikar0811@gmail.com" + }, + "records": { + "CNAME": "cname.vercel-dns.com" + } +} diff --git a/domains/static.wood.json b/domains/static.wood.json new file mode 100644 index 0000000000..567c5df45a --- /dev/null +++ b/domains/static.wood.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "hyz", + "email": "0xeeef@gmail.com" + }, + "records": { + "CNAME": "wood.is-a.dev" + } +} diff --git a/domains/stringhost.json b/domains/stringhost.json index 99fb59ea0e..66d4468eec 100644 --- a/domains/stringhost.json +++ b/domains/stringhost.json @@ -4,6 +4,6 @@ "email": "stringhost.local@gmail.com" }, "records": { - "CNAME": "stringhost.github.io" + "CNAME": "cname.vercel-dns.com" } } diff --git a/domains/twab.json b/domains/twab.json new file mode 100644 index 0000000000..9f0a53f033 --- /dev/null +++ b/domains/twab.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "twab-a11y", + "email": "twabgaming31@gmail.com" + }, + "records": { + "CNAME": "twab-a11y.github.io" + } +} diff --git a/util/raw-api.js b/util/raw-api.js index bc437ec402..0f53238de3 100644 --- a/util/raw-api.js +++ b/util/raw-api.js @@ -11,7 +11,6 @@ if (!fs.existsSync(outputDir)) { const internal = require(path.join(__dirname, "internal.json")); const reserved = require(path.join(__dirname, "reserved.json")); -const v1 = []; const v2 = []; for (const subdomain of internal) { @@ -27,11 +26,6 @@ for (const subdomain of internal) { CNAME: "internal.is-a.dev" }; - v1.push({ - ...commonData, - record: records - }); - v2.push({ ...commonData, records: records, @@ -52,11 +46,6 @@ for (const subdomain of reserved) { URL: "https://is-a.dev/reserved" }; - v1.push({ - ...commonData, - record: records - }); - v2.push({ ...commonData, records: records, @@ -83,13 +72,6 @@ fs.readdir(directoryPath, function (err, files) { delete item.owner.email; - let itemV1 = { - domain: item.domain, - subdomain: item.subdomain, - owner: item.owner, - record: item.records - }; - let itemV2 = { domain: item.domain, subdomain: item.subdomain, @@ -97,29 +79,21 @@ fs.readdir(directoryPath, function (err, files) { records: item.records }; - if (item.redirect_config) { - itemV1.redirect_config = item.redirect_config; - itemV2.redirect_config = item.redirect_config; - } + if (item.redirect_config) itemV2.redirect_config = item.redirect_config; - if (item.proxied) { - itemV1.proxied = item.proxied; - itemV2.proxied = item.proxied; - } + if (item.proxied) itemV2.proxied = item.proxied; - v1.push(itemV1); v2.push(itemV2); processedCount++; if (processedCount === files.length) { - v1.sort((a, b) => a.domain.localeCompare(b.subdomain)); v2.sort((a, b) => a.domain.localeCompare(b.subdomain)); - fs.writeFile("raw-api/index.json", JSON.stringify(v1), (err) => { + fs.writeFile("raw-api/index.json", JSON.stringify({"code":404,"message":"v1 of the Raw API is no longer available, please upgrade to v2 located at https://raw.is-a.dev/v2.json"}), (err) => { if (err) throw err; }); - fs.writeFile("raw-api/v1.json", JSON.stringify(v1), (err) => { + fs.writeFile("raw-api/v1.json", JSON.stringify({"code":404,"message":"v1 of the Raw API is no longer available, please upgrade to v2 located at https://raw.is-a.dev/v2.json"}), (err) => { if (err) throw err; });