Initial import of hire-me.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
delikesance
2026-09-04 20:08:12 +00:00
co-authored by Cursor
commit 9c734470b3
23 changed files with 2463 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
const EMAIL_RE =
/[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}/g;
const IGNORE_EMAILS = new Set([
"example@example.com",
"email@example.com",
"you@example.com",
"noreply@himalayas.app",
"hello@remotive.io",
"hello@remotive.com",
"nom@exemple.fr",
]);
export function extractEmails(...texts: string[]): string[] {
const found = new Set<string>();
for (const text of texts) {
for (const match of text.match(EMAIL_RE) ?? []) {
const email = match.toLowerCase();
if (IGNORE_EMAILS.has(email)) continue;
if (email.endsWith(".png") || email.endsWith(".jpg")) continue;
if (email.includes("exemple.") || email.includes("example.")) continue;
found.add(email);
}
}
return [...found];
}