Merge branch 'main' into main

This commit is contained in:
Soheil Abbasnia authored and GitHub committed 2025-05-31 17:04:26 +03:30
commit 37604c5046
17 files changed
+170 -19

No files matched your search

+15 -15
View File
@@ -111,7 +111,7 @@ for (var subdomain in domains) {
subdomainName,
tlsaRecord.usage,
tlsaRecord.selector,
tlsaRecord.matchingType,
tlsaRecord.matching_type,
tlsaRecord.certificate
)
);
@@ -136,6 +136,10 @@ for (var subdomain in domains) {
// Manage service records
if (data.services) {
if (data.services.bluesky) {
records.push(TXT("_atproto." + subdomainName, "\"" + data.services.bluesky + "\""));
}
if (data.services.discord) {
if (Array.isArray(data.services.discord)) {
for (var txt in data.services.discord) {
@@ -146,20 +150,6 @@ for (var subdomain in domains) {
}
}
if (data.services.vercel) {
if (Array.isArray(data.services.vercel)) {
for (var txt in data.services.vercel) {
records.push(TXT("_vercel." + subdomainName, "\"" + data.services.vercel[txt] + "\""));
}
} else {
records.push(TXT("_vercel." + subdomainName, "\"" + data.services.vercel + "\""));
}
}
if (data.services.bluesky) {
records.push(TXT("_atproto." + subdomainName, "\"" + data.services.bluesky + "\""));
}
if (data.services.gitlab) {
if (Array.isArray(data.services.gitlab)) {
for (var txt in data.services.gitlab) {
@@ -169,6 +159,16 @@ for (var subdomain in domains) {
records.push(TXT("_gitlab-pages-verification-code." + subdomainName, "\"" + data.services.gitlab + "\""));
}
}
if (data.services.vercel) {
if (Array.isArray(data.services.vercel)) {
for (var txt in data.services.vercel) {
records.push(TXT("_vercel." + subdomainName, "\"" + data.services.vercel[txt] + "\""));
}
} else {
records.push(TXT("_vercel." + subdomainName, "\"" + data.services.vercel + "\""));
}
}
}
}
@@ -0,0 +1,9 @@
{
"owner": {
"username": "roxiTheReal",
"email": "aetheron.inc@proton.me"
},
"records": {
"TXT": "b4a63d8475ddf68f5f1a907cb04fff"
}
}
+18
View File
@@ -0,0 +1,18 @@
{
"owner": {
"username": "dragsbruh",
"email": "dragsbruh@protonmail.com",
"discord": "781445370177126401",
"bluesky": "based.nya.pub"
},
"records": {
"SRV": [
{
"priority": 10,
"weight": 0,
"port": 1337,
"target": "sharp.based.is-a.dev"
}
]
}
}
+12
View File
@@ -0,0 +1,12 @@
{
"owner": {
"username": "iAsutoshS",
"email": "yashasu40@gmail.com"
},
"records": {
"CNAME": "iasutosh.vercel.app"
},
"services": {
"vercel": "vc-domain-verify=asutosh.is-a.dev,3a54da32d6ba22f0a340"
}
}
+13
View File
@@ -0,0 +1,13 @@
{
"owner": {
"username": "mobadran",
"email": "badraanmo@gmail.com",
"discord": "gm.mo"
},
"records": {
"CNAME": "cname.vercel-dns.com"
},
"services": {
"vercel": "vc-domain-verify=badraan.is-a.dev,32cb3bde0c1514742541"
}
}
+13
View File
@@ -0,0 +1,13 @@
{
"owner": {
"username": "cosintan-tg",
"email": "cosintan.tg@gmail.com"
},
"records": {
"CNAME": "cname.vercel-dns.com"
},
"services": {
"vercel": "vc-domain-verify=cosintan.is-a.dev,b33d7124eaba6f7dca28",
"discord": "dh=cc6050f09d0f1563f4dd1b168879b9b03ad5e57f"
}
}
+1 -1
View File
@@ -4,6 +4,6 @@
"email": "fleetha.dev@gmail.com"
},
"records": {
"URL": "https://fleetha.pythonanywhere.com"
"CNAME": "fleethaofficial.pages.dev"
}
}
+12
View File
@@ -0,0 +1,12 @@
{
"owner": {
"username": "JerryWu0430",
"email": "woohaoran@gmail.com"
},
"records": {
"CNAME": "cname.vercel-dns.com"
},
"services": {
"vercel": "vc-domain-verify=jerrywu.is-a.dev,02b8b5343accf141471f"
}
}
+9
View File
@@ -0,0 +1,9 @@
{
"owner": {
"username": "VulcanoSoftware",
"discord": "814891541205876767"
},
"records": {
"CNAME": "vulcanodirect.pages.dev"
}
}
+9
View File
@@ -0,0 +1,9 @@
{
"owner": {
"username": "roxiTheReal",
"email": "aetheron.inc@proton.me"
},
"records": {
"CNAME": "roxiTheReal.github.io"
}
}
+2 -1
View File
@@ -7,6 +7,7 @@
"CNAME": "semiqolonn.github.io"
},
"services": {
"discord": "dh=ff7ac5f50b2671e388f1e378b4c46f2c7a867223"
"discord": "dh=ff7ac5f50b2671e388f1e378b4c46f2c7a867223",
"bluesky": "did=did:plc:7by3itciq5ufovihg4s5jt5i"
}
}
+17
View File
@@ -0,0 +1,17 @@
{
"owner": {
"username": "dragsbruh",
"email": "dragsbruh@protonmail.com",
"discord": "781445370177126401",
"bluesky": "based.nya.pub"
},
"description": "a domain for a SHARP-based search engine. using a friend's search vps to tunnel to my home.",
"records": {
"A": ["94.130.137.16"]
},
"services": {
"discord": "dh=257c94db0d4d6fa3c3d077970008aa82cb6b7cb6"
}
}
+9
View File
@@ -0,0 +1,9 @@
{
"owner": {
"username": "ShovonRaul991",
"email": "shovon.kekar@gmail.com"
},
"records": {
"A": ["75.2.60.5"]
}
}
+11
View File
@@ -0,0 +1,11 @@
{
"owner": {
"username": "tggamesyt",
"email": "tothgergoci2@gmail.com"
},
"records": {
"CNAME": "tggamesyt.github.io",
"TXT": "google-site-verification=MqP9uuv-eJnnCBGFcD2xK5ux6S1YZpLm2aySQQNiAWI"
},
"proxied": true
}
+15
View File
@@ -0,0 +1,15 @@
{
"description": "Just a personal portfolio wesite ",
"repo": "https://github.com/vaibhavingle2007/portfolio-web.git",
"owner": {
"username": "vaibhavingle2007",
"email": "vaibhavingleg@gmail.com"
},
"records": {
"CNAME": "portfolio-web-vaibhavingle2007s-projects.vercel.app"
},
"proxied": true,
"services": {
"vercel": "vc-domain-verify=vaibhavingle.is-a.dev,393faf165de284bc9236"
}
}
+2 -2
View File
@@ -212,8 +212,8 @@ function validateRecordValues(t, data, file) {
`${file}: Invalid selector for ${key} at index ${idx}`
);
t.true(
Number.isInteger(record.matchingType) && record.matchingType >= 0 && record.matchingType <= 255,
`${file}: Invalid matchingType for ${key} at index ${idx}`
Number.isInteger(record.matching_type) && record.matching_type >= 0 && record.matching_type <= 255,
`${file}: Invalid matching_type for ${key} at index ${idx}`
);
t.true(
isValidHexadecimal(record.certificate),
+3
View File
@@ -160,6 +160,9 @@ fs.readdir(directoryPath, function (err, files) {
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) => {
if (err) throw err;
});