Skip to content

Job application tracker and AI-powered job search assistant. Helps job seekers manage their search journey with AI resume review, job matching, task logging, and application analytics, all while keeping your data private.

285 B
Raw Blame
import { formatUrl } from "@/lib/utils";

// The subtitle and the summary card show a host, not a full URL
export function hostnameOf(url?: string | null): string | null {
  if (!url) return null;
  try {
    return new URL(formatUrl(url)).hostname;
  } catch {
    return null;
  }
}