mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-13 12:14:46 +00:00
Merge branch 'main' into main
This commit is contained in:
44 files changed
+356
-52
No files matched your search
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "karimait12",
|
||||
"email": "karimaityahia98@gmail.com"
|
||||
},
|
||||
"records": {
|
||||
"TXT": [
|
||||
"v=DMARC1; p=none;"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "AdityaNair-jpg",
|
||||
"email": "adityanair807@gmail.com"
|
||||
},
|
||||
"records": {
|
||||
"TXT": "vc-domain-verify=adityanair.is-a.dev,82901b06a9d9e42a9d58"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "ankith-00"
|
||||
},
|
||||
"records": {
|
||||
"TXT": "vc-domain-verify=ankith.is-a.dev,e3cc132e378b0a5da317"
|
||||
}
|
||||
}
|
||||
@@ -4,6 +4,6 @@
|
||||
"email": "felixmanullang81@gmail.com"
|
||||
},
|
||||
"records": {
|
||||
"TXT": "vc-domain-verify=graxya.is-a.dev,f57c22ab53c078ea60ce"
|
||||
"TXT": "vc-domain-verify=www.graxya.is-a.dev,b34ba055111eef3957ed"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "ApxllxCartxr",
|
||||
"email": "josephfernando05@proton.me"
|
||||
},
|
||||
"records": {
|
||||
"TXT": "vc-domain-verify=joseph05.is-a.dev,3809e0d0805b10605835"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "merugan1231"
|
||||
},
|
||||
"records": {
|
||||
"TXT": "vc-domain-verify=merugan.is-a.dev,2a2cf2d837b644717b48"
|
||||
}
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "nixxlte",
|
||||
"username": "nixpanqueca",
|
||||
"email": "iamthenix@yahoo.com",
|
||||
"discord": "nixxlte",
|
||||
"discord": "rushpanqueca",
|
||||
"twitter": "nixxlte"
|
||||
},
|
||||
"records": {
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "OussamaEl-Asri",
|
||||
"email": "oussamaasri80@gmail.com"
|
||||
},
|
||||
"records": {
|
||||
"TXT": "vc-domain-verify=oussamaelasri.is-a.dev,a356888bd9eccbd337dc"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "imVansh2010",
|
||||
"email": "agrwlvansh@gmail.com"
|
||||
},
|
||||
"records": {
|
||||
"TXT": "vc-domain-verify=vanshagarwal.is-a.dev,4817b746b9a0e778ffa6"
|
||||
}
|
||||
}
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "Unknown3663",
|
||||
"email": "ezzatmagedsamir@gmail.com"
|
||||
},
|
||||
"records": {
|
||||
"TXT": "vc-domain-verify=zez0.is-a.dev,d8798e27bed76a8fa63d"
|
||||
}
|
||||
"owner": {
|
||||
"username": "Unknown3663",
|
||||
"email": "ezzatmagedsamir@gmail.com"
|
||||
},
|
||||
"records": {
|
||||
"TXT": "vc-domain-verify=www.zez0.is-a.dev,75adf586e0d4541f8e4b"
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -4,6 +4,6 @@
|
||||
"email": "git.gay@pm.me"
|
||||
},
|
||||
"records": {
|
||||
"CNAME": "a-stupid-cat.pages.dev"
|
||||
"URL": "https://bwah.dev"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "AdityaNair-jpg",
|
||||
"email": "adityanair807@gmail.com"
|
||||
},
|
||||
"records": {
|
||||
"A": ["216.198.79.1"]
|
||||
}
|
||||
}
|
||||
+1
-4
@@ -4,10 +4,7 @@
|
||||
"email": "triyatna.dev@gmail.com"
|
||||
},
|
||||
"records": {
|
||||
"CNAME": "triyatna.github.io",
|
||||
"TXT": [
|
||||
"_github-pages-challenge-triyatna.aingdb.is-a.dev=47d14fdcb43855b5bba588bdfdc363"
|
||||
]
|
||||
"CNAME": "triyatna.github.io"
|
||||
},
|
||||
"proxied": true
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "ankith-00"
|
||||
},
|
||||
"records": {
|
||||
"CNAME": "cname.vercel-dns.com"
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -4,6 +4,6 @@
|
||||
"email": "git.gay@pm.me"
|
||||
},
|
||||
"records": {
|
||||
"CNAME": "a-stupid-cat.pages.dev"
|
||||
"URL": "https://bwah.dev"
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -4,6 +4,6 @@
|
||||
"email": "git.gay@pm.me"
|
||||
},
|
||||
"records": {
|
||||
"CNAME": "a-stupid-cat.pages.dev"
|
||||
"URL": "https://bwah.dev"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "FufuUwU",
|
||||
"email": "git.gay@pm.me"
|
||||
},
|
||||
"records": {
|
||||
"URL": "https://bwah.dev"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "FufuUwU",
|
||||
"email": "git.gay@pm.me"
|
||||
},
|
||||
"records": {
|
||||
"URL": "https://bwah.dev"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "MizukiSuzu",
|
||||
"email": "calvinjohn0604@gmail.com"
|
||||
},
|
||||
"records": {
|
||||
"CNAME": "portfolio-bay-tau-ws5vij895l.vercel.app"
|
||||
}
|
||||
}
|
||||
+3
-2
@@ -1,8 +1,9 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "levankydu"
|
||||
"username": "levankydu",
|
||||
"email": "levankydu94@gmail.com"
|
||||
},
|
||||
"records": {
|
||||
"CNAME": "levankydu.github.io"
|
||||
"A": ["140.245.46.195"]
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -4,6 +4,6 @@
|
||||
"email": "git.gay@pm.me"
|
||||
},
|
||||
"records": {
|
||||
"CNAME": "a-stupid-cat.pages.dev"
|
||||
"URL": "https://bwah.dev"
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -4,6 +4,6 @@
|
||||
"email": "felixmanullang81@gmail.com"
|
||||
},
|
||||
"records": {
|
||||
"CNAME": "gratiaportofolio.vercel.app"
|
||||
"A": ["216.198.79.1"]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "MaseDev33"
|
||||
},
|
||||
"records": {
|
||||
"NS": ["hera.ns.cloudflare.com", "kip.ns.cloudflare.com"]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "ApxllxCartxr",
|
||||
"email": "josephfernando05@proton.me"
|
||||
},
|
||||
"records": {
|
||||
"A": [
|
||||
"216.198.79.1"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "dustfree999",
|
||||
"email": "2149563945@qq.com"
|
||||
},
|
||||
"records": {
|
||||
"A": ["43.138.126.226"]
|
||||
}
|
||||
}
|
||||
@@ -4,6 +4,6 @@
|
||||
"email": "git.gay@pm.me"
|
||||
},
|
||||
"records": {
|
||||
"CNAME": "a-stupid-cat.pages.dev"
|
||||
"URL": "https://bwah.dev"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "nixpanqueca",
|
||||
"email": "iamthenix@yahoo.com",
|
||||
"discord": "rushpanqueca",
|
||||
"twitter": "nixxlte"
|
||||
},
|
||||
"records": {
|
||||
"A": ["147.185.221.213"],
|
||||
"SRV": [
|
||||
{
|
||||
"priority": 1,
|
||||
"weight": 1,
|
||||
"port": 52638,
|
||||
"target": "practicing-heavily.tun.ply.gg"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "merugan1231"
|
||||
},
|
||||
"records": {
|
||||
"A": ["216.198.79.1"]
|
||||
}
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "nixxlte",
|
||||
"username": "nixpanqueca",
|
||||
"email": "iamthenix@yahoo.com",
|
||||
"discord": "nixxlte",
|
||||
"discord": "rushpanqueca",
|
||||
"twitter": "nixxlte"
|
||||
},
|
||||
"records": {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "OussamaEl-Asri"
|
||||
"username": "OussamaEl-Asri",
|
||||
"email": "oussamaasri80@gmail.com"
|
||||
},
|
||||
"records": {
|
||||
"CNAME": "portfolio-gray-two-93.vercel.app"
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "karimait12",
|
||||
"email": "karimaityahia98@gmail.com"
|
||||
},
|
||||
"records": {
|
||||
"TXT": [
|
||||
"p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCfT+rRkz5PWtO6v0SEtr1Tt8yQWq9XrXWbKEV80tryQeuUrc5a3a14olk2vt6gZQQZLgd92oAM6WhgqsRns0DdJYtKQJ2L7VVtIF8roAbA5ZckYl8BTtKm5ntGwZIx+F3ObTKjnR+TSWLYWtsMJe/MdYpYaskcXmOQtsZ3fvtQjwIDAQAB"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -4,6 +4,6 @@
|
||||
"email": "git.gay@pm.me"
|
||||
},
|
||||
"records": {
|
||||
"CNAME": "a-stupid-cat.pages.dev"
|
||||
"URL": "https://bwah.dev"
|
||||
}
|
||||
}
|
||||
@@ -4,6 +4,6 @@
|
||||
"email": "git.gay@pm.me"
|
||||
},
|
||||
"records": {
|
||||
"CNAME": "a-stupid-cat.pages.dev"
|
||||
"URL": "https://bwah.dev"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "karimait12",
|
||||
"email": "karimaityahia98@gmail.com"
|
||||
},
|
||||
"records": {
|
||||
"CNAME": "rsend-euw1.forge.rmta.net"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "karimait12",
|
||||
"email": "karimaityahia98@gmail.com"
|
||||
},
|
||||
"records": {
|
||||
"CNAME": "send.forge.rmta.net"
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -4,6 +4,6 @@
|
||||
"email": "git.gay@pm.me"
|
||||
},
|
||||
"records": {
|
||||
"CNAME": "a-stupid-cat.pages.dev"
|
||||
"URL": "https://bwah.dev"
|
||||
}
|
||||
}
|
||||
@@ -4,6 +4,8 @@
|
||||
"email": "agrwlvansh@gmail.com"
|
||||
},
|
||||
"records": {
|
||||
"CNAME": "cname.vercel-dns.com"
|
||||
"A": [
|
||||
"216.198.79.1"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "Unknown3663",
|
||||
"email": "ezzatmagedsamir@gmail.com"
|
||||
},
|
||||
"records": {
|
||||
"A": [
|
||||
"216.198.79.1"
|
||||
]
|
||||
},
|
||||
"proxied": true
|
||||
}
|
||||
+8
-8
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"description": "Personal Portfolio",
|
||||
"owner": {
|
||||
"username": "Unknown3663",
|
||||
"email":"ezzatmagedsamir@gmail.com"
|
||||
},
|
||||
"records": {
|
||||
"CNAME": "zez0dev.vercel.app"
|
||||
}
|
||||
"description": "Personal Portfolio",
|
||||
"owner": {
|
||||
"username": "Unknown3663",
|
||||
"email": "ezzatmagedsamir@gmail.com"
|
||||
},
|
||||
"records": {
|
||||
"CNAME": "zez0dev.vercel.app"
|
||||
}
|
||||
}
|
||||
+3
-1
@@ -1,7 +1,9 @@
|
||||
{
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"test": "npx ava tests/*.test.js"
|
||||
"test": "npx ava tests/*.test.js",
|
||||
"check:reserved-order": "node util/check-reserved-order.cjs",
|
||||
"add:reserved": "node util/add-reserved-subdomain.cjs"
|
||||
},
|
||||
"devDependencies": {
|
||||
"ava": "^8.0.1",
|
||||
|
||||
@@ -239,6 +239,11 @@ function validateRecordValues(t, data, file) {
|
||||
values.forEach((record, idx) => {
|
||||
t.true(typeof record === "string", `${file}: TXT record value should be a string at index ${idx}`);
|
||||
|
||||
t.false(
|
||||
record.includes("github-pages-challenge"),
|
||||
`${file}: TXT record cannot contain 'github-pages-challenge' at index ${idx}`
|
||||
);
|
||||
|
||||
if (record.startsWith("vc-domain-verify=")) {
|
||||
t.true(
|
||||
file.startsWith("_vercel."),
|
||||
@@ -305,6 +310,11 @@ t("All files should have valid records", (t) => {
|
||||
`${file}: Files starting with '_vercel' must have format '_vercel.<name>.json'`
|
||||
);
|
||||
|
||||
t.true(
|
||||
recordKeys.includes("TXT") && recordKeys.length === 1,
|
||||
`${file}: Files starting with '_vercel' can only have TXT records`
|
||||
);
|
||||
|
||||
const txtRecords = data.records.TXT;
|
||||
const txtList = Array.isArray(txtRecords) ? txtRecords : [txtRecords];
|
||||
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
const { readFileSync, writeFileSync } = require("node:fs");
|
||||
const { join } = require("node:path");
|
||||
const readline = require("node:readline");
|
||||
|
||||
const filePath = join(__dirname, "reserved.json");
|
||||
const prompt = "What subdomain would you want to add to the reserved.json list: ";
|
||||
|
||||
const interface = readline.createInterface({
|
||||
input: process.stdin,
|
||||
output: process.stdout,
|
||||
});
|
||||
|
||||
interface.question(prompt, (input) => {
|
||||
const subdomain = input.trim();
|
||||
|
||||
if (!subdomain) {
|
||||
console.error("Subdomain cannot be empty.");
|
||||
interface.close();
|
||||
process.exitCode = 1;
|
||||
return;
|
||||
}
|
||||
|
||||
if (subdomain !== subdomain.toLowerCase() || /\s/.test(subdomain)) {
|
||||
console.error("Subdomain must be lowercase and cannot contain whitespace.");
|
||||
interface.close();
|
||||
process.exitCode = 1;
|
||||
return;
|
||||
}
|
||||
|
||||
const fileContents = readFileSync(filePath, "utf8");
|
||||
const reserved = JSON.parse(fileContents);
|
||||
|
||||
if (reserved.includes(subdomain)) {
|
||||
console.error(`"${subdomain}" is already in reserved.json.`);
|
||||
interface.close();
|
||||
process.exitCode = 1;
|
||||
return;
|
||||
}
|
||||
|
||||
const insertionIndex = reserved.findIndex(
|
||||
(entry) => entry > subdomain,
|
||||
);
|
||||
const index = insertionIndex === -1 ? reserved.length : insertionIndex;
|
||||
reserved.splice(index, 0, subdomain);
|
||||
|
||||
const newline = fileContents.includes("\r\n") ? "\r\n" : "\n";
|
||||
const output = `${JSON.stringify(reserved, null, 4)}${newline}`;
|
||||
writeFileSync(filePath, output);
|
||||
|
||||
const lineNumber = index + 2;
|
||||
const precedingEntry = index > 0 ? reserved[index - 1] : "[";
|
||||
const followingEntry = index < reserved.length - 1 ? reserved[index + 1] : "]";
|
||||
console.log(
|
||||
`Added "${subdomain}" on line ${lineNumber}, after "${precedingEntry}" and before "${followingEntry}".`,
|
||||
);
|
||||
interface.close();
|
||||
});
|
||||
@@ -0,0 +1,31 @@
|
||||
const { readFileSync } = require("node:fs");
|
||||
const { join } = require("node:path");
|
||||
|
||||
const filePath = join(__dirname, "reserved.json");
|
||||
const fileContents = readFileSync(filePath, "utf8");
|
||||
const reserved = JSON.parse(fileContents);
|
||||
|
||||
for (let index = 1; index < reserved.length; index += 1) {
|
||||
if (reserved[index - 1] > reserved[index]) {
|
||||
let precedingIndex = index - 1;
|
||||
|
||||
while (
|
||||
precedingIndex >= 0 &&
|
||||
reserved[precedingIndex] > reserved[index]
|
||||
) {
|
||||
precedingIndex -= 1;
|
||||
}
|
||||
|
||||
const precedingLine = precedingIndex + 2;
|
||||
|
||||
console.error(
|
||||
`reserved.json is not in alphabetical order: line ${index + 2} ("${reserved[index]}") should go after line ${precedingLine} ("${precedingIndex >= 0 ? reserved[precedingIndex] : "["}") and before line ${index + 1} ("${reserved[index - 1]}").`,
|
||||
);
|
||||
process.exitCode = 1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (process.exitCode !== 1) {
|
||||
console.log("reserved.json is in alphabetical order.");
|
||||
}
|
||||
+23
-5
@@ -17,6 +17,8 @@
|
||||
"blog",
|
||||
"bot",
|
||||
"cdn",
|
||||
"cert",
|
||||
"certs",
|
||||
"chat",
|
||||
"checkout",
|
||||
"cname",
|
||||
@@ -38,6 +40,7 @@
|
||||
"example",
|
||||
"file",
|
||||
"files",
|
||||
"ftp",
|
||||
"get",
|
||||
"git",
|
||||
"github",
|
||||
@@ -51,6 +54,7 @@
|
||||
"http",
|
||||
"https",
|
||||
"iad",
|
||||
"imap",
|
||||
"info",
|
||||
"int",
|
||||
"internal",
|
||||
@@ -58,18 +62,21 @@
|
||||
"is-a-dev",
|
||||
"isa",
|
||||
"isadev",
|
||||
"legal",
|
||||
"link",
|
||||
"links",
|
||||
"log",
|
||||
"login",
|
||||
"logs",
|
||||
"m",
|
||||
"mail",
|
||||
"mailbox",
|
||||
"maintainer",
|
||||
"maintainers",
|
||||
"manage",
|
||||
"metrics",
|
||||
"mc",
|
||||
"media",
|
||||
"metrics",
|
||||
"mobile",
|
||||
"net",
|
||||
"network",
|
||||
@@ -84,24 +91,27 @@
|
||||
"ns8",
|
||||
"ns9",
|
||||
"oauth",
|
||||
"open",
|
||||
"org",
|
||||
"organisation",
|
||||
"organisations",
|
||||
"organization",
|
||||
"organizations",
|
||||
"open",
|
||||
"panel",
|
||||
"pay",
|
||||
"payment",
|
||||
"payments",
|
||||
"pop",
|
||||
"pop3",
|
||||
"portal",
|
||||
"preview",
|
||||
"public",
|
||||
"privacy",
|
||||
"private",
|
||||
"prod",
|
||||
"production",
|
||||
"proxied",
|
||||
"proxy",
|
||||
"public",
|
||||
"rdap",
|
||||
"redirect",
|
||||
"register",
|
||||
@@ -109,28 +119,36 @@
|
||||
"registry",
|
||||
"reserved",
|
||||
"root",
|
||||
"rsync",
|
||||
"secure",
|
||||
"security",
|
||||
"server",
|
||||
"servers",
|
||||
"service",
|
||||
"services",
|
||||
"sftp",
|
||||
"shop",
|
||||
"smtp",
|
||||
"srv",
|
||||
"ssl",
|
||||
"sso",
|
||||
"staff",
|
||||
"staging",
|
||||
"static",
|
||||
"stats",
|
||||
"status",
|
||||
"server",
|
||||
"srv",
|
||||
"store",
|
||||
"subdomain",
|
||||
"subdomains",
|
||||
"support",
|
||||
"sys",
|
||||
"syslog",
|
||||
"syslogs",
|
||||
"system",
|
||||
"team",
|
||||
"test",
|
||||
"testing",
|
||||
"tls",
|
||||
"tools",
|
||||
"uptime",
|
||||
"url",
|
||||
|
||||
Reference in new issue
Block a user