Skip to content

Commit

Permalink
Add some more services
Browse files Browse the repository at this point in the history
  • Loading branch information
jmduke committed Oct 5, 2024
1 parent f33a938 commit d0981f6
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/parsers/html.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,8 @@ const SUBDOMAIN_RULE = (html: string, domain: string) => {
.map((v) => ({
value: new URL(v.value || "").hostname,
}))
.filter((v, i, a) => a.findIndex((t) => t.value === v.value) === i);
.filter((v, i, a) => a.findIndex((t) => t.value === v.value) === i)
.filter((v) => v.value !== domain);
return subdomains.map((subdomain) => ({
// Subdomains aren't a technology, but it's kind of a weird case. We do need
// a better abstraction here, though.
Expand Down
33 changes: 33 additions & 0 deletions lib/services.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export type Genre =
| "social_media"
| "static_site_generator"
| "support"
| "url_shortener"
| "videos"
| "web_framework";

Expand All @@ -38,6 +39,10 @@ export const GENRE_REGISTRY: {
description: string;
};
} = {
url_shortener: {
name: "URL Shortener",
description: "URL shortening services",
},
static_site_generator: {
name: "Static Site Generator",
description: "Static site generators",
Expand Down Expand Up @@ -430,6 +435,13 @@ export const REGISTRY: { [key in string]: Service } = {
genre: "hosting",
substrings: ["s3.amazonaws.com", "NoSuchBucket"],
},
aws_elb: {
identifier: "aws_elb",
name: "AWS ELB",
url: "https://aws.amazon.com/elasticloadbalancing",
genre: "hosting",
cname_values: ["elb.amazonaws.com"],
},
cargo: {
identifier: "cargo",
name: "Cargo",
Expand Down Expand Up @@ -1966,6 +1978,13 @@ export const REGISTRY: { [key in string]: Service } = {
substrings: ['action="https://tinyletter.com'],
defunct: true,
},
cuttly: {
identifier: "cuttly",
name: "Cuttly",
genre: "url_shortener",
url: "https://www.cutt.ly",
txt_values: ["cuttly-verification-site"],
},
migadu: {
identifier: "migadu",
name: "Migadu",
Expand Down Expand Up @@ -2032,4 +2051,18 @@ export const REGISTRY: { [key in string]: Service } = {
url: "https://www.maxio.com",
spf_values: ["mailer.chargify.com"],
},
atlassian: {
identifier: "atlassian",
name: "Atlassian",
genre: "everything",
url: "https://www.atlassian.com",
txt_values: ["atlassian-domain-verification"],
},
onepassword: {
identifier: "onepassword",
name: "1Password",
genre: "security",
url: "https://www.1password.com",
txt_values: ["1password-site-verification"],
},
} as const;

0 comments on commit d0981f6

Please sign in to comment.